Home
last modified time | relevance | path

Searched refs:BITS (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/services/core/java/com/android/server/power/batterysaver/
DBatterySavingStats.java59 int BITS = 2; field
60 int MASK = (1 << BITS) - 1;
72 int SHIFT = BatterySaverState.SHIFT + BatterySaverState.BITS;
73 int BITS = 1; field
74 int MASK = (1 << BITS) - 1;
87 int SHIFT = InteractiveState.SHIFT + InteractiveState.BITS;
88 int BITS = 2; field
89 int MASK = (1 << BITS) - 1;
101 int SHIFT = DozeState.SHIFT + DozeState.BITS;
102 int BITS = 1; field
[all …]
/frameworks/native/services/inputflinger/reader/include/
DEventHub.h365 template <std::size_t BITS>
372 static constexpr size_t COUNT = (BITS + WIDTH - 1) / WIDTH;
382 return (bit < BITS) ? mData[bit / WIDTH].test(bit % WIDTH) : false; in test()
385 inline size_t bytes() { return (BITS + CHAR_BIT - 1) / CHAR_BIT; } in bytes()
390 if (startIndex >= endIndex || startIndex > BITS || endIndex > BITS + 1) { in any()
392 endIndex, BITS); in any()
/frameworks/base/core/java/com/android/internal/graphics/palette/
DWuQuantizer.java49 private static final int BITS = 5; field in WuQuantizer
128 int bitsToRemove = 8 - BITS; in constructHistogram()