Loading include/android/bitmap.h +2 −0 Original line number Diff line number Diff line Loading @@ -68,6 +68,8 @@ enum AndroidBitmapFormat { ANDROID_BITMAP_FORMAT_A_8 = 8, /** Each component is stored as a half float. **/ ANDROID_BITMAP_FORMAT_RGBA_F16 = 9, /** Red: 10 bits, Green: 10 bits, Blue: 10 bits, Alpha: 2 bits. **/ ANDROID_BITMAP_FORMAT_RGBA_1010102 = 10, }; /** Bitmap alpha format */ Loading services/inputflinger/dispatcher/InputDispatcher.cpp +2 −1 Original line number Diff line number Diff line Loading @@ -120,7 +120,8 @@ constexpr nsecs_t APP_SWITCH_TIMEOUT = 500 * 1000000LL; // 0.5sec // Amount of time to allow for an event to be dispatched (measured since its eventTime) // before considering it stale and dropping it. constexpr nsecs_t STALE_EVENT_TIMEOUT = 10000 * 1000000LL; // 10sec const nsecs_t STALE_EVENT_TIMEOUT = 10000 * 1000000LL // 10sec * HwTimeoutMultiplier(); // Log a warning when an event takes longer than this to process, even if an ANR does not occur. constexpr nsecs_t SLOW_EVENT_PROCESSING_WARNING_TIMEOUT = 2000 * 1000000LL; // 2sec Loading Loading
include/android/bitmap.h +2 −0 Original line number Diff line number Diff line Loading @@ -68,6 +68,8 @@ enum AndroidBitmapFormat { ANDROID_BITMAP_FORMAT_A_8 = 8, /** Each component is stored as a half float. **/ ANDROID_BITMAP_FORMAT_RGBA_F16 = 9, /** Red: 10 bits, Green: 10 bits, Blue: 10 bits, Alpha: 2 bits. **/ ANDROID_BITMAP_FORMAT_RGBA_1010102 = 10, }; /** Bitmap alpha format */ Loading
services/inputflinger/dispatcher/InputDispatcher.cpp +2 −1 Original line number Diff line number Diff line Loading @@ -120,7 +120,8 @@ constexpr nsecs_t APP_SWITCH_TIMEOUT = 500 * 1000000LL; // 0.5sec // Amount of time to allow for an event to be dispatched (measured since its eventTime) // before considering it stale and dropping it. constexpr nsecs_t STALE_EVENT_TIMEOUT = 10000 * 1000000LL; // 10sec const nsecs_t STALE_EVENT_TIMEOUT = 10000 * 1000000LL // 10sec * HwTimeoutMultiplier(); // Log a warning when an event takes longer than this to process, even if an ANR does not occur. constexpr nsecs_t SLOW_EVENT_PROCESSING_WARNING_TIMEOUT = 2000 * 1000000LL; // 2sec Loading