Home | History | Annotate | Download | only in accessibility

Lines Matching full:prototype

832      * @param prototype The prototype from which to create the injected events.
835 private void sendDownForAllNotInjectedPointers(MotionEvent prototype, int policyFlags) {
840 final int pointerCount = prototype.getPointerCount();
842 final int pointerId = prototype.getPointerId(i);
847 sendMotionEvent(prototype, action, pointerIdBits, policyFlags);
888 * @param prototype The prototype from which to create the injected events.
891 private void sendUpForInjectedDownPointers(MotionEvent prototype, int policyFlags) {
894 final int pointerCount = prototype.getPointerCount();
896 final int pointerId = prototype.getPointerId(i);
903 sendMotionEvent(prototype, action, pointerIdBits, policyFlags);
910 * @param prototype The prototype from which to create the injected events.
914 private void sendActionDownAndUp(MotionEvent prototype, int policyFlags,
917 final int pointerId = prototype.getPointerId(prototype.getActionIndex());
919 prototype.setTargetAccessibilityFocus(targetAccessibilityFocus);
920 sendMotionEvent(prototype, MotionEvent.ACTION_DOWN, pointerIdBits, policyFlags);
921 prototype.setTargetAccessibilityFocus(targetAccessibilityFocus);
922 sendMotionEvent(prototype, MotionEvent.ACTION_UP, pointerIdBits, policyFlags);
928 * @param prototype The prototype from which to create the injected events.
933 private void sendMotionEvent(MotionEvent prototype, int action, int pointerIdBits,
935 prototype.setAction(action);
939 event = prototype;
942 event = prototype.split(pointerIdBits);
981 if (event != prototype) {
1234 public void post(MotionEvent prototype, int pointerIdBits, int policyFlags) {
1236 mPrototype = MotionEvent.obtain(prototype);