Home
last modified time | relevance | path

Searched refs:pointers (Results 1 – 24 of 24) sorted by relevance

/frameworks/native/include/input/
DInputTransport.h139 } pointers[MAX_POINTERS] __attribute__((aligned(8))); member
144 return pointers[index].properties.id; in getActionId()
439 PointerCoords pointers[MAX_POINTERS]; member
445 uint32_t id = msg.body.motion.pointers[i].properties.id; in initializeFrom()
448 pointers[i].copyFrom(msg.body.motion.pointers[i].coords); in initializeFrom()
459 pointers[index].copyFrom(other.pointers[index]); in initializeFrom()
465 return pointers[idToIndex[id]]; in getPointerById()
/frameworks/native/libs/input/tests/
DVelocityTracker_test.cpp91 BitSet32 pointers; in getValidPointers() local
94 pointers.markBit(i); in getValidPointers()
97 return pointers; in getValidPointers()
100 static uint32_t getChangingPointerId(BitSet32 pointers, BitSet32 otherPointers) { in getChangingPointerId() argument
101 BitSet32 difference(pointers.value ^ otherPointers.value); in getChangingPointerId()
110 BitSet32 pointers = getValidPointers(currentPositions); in resolveAction() local
111 const uint32_t pointerCount = pointers.count(); in resolveAction()
117 uint32_t pointerId = getChangingPointerId(pointers, lastPointers); in resolveAction()
126 uint32_t pointerId = getChangingPointerId(pointers, nextPointers); in resolveAction()
143 BitSet32 pointers = getValidPointers(entry.positions); in createMotionEventStream() local
[all …]
DStructLayout_test.cpp76 CHECK_OFFSET(InputMessage::Body::Motion, pointers, 136); in TestInputMessageAlignment()
98 offsetof(InputMessage::Body::Motion, pointers) + in TestBodySize()
/frameworks/compile/slang/tests/F_ptr_in_struct/
Dstderr.txt.expect1 ptr_in_struct.rscript:4:8: error: structures containing pointers cannot be used as the type of an e…
2 ptr_in_struct.rscript:10:8: error: structures containing pointers cannot be used as the type of an …
/frameworks/compile/slang/tests/F_reduce_general_bad_result/
Dstderr.txt.expect21 reduce_general_bad_result.rscript:276:28: error: structures containing pointers cannot be used as t…
22 reduce_general_bad_result.rscript:286:31: error: structures containing pointers cannot be used as t…
23 reduce_general_bad_result.rscript:310:28: error: structures containing pointers cannot be used as t…
24 reduce_general_bad_result.rscript:322:31: error: structures containing pointers cannot be used as t…
25 reduce_general_bad_result.rscript:349:33: error: structures containing pointers cannot be used as t…
26 reduce_general_bad_result.rscript:362:36: error: structures containing pointers cannot be used as t…
/frameworks/native/libs/input/
DInputTransport.cpp222 msg->body.motion.pointers[i].properties.id = body.motion.pointers[i].properties.id; in getSanitizedCopy()
223 msg->body.motion.pointers[i].properties.toolType = in getSanitizedCopy()
224 body.motion.pointers[i].properties.toolType, in getSanitizedCopy()
226 msg->body.motion.pointers[i].coords.bits = body.motion.pointers[i].coords.bits; in getSanitizedCopy()
227 const uint32_t count = BitSet64::count(body.motion.pointers[i].coords.bits); in getSanitizedCopy()
228 memcpy(&msg->body.motion.pointers[i].coords.values[0], in getSanitizedCopy()
229 &body.motion.pointers[i].coords.values[0], in getSanitizedCopy()
230 count * (sizeof(body.motion.pointers[i].coords.values[0]))); in getSanitizedCopy()
549 msg.body.motion.pointers[i].properties.copyFrom(pointerProperties[i]); in publishMotionEvent()
550 msg.body.motion.pointers[i].coords.copyFrom(pointerCoords[i]); in publishMotionEvent()
[all …]
/frameworks/compile/slang/tests/F_void_ptr/
Dstderr.txt.expect1 void_ptr.rscript:4:7: error: void pointers cannot be exported: 'v'
/frameworks/compile/slang/tests/F_ptr_to_array/
Dstderr.txt.expect1 ptr_to_array.rscript:4:7: error: pointers to arrays cannot be exported: 'arrayptr'
/frameworks/compile/slang/tests/F_int_ptr_ptr/
Dstderr.txt.expect1 int_ptr_ptr.rscript:4:7: error: multiple levels of pointers cannot be exported: 'myPtr'
/frameworks/compile/slang/tests/F_struct_field_ptr_to_array/
Dstderr.txt.expect1 struct_field_ptr_to_array.rscript:4:8: error: structures containing pointers cannot be used as the …
/frameworks/compile/slang/tests/F_struct_field_ptr_to_fn_noproto/
Dstderr.txt.expect1 struct_field_ptr_to_fn_noproto.rscript:4:8: error: structures containing pointers cannot be used as…
/frameworks/compile/slang/tests/F_struct_field_ptr_to_fn_proto/
Dstderr.txt.expect1 struct_field_ptr_to_fn_proto.rscript:4:8: error: structures containing pointers cannot be used as t…
/frameworks/compile/slang/tests/F_ptr_in_struct_for_call/
Dstderr.txt.expect1 ptr_in_struct_for_call.rscript:8:24: error: structures containing pointers cannot be used as the ty…
/frameworks/base/packages/SystemUI/src/com/android/systemui/analytics/
DSensorLoggerSession.java140 proto.pointers = new TouchEvent.Pointer[count]; in motionEventToProto()
148 proto.pointers[i] = p; in motionEventToProto()
/frameworks/compile/slang/tests/F_reduce_general_bad_function/
Dstderr.txt.expect15 …e *') and initializer avi_init() parameter 'accum' (type 'int *') must be pointers to the same type
28 … *') and accumulator cva_accum() parameter 'accum' (type 'int *') must be pointers to the same type
29 … *') and accumulator cva_accum() parameter 'accum' (type 'int *') must be pointers to the same type
45 …e *') and accumulator AccumInt() parameter 'accum' (type 'int *') must be pointers to the same type
Dreduce_general_bad_function.rscript84 // accumulator and initializer must take pointers to same type
153 // combiner and accumulator must take pointers to same type
226 // outconverter and accumulator must take pointers to same type
/frameworks/native/services/inputflinger/reader/mapper/
DSingleTouchInputMapper.cpp49 RawPointerData::Pointer& outPointer = outState->rawPointerData.pointers[0]; in syncTouch()
DTouchInputMapper.h73 Pointer pointers[MAX_POINTERS]; member
95 inline const Pointer& pointerForId(uint32_t id) const { return pointers[idToIndex[id]]; } in pointerForId()
97 inline bool isHovering(uint32_t pointerIndex) { return pointers[pointerIndex].isHovering; } in isHovering()
DTouchInputMapper.cpp107 pointers[i] = other.pointers[i]; in copyFrom()
109 int id = pointers[i].id; in copyFrom()
268 const RawPointerData::Pointer& pointer = mLastRawState.rawPointerData.pointers[i]; in dump()
2036 const RawPointerData::Pointer& in = mCurrentRawState.rawPointerData.pointers[i]; in cookPointerData()
3348 deltaX = (mCurrentRawState.rawPointerData.pointers[currentIndex].x - in dispatchPointerMouse()
3349 mLastRawState.rawPointerData.pointers[lastIndex].x) * in dispatchPointerMouse()
3351 deltaY = (mCurrentRawState.rawPointerData.pointers[currentIndex].y - in dispatchPointerMouse()
3352 mLastRawState.rawPointerData.pointers[lastIndex].y) * in dispatchPointerMouse()
3697 current->rawPointerData.pointers[i].id = id; in assignPointerIds()
3705 current->rawPointerData.pointers[0].toolType == last->rawPointerData.pointers[0].toolType) { in assignPointerIds()
[all …]
DMultiTouchInputMapper.cpp270 RawPointerData::Pointer& outPointer = outState->rawPointerData.pointers[outCount]; in syncTouch()
/frameworks/compile/slang/tests/F_reduce_general_bad_halter/
Dstderr.txt.expect6 …t *') and accumulator AccumInt() parameter 'accum' (type 'int *') must be pointers to the same type
Dreduce_general_bad_halter.rscript36 // halter and accumulator must take pointers to same type
/frameworks/native/opengl/specs/
DEGL_ANDROID_blob_cache.txt107 function pointers through which the client APIs can request data be cached
113 sets the callback function pointers that client APIs associated with
144 <key> and <value> are pointers to the beginning of the key and value,
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
Dtouch_analytics.proto55 repeated Pointer pointers = 4; field