HomeSort by relevance Sort by last modified time
    Searched defs:pointerCount (Results 1 - 25 of 43) sorted by null

1 2

  /external/replicaisland/src/com/replica/replicaisland/
MultiTouchFilter.java 14 final int pointerCount = event.getPointerCount();
15 for (int x = 0; x < pointerCount; x++) {
  /packages/screensavers/PhotoTable/src/com/android/dreams/phototable/
DragGestureDetector.java 49 final int pointerCount = event.getPointerCount();
53 for (int p = 0; p < pointerCount; p++) {
  /external/chromium_org/remoting/android/java/src/org/chromium/chromoting/
TapGestureDetector.java 26 * @param pointerCount The number of fingers that were tapped.
29 boolean onTap(int pointerCount);
34 * @param pointerCount The number of fingers held down.
36 void onLongPress(int pointerCount);
155 int pointerCount = event.getPointerCount();
156 for (int i = 0; i < pointerCount; i++) {
TrackingInputHandler.java 324 int pointerCount = e2.getPointerCount();
325 if (pointerCount == 3 && !mSwipeCompleted) {
333 if (pointerCount == 2 && mSwipePinchDetector.isSwiping()) {
341 if (pointerCount != 1 || mSuppressCursorMovement) {
427 private int mouseButtonFromPointerCount(int pointerCount) {
428 switch (pointerCount) {
442 public boolean onTap(int pointerCount) {
443 int button = mouseButtonFromPointerCount(pointerCount);
455 public void onLongPress(int pointerCount) {
456 mHeldButton = mouseButtonFromPointerCount(pointerCount);
    [all...]
  /external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowMotionEvent.java 23 private int pointerCount = 1;
89 return pointerCount;
143 pointerCount = 2;
  /frameworks/native/libs/input/tests/
InputEvent_test.cpp 547 const size_t pointerCount = 11;
548 PointerProperties pointerProperties[pointerCount];
549 PointerCoords pointerCoords[pointerCount];
550 for (size_t i = 0; i < pointerCount; i++) {
561 0, 0, 0, 0, 0, 0, pointerCount, pointerProperties, pointerCoords);
582 for (size_t i = 0; i < pointerCount; i++) {
InputPublisherAndConsumer_test.cpp 145 const size_t pointerCount = 3;
147 PointerProperties pointerProperties[pointerCount];
148 PointerCoords pointerCoords[pointerCount];
149 for (size_t i = 0; i < pointerCount; i++) {
151 pointerProperties[i].id = (i + 2) % pointerCount;
168 downTime, eventTime, pointerCount,
197 EXPECT_EQ(pointerCount, motionEvent->getPointerCount());
200 for (size_t i = 0; i < pointerCount; i++) {
254 const size_t pointerCount = 0;
255 PointerProperties pointerProperties[pointerCount];
    [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,
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
NonDistinctMultitouchHelper.java 35 final int pointerCount = me.getPointerCount();
37 mOldPointerCount = pointerCount;
40 if (pointerCount > 1 && oldPointerCount > 1) {
52 if (oldPointerCount == 1 && pointerCount == 1) {
64 if (oldPointerCount == 1 && pointerCount == 2) {
78 if (oldPointerCount == 2 && pointerCount == 1) {
99 + pointerCount + " (previously " + oldPointerCount + ")");
  /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/policy/src/com/android/internal/policy/impl/
EnableAccessibilityController.java 169 final int pointerCount = event.getPointerCount();
179 if (pointerCount > 2) {
  /frameworks/base/services/input/
InputListener.h 92 uint32_t pointerCount;
103 int32_t edgeFlags, int32_t displayId, uint32_t pointerCount,
InputDispatcher.h 518 uint32_t pointerCount;
527 nsecs_t downTime, int32_t displayId, uint32_t pointerCount,
762 uint32_t pointerCount;
    [all...]
  /frameworks/native/libs/input/
Input.cpp 298 size_t pointerCount,
313 mPointerProperties.appendArray(pointerProperties, pointerCount);
340 size_t pointerCount = other->getPointerCount();
343 + (historySize * pointerCount), pointerCount);
396 size_t pointerCount = mPointerProperties.size();
397 for (size_t i = 0; i < pointerCount; i++) {
491 size_t pointerCount = parcel->readInt32();
493 if (pointerCount == 0 || pointerCount > MAX_POINTERS || sampleCount == 0)
    [all...]
InputTransport.cpp 74 return body.motion.pointerCount > 0
75 && body.motion.pointerCount <= MAX_POINTERS;
295 size_t pointerCount,
303 "pointerCount=%d",
306 xOffset, yOffset, xPrecision, yPrecision, downTime, eventTime, pointerCount);
314 if (pointerCount > MAX_POINTERS || pointerCount < 1) {
316 mChannel->getName().string(), pointerCount);
336 msg.body.motion.pointerCount = pointerCount;
    [all...]
VelocityTracker.cpp 297 size_t pointerCount = event->getPointerCount();
298 if (pointerCount > MAX_POINTERS) {
299 pointerCount = MAX_POINTERS;
303 for (size_t i = 0; i < pointerCount; i++) {
308 for (size_t i = 0; i < pointerCount; i++) {
313 Position positions[pointerCount];
318 for (size_t i = 0; i < pointerCount; i++) {
327 for (size_t i = 0; i < pointerCount; i++) {
    [all...]
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
UsabilityStudyLogUtils.java 116 final int pointerCount = me.getPointerCount();
117 for (int index = 0; index < pointerCount; index++) {
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/research/
JsonUtils.java 118 final int pointerCount = me.getPointerCount();
119 for (int index = 0; index < pointerCount; index++) {
133 for (int pointerIndex = 0; pointerIndex < pointerCount; pointerIndex++) {
149 for (int pointerIndex = 0; pointerIndex < pointerCount; pointerIndex++) {
  /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/native/include/input/
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/core/jni/
android_view_MotionEvent.cpp 114 static bool validatePointerCount(JNIEnv* env, jint pointerCount) {
115 if (pointerCount < 1) {
117 "pointerCount must be at least 1");
124 size_t pointerCount) {
131 if (length < pointerCount) {
140 size_t pointerCount) {
147 if (length < pointerCount) {
155 static bool validatePointerIndex(JNIEnv* env, jint pointerIndex, size_t pointerCount) {
156 if (pointerIndex < 0 || size_t(pointerIndex) >= pointerCount) {
343 jint pointerCount, jobjectArray pointerPropertiesObjArray
    [all...]
  /frameworks/base/tests/AccessoryDisplay/sink/src/com/android/accessorydisplay/sink/
SinkActivity.java 358 final int pointerCount =
361 for (int p = 0; p < pointerCount; p++) {
365 for (int p = 0; p < pointerCount; p++) {
369 sendHidTouchReport(pointerCount);
371 for (int p = 0; p < pointerCount; p++) {
375 sendHidTouchReport(pointerCount);
  /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/support/v4/java/android/support/v4/widget/
ViewDragHelper.java     [all...]

Completed in 983 milliseconds

1 2