Home
last modified time | relevance | path

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

12

/frameworks/native/libs/input/
DInput.cpp160 float PointerCoords::getAxisValue(int32_t axis) const { in getAxisValue()
173 status_t PointerCoords::setAxisValue(int32_t axis, float value) { in setAxisValue()
198 static inline void scaleAxisValue(PointerCoords& c, int axis, float scaleFactor) { in scaleAxisValue()
205 void PointerCoords::scale(float scaleFactor) { in scale()
217 status_t PointerCoords::readFromParcel(Parcel* parcel) { in readFromParcel()
231 status_t PointerCoords::writeToParcel(Parcel* parcel) const { in writeToParcel()
242 void PointerCoords::tooManyAxes(int axis) { in tooManyAxes()
247 bool PointerCoords::operator==(const PointerCoords& other) const { in operator ==()
260 void PointerCoords::copyFrom(const PointerCoords& other) { in copyFrom()
300 const PointerCoords* pointerCoords) { in initialize()
[all …]
DInputTransport.cpp297 const PointerCoords* pointerCoords) { in publishMotionEvent()
660 PointerCoords& msgCoords = msg->body.motion.pointers[i].coords; in rewriteMessage()
661 const PointerCoords& resampleCoords = state.lastResample.getPointerById(id); in rewriteMessage()
764 PointerCoords& resampledCoords = touchState.lastResample.pointers[i]; in resampleTouchState()
765 const PointerCoords& currentCoords = current->getPointerById(id); in resampleTouchState()
768 const PointerCoords& otherCoords = other->getPointerById(id); in resampleTouchState()
899 PointerCoords pointerCoords[pointerCount]; in initializeMotionEvent()
926 PointerCoords pointerCoords[pointerCount]; in addSample()
/frameworks/native/include/input/
DInput.h169 struct PointerCoords { struct
201 bool operator==(const PointerCoords& other) const; argument
202 inline bool operator!=(const PointerCoords& other) const {
206 void copyFrom(const PointerCoords& other);
379 const PointerCoords* getRawPointerCoords(size_t pointerIndex) const;
435 const PointerCoords* getHistoricalRawPointerCoords(
516 const PointerCoords* pointerCoords);
522 const PointerCoords* pointerCoords);
547 inline const PointerCoords* getSamplePointerCoords() const { in getSamplePointerCoords()
564 Vector<PointerCoords> mSamplePointerCoords;
DInputTransport.h92 PointerCoords coords;
239 const PointerCoords* pointerCoords);
358 PointerCoords pointers[MAX_POINTERS];
371 const PointerCoords& getPointerById(uint32_t id) const { in getPointerById()
/frameworks/testing/uiautomator/library/core-src/com/android/uiautomator/core/
DUiObject.java24 import android.view.MotionEvent.PointerCoords;
1015 PointerCoords[] points1 = new PointerCoords[steps + 2]; in performTwoPointerGesture()
1016 PointerCoords[] points2 = new PointerCoords[steps + 2]; in performTwoPointerGesture()
1020 PointerCoords p1 = new PointerCoords(); in performTwoPointerGesture()
1027 PointerCoords p2 = new PointerCoords(); in performTwoPointerGesture()
1041 PointerCoords p1 = new PointerCoords(); in performTwoPointerGesture()
1048 PointerCoords p2 = new PointerCoords(); in performTwoPointerGesture()
1080 public boolean performMultiPointerGesture(PointerCoords[] ...touches) { in performMultiPointerGesture()
DInteractionController.java31 import android.view.MotionEvent.PointerCoords;
686 public boolean performMultiPointerGesture(PointerCoords[] ... touches) {
699 PointerCoords[] pointerCoords = new PointerCoords[touches.length];
/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()
2137 public final void getPointerCoords(int pointerIndex, PointerCoords outPointerCoords) { in getPointerCoords()
2643 PointerCoords outPointerCoords) { in getHistoricalPointerCoords()
[all …]
/frameworks/native/libs/input/tests/
DInputEvent_test.cpp37 PointerCoords coords; in TEST_F()
45 PointerCoords coords; in TEST_F()
130 for (size_t axis = 4; axis < PointerCoords::MAX_AXES; axis++) { in TEST_F()
133 ASSERT_EQ(PointerCoords::MAX_AXES, __builtin_popcountll(coords.bits)); in TEST_F()
137 ASSERT_EQ(NO_MEMORY, coords.setAxisValue(PointerCoords::MAX_AXES, 100)); in TEST_F()
138 ASSERT_EQ(PointerCoords::MAX_AXES, __builtin_popcountll(coords.bits)); in TEST_F()
144 PointerCoords inCoords; in TEST_F()
146 PointerCoords outCoords; in TEST_F()
230 PointerCoords pointerCoords[2]; in initializeEventWithHistory()
549 PointerCoords pointerCoords[pointerCount]; in TEST_F()
DInputPublisherAndConsumer_test.cpp148 PointerCoords pointerCoords[pointerCount]; in PublishAndConsumeMotionEvent()
256 PointerCoords pointerCoords[pointerCount]; in TEST_F()
268 PointerCoords pointerCoords[pointerCount]; in TEST_F()
/frameworks/base/services/input/
DPointerController.h103 virtual void setSpots(const PointerCoords* spotCoords, const uint32_t* spotIdToIndex,
169 virtual void setSpots(const PointerCoords* spotCoords,
DInputListener.h94 PointerCoords pointerCoords[MAX_POINTERS];
104 const PointerProperties* pointerProperties, const PointerCoords* pointerCoords,
DInputReader.h788 PointerCoords pointerCoords[MAX_POINTERS];
796 inline const PointerCoords& pointerCoordsForId(uint32_t id) const { in pointerCoordsForId()
1535 PointerCoords currentGestureCoords[MAX_POINTERS];
1541 PointerCoords lastGestureCoords[MAX_POINTERS];
1603 PointerCoords currentCoords;
1605 PointerCoords lastCoords;
1670 const PointerProperties* properties, const PointerCoords* coords,
1677 const PointerCoords* inCoords, const uint32_t* inIdToIndex,
1678 PointerProperties* outProperties, PointerCoords* outCoords,
1810 static void setPointerCoordsAxisValue(PointerCoords* pointerCoords, int32_t axis,
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.h520 PointerCoords pointerCoords[MAX_POINTERS];
528 const PointerProperties* pointerProperties, const PointerCoords* pointerCoords);
764 PointerCoords pointerCoords[MAX_POINTERS];
DInputListener.cpp73 const PointerProperties* pointerProperties, const PointerCoords* pointerCoords, in NotifyMotionArgs()
DInputReader.cpp2444 PointerCoords pointerCoords; in sync()
2686 const PointerCoords& pointerCoords = mLastCookedPointerData.pointerCoords[i]; in dump()
4297 PointerCoords& out = mCurrentCookedPointerData.pointerCoords[i]; in cookPointerData()
4547 PointerCoords pointerCoords; in dispatchPointerGestures()
5342 const PointerCoords& coords = mPointerGesture.currentGestureCoords[index]; in preparePointerGestures()
5354 const PointerCoords& coords = mPointerGesture.lastGestureCoords[index]; in preparePointerGestures()
5552 PointerCoords pointerCoords; in dispatchPointerSimple()
5584 const PointerProperties* properties, const PointerCoords* coords, in dispatchMotion()
5587 PointerCoords pointerCoords[MAX_POINTERS]; in dispatchMotion()
5627 const PointerCoords* inCoords, const uint32_t* inIdToIndex, in updateMovedPointers()
[all …]
DInputDispatcher.cpp1960 PointerCoords scaledCoords[MAX_POINTERS]; in startDispatchCycleLocked()
1961 const PointerCoords* usingCoords = motionEntry->pointerCoords; in startDispatchCycleLocked()
2245 PointerCoords splitPointerCoords[MAX_POINTERS]; in splitMotionEvent()
2605 const PointerCoords* samplePointerCoords = motionEvent->getSamplePointerCoords(); in injectInputEvent()
3901 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/core/java/com/android/internal/widget/
DPointerLocationView.java34 import android.view.MotionEvent.PointerCoords;
56 private PointerCoords mCoords = new PointerCoords();
125 private final PointerCoords mTempCoords = new PointerCoords();
440 MotionEvent.PointerCoords coords, int id, MotionEvent event) { in logCoords()
584 final PointerCoords coords = ps != null ? ps.mCoords : mTempCoords; in addPointerEvent()
597 final PointerCoords coords = ps != null ? ps.mCoords : mTempCoords; in addPointerEvent()
/frameworks/base/services/java/com/android/server/accessibility/
DScreenMagnifier.java45 import android.view.MotionEvent.PointerCoords;
156 private PointerCoords[] mTempPointerCoords;
412 PointerCoords[] coords = getTempPointerCoordsWithMinSize(pointerCount); in handleMotionEventStateDelegating()
436 private PointerCoords[] getTempPointerCoordsWithMinSize(int size) { in getTempPointerCoordsWithMinSize()
439 PointerCoords[] oldTempPointerCoords = mTempPointerCoords; in getTempPointerCoordsWithMinSize()
440 mTempPointerCoords = new PointerCoords[size]; in getTempPointerCoordsWithMinSize()
446 mTempPointerCoords[i] = new PointerCoords(); in getTempPointerCoordsWithMinSize()
809 PointerCoords[] coords = getTempPointerCoordsWithMinSize(pointerCount); in obtainEventWithOffsetTimeAndDownTime()
DTouchExplorer.java32 import android.view.MotionEvent.PointerCoords;
1023 PointerCoords[] coords = PointerCoords.createArray(pointerCount); in offsetEvent()
1194 PointerCoords[] coords = new PointerCoords[1]; in onDoubleTap()
1195 coords[0] = new PointerCoords(); in onDoubleTap()
/frameworks/base/core/jni/
Dandroid_view_MotionEvent.cpp192 float xOffset, float yOffset, PointerCoords* outRawPointerCoords) { in pointerCoordsToNative()
256 static void pointerCoordsFromNative(JNIEnv* env, const PointerCoords* rawPointerCoords, in pointerCoordsFromNative()
357 PointerCoords rawPointerCoords[pointerCount]; in android_view_MotionEvent_nativeInitialize()
415 PointerCoords rawPointerCoords[pointerCount]; in android_view_MotionEvent_nativeAddBatch()
645 const PointerCoords* rawPointerCoords; in android_view_MotionEvent_nativeGetPointerCoords()
/frameworks/base/services/input/tests/
DInputDispatcher_test.cpp145 PointerCoords pointerCoords[MAX_POINTERS + 1]; in TEST_F()
/frameworks/base/docs/html/tools/help/uiautomator/
DUiObject.jd706 …PointerGesture(android.view.MotionEvent.PointerCoords[]...)">performMultiPointerGesture</a></span>…
2858 <A NAME="performMultiPointerGesture(android.view.MotionEvent.PointerCoords[]...)"></A>
2871 <span class="normal">(PointerCoords... touches)</span>
2877 …ef="../../../../../reference/android/view/MotionEvent.PointerCoords.html">MotionEvent.PointerCoord…
2883 PointerCoords p = new PointerCoords();
2894 …ef="../../../../../reference/android/view/MotionEvent.PointerCoords.html">MotionEvent.PointerCoord…
2895 …ef="../../../../../reference/android/view/MotionEvent.PointerCoords.html">MotionEvent.PointerCoord…
/frameworks/testing/uiautomator/api/
Dcurrent.txt114 method public boolean performMultiPointerGesture(android.view.MotionEvent.PointerCoords...);

12