/frameworks/base/core/java/android/text/method/ |
H A D | ScrollingMovementMethod.java | 45 protected boolean down(TextView widget, Spannable buffer) { method in class:ScrollingMovementMethod
|
H A D | ArrowKeyMovementMethod.java | 99 protected boolean down(TextView widget, Spannable buffer) { method in class:ArrowKeyMovementMethod
|
H A D | LinkMovementMethod.java | 70 protected boolean down(TextView widget, Spannable buffer) { method in class:LinkMovementMethod 75 return super.down(widget, buffer);
|
H A D | BaseMovementMethod.java | 145 * The default implementation decodes the key down and invokes movement actions 146 * such as {@link #down} and {@link #up}. 198 return down(widget, buffer); 281 * Performs a down movement action. 282 * Moves the cursor or scrolls down by one line. 288 protected boolean down(TextView widget, Spannable buffer) { method in class:BaseMovementMethod 305 * Performs a page-down movement action. 306 * Moves the cursor or scrolls down by one page. 526 * Performs a scroll down action. 527 * Scrolls down b [all...] |
/frameworks/base/core/java/android/util/ |
H A D | DayOfMonthCursor.java | 26 * <li>Provides methods to move the cursor up / down / left / right.</li> 116 * Move down one box, potentially flipping to the next month. 120 public boolean down() { method in class:DayOfMonthCursor 122 // within current month, just move down
|
/frameworks/base/services/accessibility/java/com/android/server/accessibility/ |
H A D | GestureUtils.java | 15 public static boolean isTap(MotionEvent down, MotionEvent up, int tapTimeSlop, argument 17 return eventsWithinTimeAndDistanceSlop(down, up, tapTimeSlop, tapDistanceSlop, actionIndex);
|
H A D | MagnificationGestureHandler.java | 279 // time and down time to prevent subsequent transformations being confused 280 // by stale events. After the cached events, which always have a down, are 281 // injected we need to also update the down time of all subsequent non cached 526 throw new IllegalStateException("Should have one pointer down."); 822 private void onActionTapAndHold(MotionEvent down, int policyFlags) { argument 832 mMagnificationController.setScaleAndCenter(scale, down.getX(), down.getY(), true,
|
/frameworks/base/services/core/java/com/android/server/tv/ |
H A D | UinputBridge.java | 39 private static native void nativeSendKey(long ptr, int keyCode, boolean down); argument 104 nativeSendKey(mPtr, keyCode, true /*down*/); 110 nativeSendKey(mPtr, keyCode, false /*down*/);
|
/frameworks/native/libs/input/ |
H A D | Keyboard.cpp | 170 static int32_t setEphemeralMetaState(int32_t mask, bool down, int32_t oldMetaState) { argument 172 if (down) { 202 static int32_t toggleLockedMetaState(int32_t mask, bool down, int32_t oldMetaState) { argument 203 if (down) { 210 int32_t updateMetaState(int32_t keyCode, bool down, int32_t oldMetaState) { argument 213 return setEphemeralMetaState(AMETA_ALT_LEFT_ON, down, oldMetaState); 215 return setEphemeralMetaState(AMETA_ALT_RIGHT_ON, down, oldMetaState); 217 return setEphemeralMetaState(AMETA_SHIFT_LEFT_ON, down, oldMetaState); 219 return setEphemeralMetaState(AMETA_SHIFT_RIGHT_ON, down, oldMetaState); 221 return setEphemeralMetaState(AMETA_SYM_ON, down, oldMetaStat [all...] |
H A D | KeyCharacterMap.cpp | 325 outEvents[i].getAction() == AKEY_EVENT_ACTION_DOWN ? "down" : "up"); 487 int32_t deviceId, int32_t keyCode, int32_t metaState, bool down, nsecs_t time) { 491 down ? AKEY_EVENT_ACTION_DOWN : AKEY_EVENT_ACTION_UP, 496 int32_t deviceId, int32_t metaState, bool down, nsecs_t time, 499 if (down) { 561 int32_t deviceId, int32_t metaState, bool down, nsecs_t time, 565 *currentMetaState = updateMetaState(keyCode, down, *currentMetaState); 566 addKey(outEvents, deviceId, keyCode, *currentMetaState, down, time); 573 int32_t deviceId, int32_t metaState, bool down, nsecs_t time, 579 specific |= addSingleEphemeralMetaKey(outEvents, deviceId, metaState, down, tim 486 addKey(Vector<KeyEvent>& outEvents, int32_t deviceId, int32_t keyCode, int32_t metaState, bool down, nsecs_t time) argument 495 addMetaKeys(Vector<KeyEvent>& outEvents, int32_t deviceId, int32_t metaState, bool down, nsecs_t time, int32_t* currentMetaState) argument 560 addSingleEphemeralMetaKey(Vector<KeyEvent>& outEvents, int32_t deviceId, int32_t metaState, bool down, nsecs_t time, int32_t keyCode, int32_t keyMetaState, int32_t* currentMetaState) argument 572 addDoubleEphemeralMetaKey(Vector<KeyEvent>& outEvents, int32_t deviceId, int32_t metaState, bool down, nsecs_t time, int32_t leftKeyCode, int32_t leftKeyMetaState, int32_t rightKeyCode, int32_t rightKeyMetaState, int32_t eitherKeyMetaState, int32_t* currentMetaState) argument [all...] |
/frameworks/base/services/core/jni/ |
H A D | com_android_server_tv_TvUinputBridge.cpp | 210 static void nativeSendKey(JNIEnv* env, jclass clazz, jlong ptr, jint keyCode, jboolean down) { argument 214 connection->sendEvent(EV_KEY, code, down ? 1 : 0);
|
/frameworks/base/tests/touchlag/ |
H A D | touchlag.cpp | 151 down = event.value == -1 ? 0 : 1; 152 first_down = down; 166 int x, y, down; member in class:TouchEvents::EventThread 168 x(0), y(0), down(0) 184 return thread->down;
|
/frameworks/base/services/core/java/com/android/server/policy/ |
H A D | SystemGesturesPointerEventListener.java | 167 " down pointerIndex=" + pointerIndex + " trackingIndex=" + i); 173 " down x=" + mDownX[i] + " y=" + mDownY[i]); 253 public boolean onFling(MotionEvent down, MotionEvent up, argument
|
H A D | PhoneWindowManager.java | 446 /** Controller that supports enabling an AccessibilityService by holding down the volume keys */ 513 // from being passed to the foregrounded app without a corresponding down event 3334 final boolean down = event.getAction() == KeyEvent.ACTION_DOWN; 3338 Log.d(TAG, "interceptKeyTi keyCode=" + keyCode + " down=" + down + " repeatCount=" 3343 // If we think we might have a volume down & power key chord on the way 3357 if (!down) { 3378 if (!down) { 3384 if (!down) { 3391 // Cancel any pending meta actions if we see any other keys being pressed between the down 3837 interceptBugreportGestureTv(int keyCode, boolean down) argument 3864 interceptAccessibilityGestureTv(int keyCode, boolean down) argument [all...] |
/frameworks/rs/tests/java_api/VrDemo/src/com/example/android/rs/vr/ |
H A D | VrView.java | 50 // private VrState mState4 = new VrState(); // for down sampled 361 protected Long doInBackground(Integer... down) { argument 366 if (down[0] == 1) {
|
/frameworks/base/core/java/android/widget/ |
H A D | GridView.java | 250 void fillGap(boolean down) { argument 256 if (down) { 288 * Fills the list from pos down to the end of the list view. 636 // Don't pull the top too far down 640 // Move everything down 918 * Case 1: Scrolling down. 1184 // Remember stuff we will need down below 1336 // If the user's finger is down, select the motion position. 1758 * Scrolls up or down by the number of items currently present on screen. 2256 // we are too high, slide all views down t [all...] |
H A D | ListView.java | 85 * such as to display new views as the user scrolls up or down.</p> 240 // overridden by android:dividerHeight further down. 303 // we are too high, slide all views down to align with bottom 693 // need to MOVE DOWN to get it in view: move down just enough so 741 void fillGap(boolean down) { argument 743 if (down) { 765 * Fills the list from pos down to the end of the list view. 853 * down from there. This method forces mSelectedPosition to the center. 1055 * Case 1: Scrolling down. 1471 * up and down fro [all...] |
H A D | AbsListView.java | 155 * Indicates we have waited for everything we can wait for, but the user's finger is still down 367 * The down scroll indicator 379 * The position of the view that received the down motion event 384 * The offset to the top of the mMotionPosition view when the down motion event was received 394 * The X value associated with the the down motion event 399 * The Y value associated with the the down motion event 2846 public void setScrollIndicators(View up, View down) { argument 2848 mScrollDown = down; 4737 // (e.g. finger moving down means list is moving towards the top) 5053 * scrolling down 5278 fillGap(boolean down) argument [all...] |
/frameworks/av/media/libstagefright/httplive/ |
H A D | LiveSession.cpp | 881 ALOGV("retry down switch at next sample"); 1268 If we're switching down, we need to decide whether to 1381 // switching down again. 2079 bool underflow, ready, down, up; local 2080 if (checkBuffering(underflow, ready, down, up)) { 2082 // Allow down switch even if we're still preparing. 2087 // as we have to do a down switch. It's better experience 2089 if (!switchBandwidthIfNeeded(false /* up */, down) && ready) { 2100 switchBandwidthIfNeeded(up, down); 2155 bool &underflow, bool &ready, bool &down, boo 2154 checkBuffering( bool &underflow, bool &ready, bool &down, bool &up) argument [all...] |
/frameworks/native/services/inputflinger/ |
H A D | InputDispatcher.h | 130 /* This flag indicates that the event should be dispatched as an initial down. 971 bool down; member in struct:android::InputDispatcher::TouchState 973 int32_t deviceId; // id of the device that is currently down, others are rejected 974 uint32_t source; // source of the device that is current down, others are rejected
|
H A D | InputDispatcher.cpp | 249 // Wait for callback or timeout or wake. (make sure we round up, not down) 732 // Not a repeat. Save key down state in case we do see a repeat later. 1171 bool down = maskedAction == AMOTION_EVENT_ACTION_DOWN; local 1172 if (switchedDevice && mTempTouchState.down && !down && !isHoverAction) { 1174 ALOGD("Dropping event because a pointer for a different device is already down."); 1183 mTempTouchState.down = down; 1200 /* Case 1: New splittable pointer going down, or need target for hover or scroll. */ 1286 /* Case 2: Pointer move, up, cancel or non-splittable pointer down [all...] |
H A D | InputReader.cpp | 207 // Returns true if the pointer should be reported as being down given the specified 2260 dump.appendFormat(INDENT3 "KeyDowns: %zu keys currently down\n", mKeyDowns.size()); 2405 void KeyboardInputMapper::processKey(nsecs_t when, bool down, int32_t scanCode, argument 2418 if (down) { 2424 // Add key down. 2430 // key down 2448 // Remove key down. 2455 // key was not actually down 2456 ALOGI("Dropping key up from device %s because the key was not down. " 2463 if (updateMetaStateIfNeeded(keyCode, down)) { 2523 updateMetaStateIfNeeded(int32_t keyCode, bool down) argument 2785 bool down = isPointerDown(currentButtonState); local 5275 bool down = mPointerGesture.currentGestureMode == PointerGesture::TAP local 5787 bool down; local 6215 bool down, hovering; local 6250 bool down, hovering; local 6302 dispatchPointerSimple(nsecs_t when, uint32_t policyFlags, bool down, bool hovering) argument [all...] |
H A D | InputReader.h | 122 // to noise from a finger resting on the touch pad (perhaps just pressing it down). 126 // The time between down and up must be less than this to be considered a tap. 130 // The time between the previous tap's up and the next down must be less than 134 // Note that the previous tap will be held down for this entire duration so this 138 // The distance in pixels that the pointer is allowed to move from initial down 142 // Time after the first touch points go down to settle on an initial centroid. 143 // This is intended to be enough time to handle cases where the user puts down two 1106 Vector<KeyDown> mKeyDowns; // keys that are down 1108 nsecs_t mDownTime; // time of most recent key down 1133 void processKey(nsecs_t when, bool down, int32_ 1594 bool down; member in struct:android::TouchInputMapper::CurrentVirtualKeyState 1767 bool down; member in struct:android::TouchInputMapper::PointerSimple [all...] |
/frameworks/ex/common/java/com/android/ex/editstyledtext/ |
H A D | EditStyledText.java | 2401 protected boolean down(TextView widget, Spannable buffer) { method in class:EditStyledText.StyledTextArrowKeyMethod 2403 Log.d(LOG_TAG, "--- down:"); 2456 handled |= down(widget, buffer);
|
/frameworks/data-binding/prebuilds/1.0-rc0/ |
H A D | databinding-studio-bundle.jar | META-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/databinding/Bindable.class Bindable. ... |