HomeSort by relevance Sort by last modified time
    Searched full:pointercount (Results 1 - 25 of 38) sorted by null

1 2

  /frameworks/base/libs/androidfw/tests/
InputPublisherAndConsumer_test.cpp 144 const size_t pointerCount = 3;
146 PointerProperties pointerProperties[pointerCount];
147 PointerCoords pointerCoords[pointerCount];
148 for (size_t i = 0; i < pointerCount; i++) {
150 pointerProperties[i].id = (i + 2) % pointerCount;
167 downTime, eventTime, pointerCount,
196 EXPECT_EQ(pointerCount, motionEvent->getPointerCount());
199 for (size_t i = 0; i < pointerCount; i++) {
253 const size_t pointerCount = 0;
254 PointerProperties pointerProperties[pointerCount];
    [all...]
InputEvent_test.cpp 534 const size_t pointerCount = 11;
535 PointerProperties pointerProperties[pointerCount];
536 PointerCoords pointerCoords[pointerCount];
537 for (size_t i = 0; i < pointerCount; i++) {
548 0, 0, 0, 0, 0, 0, pointerCount, pointerProperties, pointerCoords);
569 for (size_t i = 0; i < pointerCount; i++) {
  /frameworks/base/services/input/tests/
InputDispatcher_test.cpp 155 /*pointerCount*/ 1, pointerProperties, pointerCoords);
165 /*pointerCount*/ 1, pointerProperties, pointerCoords);
174 /*pointerCount*/ 1, pointerProperties, pointerCoords);
184 /*pointerCount*/ 1, pointerProperties, pointerCoords);
193 /*pointerCount*/ 1, pointerProperties, pointerCoords);
202 /*pointerCount*/ 0, pointerProperties, pointerCoords);
210 /*pointerCount*/ MAX_POINTERS + 1, pointerProperties, pointerCoords);
220 /*pointerCount*/ 1, pointerProperties, pointerCoords);
229 /*pointerCount*/ 1, pointerProperties, pointerCoords);
240 /*pointerCount*/ 2, pointerProperties, pointerCoords)
    [all...]
InputReader_test.cpp     [all...]
  /frameworks/base/core/jni/
android_view_MotionEvent.cpp 115 static bool validatePointerCount(JNIEnv* env, jint pointerCount) {
116 if (pointerCount < 1) {
118 "pointerCount must be at least 1");
125 size_t pointerCount) {
132 if (length < pointerCount) {
141 size_t pointerCount) {
148 if (length < pointerCount) {
156 static bool validatePointerIndex(JNIEnv* env, jint pointerIndex, size_t pointerCount) {
157 if (pointerIndex < 0 || size_t(pointerIndex) >= pointerCount) {
344 jint pointerCount, jobjectArray pointerPropertiesObjArray
    [all...]
  /external/replicaisland/src/com/replica/replicaisland/
MultiTouchFilter.java 14 final int pointerCount = event.getPointerCount();
15 for (int x = 0; x < pointerCount; x++) {
  /frameworks/base/libs/androidfw/
Input.cpp 300 size_t pointerCount,
315 mPointerProperties.appendArray(pointerProperties, pointerCount);
342 size_t pointerCount = other->getPointerCount();
345 + (historySize * pointerCount), pointerCount);
398 size_t pointerCount = mPointerProperties.size();
399 for (size_t i = 0; i < pointerCount; i++) {
479 size_t pointerCount = parcel->readInt32();
481 if (pointerCount == 0 || pointerCount > MAX_POINTERS || sampleCount == 0)
    [all...]
InputTransport.cpp 73 return body.motion.pointerCount > 0
74 && body.motion.pointerCount <= MAX_POINTERS;
294 size_t pointerCount,
302 "pointerCount=%d",
305 xOffset, yOffset, xPrecision, yPrecision, downTime, eventTime, pointerCount);
313 if (pointerCount > MAX_POINTERS || pointerCount < 1) {
315 mChannel->getName().string(), pointerCount);
335 msg.body.motion.pointerCount = pointerCount;
    [all...]
VelocityTracker.cpp 298 size_t pointerCount = event->getPointerCount();
299 if (pointerCount > MAX_POINTERS) {
300 pointerCount = MAX_POINTERS;
304 for (size_t i = 0; i < pointerCount; i++) {
309 for (size_t i = 0; i < pointerCount; i++) {
314 Position positions[pointerCount];
319 for (size_t i = 0; i < pointerCount; i++) {
328 for (size_t i = 0; i < pointerCount; i++) {
    [all...]
  /development/cmds/monkey/src/com/android/commands/monkey/
MonkeyMotionEvent.java 129 int pointerCount = mPointers.size();
130 int[] pointerIds = new int[pointerCount];
131 MotionEvent.PointerCoords[] pointerCoords = new MotionEvent.PointerCoords[pointerCount];
132 for (int i = 0; i < pointerCount; i++) {
139 mAction, pointerCount, pointerIds, pointerCoords,
180 int pointerCount = me.getPointerCount();
181 for (int i = 0; i < pointerCount; i++) {
  /frameworks/base/services/input/
InputListener.cpp 72 int32_t edgeFlags, int32_t displayId, uint32_t pointerCount,
77 edgeFlags(edgeFlags), displayId(displayId), pointerCount(pointerCount),
79 for (uint32_t i = 0; i < pointerCount; i++) {
91 pointerCount(other.pointerCount),
93 for (uint32_t i = 0; i < pointerCount; i++) {
InputListener.h 92 uint32_t pointerCount;
103 int32_t edgeFlags, int32_t displayId, uint32_t pointerCount,
InputDispatcher.cpp 119 static bool isValidMotionAction(int32_t action, size_t pointerCount) {
134 return index >= 0 && size_t(index) < pointerCount;
141 static bool validateMotionEvent(int32_t action, size_t pointerCount,
143 if (! isValidMotionAction(action, pointerCount)) {
147 if (pointerCount < 1 || pointerCount > MAX_POINTERS) {
149 pointerCount, MAX_POINTERS);
153 for (size_t i = 0; i < pointerCount; i++) {
878 for (uint32_t i = 0; i < entry->pointerCount; i++) {
    [all...]
  /packages/apps/Gallery2/src/com/android/gallery3d/util/
MotionEventHelper.java 51 int pointerCount = e.getPointerCount();
64 for (int i = 0; i < pointerCount;i++) {
69 for (int i = 0; i < pointerCount;i++) {
77 pointerCount, pointerIds, pointerCoords, metaState, xPrecision,
  /external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowMotionEvent.java 23 private int pointerCount = 1;
89 return pointerCount;
143 pointerCount = 2;
  /packages/screensavers/PhotoTable/src/com/android/dreams/phototable/
DragGestureDetector.java 49 final int pointerCount = event.getPointerCount();
53 for (int p = 0; p < pointerCount; p++) {
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/research/
JsonUtils.java 113 final int pointerCount = me.getPointerCount();
114 for (int index = 0; index < pointerCount; index++) {
128 for (int pointerIndex = 0; pointerIndex < pointerCount; pointerIndex++) {
144 for (int pointerIndex = 0; pointerIndex < pointerCount; pointerIndex++) {
  /cts/tests/tests/view/src/android/view/cts/
MotionEventTest.java 345 final int pointerCount = 11;
346 final int[] pointerIds = new int[pointerCount];
347 final PointerCoords[] pointerCoords = new PointerCoords[pointerCount];
348 for (int i = 0; i < pointerCount; i++) {
358 pointerCount, pointerIds, pointerCoords, 0, 0, 0, 0, 0, 0, 0);
382 for (int i = 0; i < pointerCount; i++) {
403 int pointerCount = ev.getPointerCount();
404 for (int i = 0; i < pointerCount; i++) {
  /frameworks/base/core/java/android/view/
InputEventConsistencyVerifier.java 353 final int pointerCount = event.getPointerCount();
374 if (pointerCount != expectedPointerCount) {
375 problem("ACTION_MOVE contained " + pointerCount
402 if (actionIndex < 0 || actionIndex >= pointerCount) {
404 + " but the pointer count is " + pointerCount + ".");
419 if (actionIndex < 0 || actionIndex >= pointerCount) {
421 + " but the pointer count is " + pointerCount + ".");
559 final int pointerCount = event.getPointerCount();
560 if (pointerCount != 1) {
561 problem("Pointer count is " + pointerCount + " but it should always be 1 for
    [all...]
MotionEvent.java 94 * final int pointerCount = ev.getPointerCount();
97 * for (int p = 0; p &lt; pointerCount; p++) {
103 * for (int p = 0; p &lt; pointerCount; p++) {
    [all...]
  /frameworks/base/include/androidfw/
InputTransport.h 89 size_t pointerCount;
103 + sizeof(Pointer) * pointerCount;
219 * Returns BAD_VALUE if seq is 0 or if pointerCount is less than 1 or greater than MAX_POINTERS.
237 size_t pointerCount,
363 for (size_t i = 0; i < msg->body.motion.pointerCount; i++) {
  /frameworks/base/services/java/com/android/server/accessibility/
ScreenMagnifier.java 411 final int pointerCount = event.getPointerCount();
412 PointerCoords[] coords = getTempPointerCoordsWithMinSize(pointerCount);
413 PointerProperties[] properties = getTempPointerPropertiesWithMinSize(pointerCount);
414 for (int i = 0; i < pointerCount; i++) {
421 event.getEventTime(), event.getAction(), pointerCount, properties,
    [all...]
  /packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/
ImageDraw.java 113 final int pointerCount = event.getPointerCount();
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/
MainKeyboardView.java     [all...]
  /frameworks/base/policy/src/com/android/internal/policy/impl/
EnableAccessibilityController.java 169 final int pointerCount = event.getPointerCount();
179 if (pointerCount > 2) {

Completed in 368 milliseconds

1 2