OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:touchPoints
(Results
1 - 4
of
4
) sorted by null
/frameworks/base/core/java/android/accessibilityservice/
GestureDescription.java
120
* @param
touchPoints
An array to hold the current touch points. Must be preallocated to at
124
private int getPointsForTime(long time, TouchPoint[]
touchPoints
) {
129
touchPoints
[numPointsFound].mStrokeId = strokeDescription.getId();
130
touchPoints
[numPointsFound].mContinuedStrokeId =
132
touchPoints
[numPointsFound].mIsStartOfPath =
135
touchPoints
[numPointsFound].mIsEndOfPath = !strokeDescription.willContinue()
138
touchPoints
[numPointsFound].mX = Math.round(mTempPos[0]);
139
touchPoints
[numPointsFound].mY = Math.round(mTempPos[1]);
466
public TouchPoint[]
touchPoints
;
472
this.
touchPoints
= new TouchPoint[numTouchPoints]
[
all
...]
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
MotionEventInjector.java
237
if (!firstStep.
touchPoints
[i].mIsStartOfPath) {
260
TouchPoint touchPoint = firstStep.
touchPoints
[i];
359
appendMoveEventIfNeeded(motionEvents, step.
touchPoints
, currentTouchPointSize,
361
appendUpEvents(motionEvents, step.
touchPoints
, currentTouchPointSize,
363
appendDownEvents(motionEvents, step.
touchPoints
, currentTouchPointSize,
450
TouchPoint[]
touchPoints
, int touchPointsSize) {
464
int pointerId = mStrokeIdToPointerId.get(
touchPoints
[i].mStrokeId, -1);
467
mStrokeIdToPointerId.put(
touchPoints
[i].mStrokeId, pointerId);
474
sPointerCoords[i].x =
touchPoints
[i].mX;
475
sPointerCoords[i].y =
touchPoints
[i].mY
[
all
...]
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/
MotionEventInjectorTest.java
[
all
...]
GestureDescriptionTest.java
309
if (gestureStep.
touchPoints
[i].mIsStartOfPath) {
329
if (gestureStep.
touchPoints
[i].mIsEndOfPath) {
348
if ((gestureStep.
touchPoints
[i].mX == point.x)
349
&& (gestureStep.
touchPoints
[i].mY == point.y)) {
368
if (gestureStep.
touchPoints
[i].mStrokeId == strokeId) {
387
if (gestureStep.
touchPoints
[i].mContinuedStrokeId == strokeId) {
Completed in 559 milliseconds