Home
last modified time | relevance | path

Searched refs:PointerCoords (Results 1 – 25 of 29) sorted by relevance

12

/frameworks/base/tests/DumpRenderTree/src/com/android/dumprendertree/
DWebViewEventSender.java180 MotionEvent.PointerCoords[] pointerCoords = new MotionEvent.PointerCoords[numPoints]; in touchStart()
185 pointerCoords[i] = new MotionEvent.PointerCoords(); in touchStart()
205 MotionEvent.PointerCoords[] pointerCoords = new MotionEvent.PointerCoords[numPoints]; in touchMove()
211 pointerCoords[i] = new MotionEvent.PointerCoords(); in touchMove()
237 MotionEvent.PointerCoords[] pointerCoords = new MotionEvent.PointerCoords[numPoints]; in touchEnd()
241 pointerCoords[i] = new MotionEvent.PointerCoords(); in touchEnd()
267 MotionEvent.PointerCoords[] pointerCoords = new MotionEvent.PointerCoords[numPoints]; in touchCancel()
275 pointerCoords[numCanceledPoints] = new MotionEvent.PointerCoords(); in touchCancel()
/frameworks/base/libs/androidfw/
DInput.cpp158 float PointerCoords::getAxisValue(int32_t axis) const { in getAxisValue()
171 status_t PointerCoords::setAxisValue(int32_t axis, float value) { in setAxisValue()
196 static inline void scaleAxisValue(PointerCoords& c, int axis, float scaleFactor) { in scaleAxisValue()
203 void PointerCoords::scale(float scaleFactor) { in scale()
215 status_t PointerCoords::readFromParcel(Parcel* parcel) { in readFromParcel()
229 status_t PointerCoords::writeToParcel(Parcel* parcel) const { in writeToParcel()
240 void PointerCoords::tooManyAxes(int axis) { in tooManyAxes()
245 bool PointerCoords::operator==(const PointerCoords& other) const { in operator ==()
258 void PointerCoords::copyFrom(const PointerCoords& other) { in copyFrom()
298 const PointerCoords* pointerCoords) { in initialize()
[all …]
DInputTransport.cpp291 const PointerCoords* pointerCoords) { in publishMotionEvent()
651 PointerCoords& msgCoords = msg->body.motion.pointers[i].coords; in rewriteMessage()
652 const PointerCoords& resampleCoords = state.lastResample.getPointerById(id); in rewriteMessage()
755 PointerCoords& resampledCoords = touchState.lastResample.pointers[i]; in resampleTouchState()
756 const PointerCoords& currentCoords = current->getPointerById(id); in resampleTouchState()
759 const PointerCoords& otherCoords = other->getPointerById(id); in resampleTouchState()
890 PointerCoords pointerCoords[pointerCount]; in initializeMotionEvent()
917 PointerCoords pointerCoords[pointerCount]; in addSample()
/frameworks/base/include/androidfw/
DInput.h161 struct PointerCoords { struct
193 bool operator==(const PointerCoords& other) const; argument
194 inline bool operator!=(const PointerCoords& other) const {
198 void copyFrom(const PointerCoords& other);
371 const PointerCoords* getRawPointerCoords(size_t pointerIndex) const;
427 const PointerCoords* getHistoricalRawPointerCoords(
508 const PointerCoords* pointerCoords);
514 const PointerCoords* pointerCoords);
537 inline const PointerCoords* getSamplePointerCoords() const { in getSamplePointerCoords()
554 Vector<PointerCoords> mSamplePointerCoords;
DInputTransport.h92 PointerCoords coords;
236 const PointerCoords* pointerCoords);
355 PointerCoords pointers[MAX_POINTERS];
368 const PointerCoords& getPointerById(uint32_t id) const { in getPointerById()
/frameworks/base/core/java/android/view/
DMotionEvent.java1296 private static PointerCoords[] gSharedTempPointerCoords;
1307 gSharedTempPointerCoords = PointerCoords.createArray(capacity); in ensureSharedTempPointerCapacity()
1323 int pointerCount, PointerProperties[] pointerIds, PointerCoords[] pointerCoords); in nativeInitialize()
1328 PointerCoords[] pointerCoords, int metaState); in nativeAddBatch()
1362 int pointerIndex, int historyPos, PointerCoords outPointerCoords); in nativeGetPointerCoords()
1432 PointerCoords[] pointerCoords, int metaState, int buttonState, in obtain()
1475 int action, int pointerCount, int[] pointerIds, PointerCoords[] pointerCoords, in obtain()
1530 final PointerCoords pc[] = gSharedTempPointerCoords; in obtain()
2139 public final void getPointerCoords(int pointerIndex, PointerCoords outPointerCoords) { in getPointerCoords()
2645 PointerCoords outPointerCoords) { in getHistoricalPointerCoords()
[all …]
/frameworks/base/libs/androidfw/tests/
DInputEvent_test.cpp38 PointerCoords coords; in TEST_F()
46 PointerCoords coords; in TEST_F()
131 for (size_t axis = 4; axis < PointerCoords::MAX_AXES; axis++) { in TEST_F()
134 ASSERT_EQ(PointerCoords::MAX_AXES, __builtin_popcountll(coords.bits)); in TEST_F()
138 ASSERT_EQ(NO_MEMORY, coords.setAxisValue(PointerCoords::MAX_AXES, 100)); in TEST_F()
139 ASSERT_EQ(PointerCoords::MAX_AXES, __builtin_popcountll(coords.bits)); in TEST_F()
145 PointerCoords inCoords; in TEST_F()
147 PointerCoords outCoords; in TEST_F()
231 PointerCoords pointerCoords[2]; in initializeEventWithHistory()
536 PointerCoords pointerCoords[pointerCount]; in TEST_F()
DInputPublisherAndConsumer_test.cpp147 PointerCoords pointerCoords[pointerCount]; in PublishAndConsumeMotionEvent()
255 PointerCoords pointerCoords[pointerCount]; in TEST_F()
267 PointerCoords pointerCoords[pointerCount]; in TEST_F()
/frameworks/base/core/java/com/android/internal/widget/
DPointerLocationView.java34 import android.view.MotionEvent.PointerCoords;
55 private PointerCoords mCoords = new PointerCoords();
111 private final PointerCoords mTempCoords = new PointerCoords();
416 MotionEvent.PointerCoords coords, int id, int toolType, int buttonState) { in logCoords()
549 final PointerCoords coords = ps != null ? ps.mCoords : mTempCoords; in addPointerEvent()
563 final PointerCoords coords = ps != null ? ps.mCoords : mTempCoords; in addPointerEvent()
/frameworks/base/services/input/
DInputListener.h93 PointerCoords pointerCoords[MAX_POINTERS];
103 const PointerProperties* pointerProperties, const PointerCoords* pointerCoords,
DPointerController.h103 virtual void setSpots(const PointerCoords* spotCoords, const uint32_t* spotIdToIndex,
169 virtual void setSpots(const PointerCoords* spotCoords,
DInputReader.h737 PointerCoords pointerCoords[MAX_POINTERS];
1454 PointerCoords currentGestureCoords[MAX_POINTERS];
1460 PointerCoords lastGestureCoords[MAX_POINTERS];
1522 PointerCoords currentCoords;
1524 PointerCoords lastCoords;
1589 const PointerProperties* properties, const PointerCoords* coords,
1596 const PointerCoords* inCoords, const uint32_t* inIdToIndex,
1597 PointerProperties* outProperties, PointerCoords* outCoords,
DPointerController.cpp243 void PointerController::setSpots(const PointerCoords* spotCoords, in setSpots()
250 const PointerCoords& c = spotCoords[spotIdToIndex[id]]; in setSpots()
265 const PointerCoords& c = spotCoords[spotIdToIndex[id]]; in setSpots()
DInputDispatcher.h516 PointerCoords pointerCoords[MAX_POINTERS];
523 const PointerProperties* pointerProperties, const PointerCoords* pointerCoords);
757 PointerCoords pointerCoords[MAX_POINTERS];
DInputListener.cpp73 const PointerProperties* pointerProperties, const PointerCoords* pointerCoords, in NotifyMotionArgs()
DInputReader.cpp2434 PointerCoords pointerCoords; in sync()
2653 const PointerCoords& pointerCoords = mLastCookedPointerData.pointerCoords[i]; in dump()
4117 PointerCoords& out = mCurrentCookedPointerData.pointerCoords[i]; in cookPointerData()
4360 PointerCoords pointerCoords; in dispatchPointerGestures()
5142 const PointerCoords& coords = mPointerGesture.currentGestureCoords[index]; in preparePointerGestures()
5154 const PointerCoords& coords = mPointerGesture.lastGestureCoords[index]; in preparePointerGestures()
5346 PointerCoords pointerCoords; in dispatchPointerSimple()
5377 const PointerProperties* properties, const PointerCoords* coords, in dispatchMotion()
5380 PointerCoords pointerCoords[MAX_POINTERS]; in dispatchMotion()
5419 const PointerCoords* inCoords, const uint32_t* inIdToIndex, in updateMovedPointers()
[all …]
DInputDispatcher.cpp1916 PointerCoords scaledCoords[MAX_POINTERS]; in startDispatchCycleLocked()
1917 const PointerCoords* usingCoords = motionEntry->pointerCoords; in startDispatchCycleLocked()
2201 PointerCoords splitPointerCoords[MAX_POINTERS]; in splitMotionEvent()
2549 const PointerCoords* samplePointerCoords = motionEvent->getSamplePointerCoords(); in injectInputEvent()
3806 const PointerProperties* pointerProperties, const PointerCoords* pointerCoords) : in MotionEntry()
/frameworks/base/docs/html/sdk/api_diff/12/
DmissingSinces.txt9 NO DOC BLOCK: android.view.MotionEvent.PointerCoords Constructor (android.view.MotionEvent.PointerC…
17 NO DOC BLOCK: android.view.MotionEvent.PointerCoords Method clear()
19 NO DOC BLOCK: android.view.MotionEvent.PointerCoords Method copyFrom(android.view.MotionEvent.Point…
32 NO DOC BLOCK: android.view.MotionEvent.PointerCoords Method getAxisValue(int)
74 NO DOC BLOCK: android.view.MotionEvent.PointerCoords Method setAxisValue(int, float)
/frameworks/base/tests/DumpRenderTree2/src/com/android/dumprendertree2/
DEventSenderImpl.java457 MotionEvent.PointerCoords[] pointerCoords = new MotionEvent.PointerCoords[numPoints]; in executeTouchEvent()
480 pointerCoords[numPoints] = new MotionEvent.PointerCoords(); in executeTouchEvent()
/frameworks/base/core/jni/
Dandroid_view_MotionEvent.cpp193 float xOffset, float yOffset, PointerCoords* outRawPointerCoords) { in pointerCoordsToNative()
257 static void pointerCoordsFromNative(JNIEnv* env, const PointerCoords* rawPointerCoords, in pointerCoordsFromNative()
358 PointerCoords rawPointerCoords[pointerCount]; in android_view_MotionEvent_nativeInitialize()
416 PointerCoords rawPointerCoords[pointerCount]; in android_view_MotionEvent_nativeAddBatch()
646 const PointerCoords* rawPointerCoords; in android_view_MotionEvent_nativeGetPointerCoords()
/frameworks/base/services/java/com/android/server/accessibility/
DTouchExplorer.java32 import android.view.MotionEvent.PointerCoords;
934 PointerCoords[] coords = PointerCoords.createArray(pointerCount); in sendMotionEvent()
1120 PointerCoords[] coords = new PointerCoords[1]; in onDoubleTap()
1121 coords[0] = new PointerCoords(); in onDoubleTap()
/frameworks/base/services/input/tests/
DInputDispatcher_test.cpp144 PointerCoords pointerCoords[MAX_POINTERS + 1]; in TEST_F()
DInputReader_test.cpp116 virtual void setSpots(const PointerCoords* spotCoords, in setSpots()
1421 static void assertPointerCoords(const PointerCoords& coords, in assertPointerCoords()
/frameworks/base/
Dpreloaded-classes847 android.view.MotionEvent$PointerCoords
/frameworks/base/api/
D14.txt22419 method public final void addBatch(long, android.view.MotionEvent.PointerCoords[], int);
22439 …hod public final void getHistoricalPointerCoords(int, int, android.view.MotionEvent.PointerCoords);
22460 method public final void getPointerCoords(int, android.view.MotionEvent.PointerCoords);
22486 …ndroid.view.MotionEvent.PointerProperties[], android.view.MotionEvent.PointerCoords[], int, int, f…
22487 …ionEvent obtain(long, long, int, int, int[], android.view.MotionEvent.PointerCoords[], int, float,…
22584 public static final class MotionEvent.PointerCoords {
22585 ctor public MotionEvent.PointerCoords();
22586 ctor public MotionEvent.PointerCoords(android.view.MotionEvent.PointerCoords);
22588 method public void copyFrom(android.view.MotionEvent.PointerCoords);

12