/frameworks/base/core/java/android/text/method/ |
H A D | LinkMovementMethod.java | 65 protected boolean down(TextView widget, Spannable buffer) { method in class:LinkMovementMethod 70 return super.down(widget, buffer);
|
H A D | ScrollingMovementMethod.java | 44 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 | 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/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 | ScreenMagnifier.java | 307 // time and down time to prevent subsequent transformations being confused 308 // by stale events. After the cached events, which always have a down, are 309 // injected we need to also update the down time of all subsequent non cached 484 throw new IllegalStateException("Should have one pointer down."); 737 private void onActionTapAndHold(MotionEvent down, int policyFlags) { argument 744 down.getX(), down.getY(), true);
|
/frameworks/base/libs/androidfw/ |
H A D | Keyboard.cpp | 207 static int32_t setEphemeralMetaState(int32_t mask, bool down, int32_t oldMetaState) { argument 209 if (down) { 234 static int32_t toggleLockedMetaState(int32_t mask, bool down, int32_t oldMetaState) { argument 235 if (down) { 242 int32_t updateMetaState(int32_t keyCode, bool down, int32_t oldMetaState) { argument 246 return setEphemeralMetaState(AMETA_ALT_LEFT_ON, down, oldMetaState); 248 return setEphemeralMetaState(AMETA_ALT_RIGHT_ON, down, oldMetaState); 250 return setEphemeralMetaState(AMETA_SHIFT_LEFT_ON, down, oldMetaState); 252 return setEphemeralMetaState(AMETA_SHIFT_RIGHT_ON, down, oldMetaState); 254 return setEphemeralMetaState(AMETA_SYM_ON, down, oldMetaStat [all...] |
H A D | KeyCharacterMap.cpp | 323 outEvents[i].getAction() == AKEY_EVENT_ACTION_DOWN ? "down" : "up"); 443 int32_t deviceId, int32_t keyCode, int32_t metaState, bool down, nsecs_t time) { 447 down ? AKEY_EVENT_ACTION_DOWN : AKEY_EVENT_ACTION_UP, 452 int32_t deviceId, int32_t metaState, bool down, nsecs_t time, 455 if (down) { 517 int32_t deviceId, int32_t metaState, bool down, nsecs_t time, 521 *currentMetaState = updateMetaState(keyCode, down, *currentMetaState); 522 addKey(outEvents, deviceId, keyCode, *currentMetaState, down, time); 529 int32_t deviceId, int32_t metaState, bool down, nsecs_t time, 535 specific |= addSingleEphemeralMetaKey(outEvents, deviceId, metaState, down, tim 442 addKey(Vector<KeyEvent>& outEvents, int32_t deviceId, int32_t keyCode, int32_t metaState, bool down, nsecs_t time) argument 451 addMetaKeys(Vector<KeyEvent>& outEvents, int32_t deviceId, int32_t metaState, bool down, nsecs_t time, int32_t* currentMetaState) argument 516 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 528 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/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; 254 int x=0, y=0, down=0; local
|
/frameworks/base/core/java/android/widget/ |
H A D | GridView.java | 226 void fillGap(boolean down) { argument 232 if (down) { 264 * Fills the list from pos down to the end of the list view. 611 // Don't pull the top too far down 615 // Move everything down 893 * Case 1: Scrolling down. 1157 // Remember stuff we will need down below 1664 * Scrolls up or down by the number of items currently present on screen. 2162 // we are too high, slide all views down to align with bottom
|
H A D | ListView.java | 220 // we are too high, slide all views down to align with bottom 581 // need to MOVE DOWN to get it in view: move down just enough so 629 void fillGap(boolean down) { argument 631 if (down) { 653 * Fills the list from pos down to the end of the list view. 741 * down from there. This method forces mSelectedPosition to the center. 943 * Case 1: Scrolling down. 1309 * up and down from there. 1360 * everything back down. 1389 // Don't pull the top too far down [all...] |
H A D | AbsListView.java | 139 * Indicates we have waited for everything we can wait for, but the user's finger is still down 346 * The down scroll indicator 358 * The position of the view that received the down motion event 363 * The offset to the top of the mMotionPosition view when the down motion event was received 373 * The X value associated with the the down motion event 378 * The Y value associated with the the down motion event 2502 public void setScrollIndicators(View up, View down) { argument 2504 mScrollDown = down; 4055 // (e.g. finger moving down means list is moving towards the top) 4791 * began. Positive numbers mean the user's finger is moving down th 4982 fillGap(boolean down) argument [all...] |
/frameworks/base/services/input/ |
H A D | InputDispatcher.h | 130 /* This flag indicates that the event should be dispatched as an initial down. 935 bool down; member in struct:android::InputDispatcher::TouchState 937 int32_t deviceId; // id of the device that is currently down, others are rejected 938 uint32_t source; // source of the device that is current down, others are rejected
|
H A D | InputDispatcher.cpp | 240 // Wait for callback or timeout or wake. (make sure we round up, not down) 714 // Not a repeat. Save key down state in case we do see a repeat later. 1163 bool down = maskedAction == AMOTION_EVENT_ACTION_DOWN; local 1164 if (switchedDevice && mTouchState.down && !down) { 1166 ALOGD("Dropping event because a pointer for a different device is already down."); 1175 mTempTouchState.down = down; 1185 /* Case 1: New splittable pointer going down, or need target for hover or scroll. */ 1265 // There is no touched window. If this is an initial down even [all...] |
H A D | InputReader.cpp | 157 // Returns true if the pointer should be reported as being down given the specified 1992 dump.appendFormat(INDENT3 "KeyDowns: %d keys currently down\n", mKeyDowns.size()); 2090 void KeyboardInputMapper::processKey(nsecs_t when, bool down, int32_t keyCode, argument 2093 if (down) { 2099 // Add key down. 2105 // key down 2120 // Remove key down. 2127 // key was not actually down 2128 ALOGI("Dropping key up from device %s because the key was not down. " 2137 int32_t newMetaState = updateMetaState(keyCode, down, oldMetaStat 2412 bool down = isPointerDown(currentButtonState); local 4326 bool down = mPointerGesture.currentGestureMode == PointerGesture::TAP local 4824 bool down; local 5250 bool down, hovering; local 5284 bool down, hovering; local 5335 dispatchPointerSimple(nsecs_t when, uint32_t policyFlags, bool down, bool hovering) argument [all...] |
H A D | InputReader.h | 169 // to noise from a finger resting on the touch pad (perhaps just pressing it down). 173 // The time between down and up must be less than this to be considered a tap. 177 // The time between the previous tap's up and the next down must be less than 181 // Note that the previous tap will be held down for this entire duration so this 185 // The distance in pixels that the pointer is allowed to move from initial down 189 // Time after the first touch points go down to settle on an initial centroid. 190 // This is intended to be enough time to handle cases where the user puts down two 1032 Vector<KeyDown> mKeyDowns; // keys that are down 1034 nsecs_t mDownTime; // time of most recent key down 1057 void processKey(nsecs_t when, bool down, int32_ 1416 bool down; member in struct:android::TouchInputMapper::CurrentVirtualKeyState 1589 bool down; member in struct:android::TouchInputMapper::PointerSimple [all...] |
/frameworks/base/core/java/android/webkit/ |
H A D | WebViewCore.java | 641 boolean down, boolean cap, boolean fn, boolean sym); 1183 // key was pressed (down and up) 1268 // Time to take down the world. Cancel all pending 639 passToJs(int nativeClass, int gen, String currentText, int keyCode, int keyValue, boolean down, boolean cap, boolean fn, boolean sym) argument
|
H A D | WebViewClassic.java | 528 * Send a single character to the WebView as a key down and up event. 572 // New length is greater than the maximum. trim it down. 808 * to further, which slows down the refresh rate. Choose 50 to favor the 1682 // down two keys at a time (shift + another key) 2797 // Page down. 4825 * in its own thread, without slowing down the UI. 4851 // on the AutoFill item being at the top of the drop down list. If you change 5531 // visible == false means we're clipped - send a null rect down to indicate that 5702 // We did not receive the key down for this key, so do not 5706 // We did receive the key down 8447 letPageHandleNavKey(int keyCode, long time, boolean down, int metaState) argument [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);
|