Home
last modified time | relevance | path

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

/frameworks/native/libs/input/
DInput.cpp165 uint64_t axisBit = 1LL << axis; in getAxisValue() local
166 if (!(bits & axisBit)) { in getAxisValue()
169 uint32_t index = __builtin_popcountll(bits & (axisBit - 1LL)); in getAxisValue()
178 uint64_t axisBit = 1LL << axis; in setAxisValue() local
179 uint32_t index = __builtin_popcountll(bits & (axisBit - 1LL)); in setAxisValue()
180 if (!(bits & axisBit)) { in setAxisValue()
189 bits |= axisBit; in setAxisValue()
/frameworks/base/core/java/android/view/
DMotionEvent.java3375 final long axisBit = 1L << axis; in getAxisValue() local
3376 if ((bits & axisBit) == 0) { in getAxisValue()
3379 final int index = Long.bitCount(bits & (axisBit - 1L)); in getAxisValue()
3428 final long axisBit = 1L << axis; in setAxisValue() local
3429 final int index = Long.bitCount(bits & (axisBit - 1L)); in setAxisValue()
3431 if ((bits & axisBit) == 0) { in setAxisValue()
3451 mPackedAxisBits = bits | axisBit; in setAxisValue()
/frameworks/base/core/jni/
Dandroid_view_MotionEvent.cpp224 uint64_t axisBit = 1LL << axis; in pointerCoordsToNative() local
225 bits &= ~axisBit; in pointerCoordsToNative()
305 uint64_t axisBit = 1LL << axis; in pointerCoordsFromNative() local
306 remainingBits &= ~axisBit; in pointerCoordsFromNative()
307 outBits |= axisBit; in pointerCoordsFromNative()