/frameworks/base/core/java/android/text/method/ |
H A D | ScrollingMovementMethod.java | 44 protected boolean down(TextView widget, Spannable buffer) { method in class:ScrollingMovementMethod
|
H A D | ArrowKeyMovementMethod.java | 100 protected boolean down(TextView widget, Spannable buffer) { method in class:ArrowKeyMovementMethod 247 // Capture the mouse pointer down location to ensure selection starts
|
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 | ScreenMagnifier.java | 418 // time and down time to prevent subsequent transformations being confused 419 // by stale events. After the cached events, which always have a down, are 420 // injected we need to also update the down time of all subsequent non cached 596 throw new IllegalStateException("Should have one pointer down."); 846 private void onActionTapAndHold(MotionEvent down, int policyFlags) { argument 853 down.getX(), down.getY(), true);
|
/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) { 197 static int32_t toggleLockedMetaState(int32_t mask, bool down, int32_t oldMetaState) { argument 198 if (down) { 205 int32_t updateMetaState(int32_t keyCode, bool down, int32_t oldMetaState) { argument 209 return setEphemeralMetaState(AMETA_ALT_LEFT_ON, down, oldMetaState); 211 return setEphemeralMetaState(AMETA_ALT_RIGHT_ON, down, oldMetaState); 213 return setEphemeralMetaState(AMETA_SHIFT_LEFT_ON, down, oldMetaState); 215 return setEphemeralMetaState(AMETA_SHIFT_RIGHT_ON, down, oldMetaState); 217 return setEphemeralMetaState(AMETA_SYM_ON, down, oldMetaStat [all...] |
H A D | KeyCharacterMap.cpp | 325 outEvents[i].getAction() == AKEY_EVENT_ACTION_DOWN ? "down" : "up"); 445 int32_t deviceId, int32_t keyCode, int32_t metaState, bool down, nsecs_t time) { 449 down ? AKEY_EVENT_ACTION_DOWN : AKEY_EVENT_ACTION_UP, 454 int32_t deviceId, int32_t metaState, bool down, nsecs_t time, 457 if (down) { 519 int32_t deviceId, int32_t metaState, bool down, nsecs_t time, 523 *currentMetaState = updateMetaState(keyCode, down, *currentMetaState); 524 addKey(outEvents, deviceId, keyCode, *currentMetaState, down, time); 531 int32_t deviceId, int32_t metaState, bool down, nsecs_t time, 537 specific |= addSingleEphemeralMetaKey(outEvents, deviceId, metaState, down, tim 444 addKey(Vector<KeyEvent>& outEvents, int32_t deviceId, int32_t keyCode, int32_t metaState, bool down, nsecs_t time) argument 453 addMetaKeys(Vector<KeyEvent>& outEvents, int32_t deviceId, int32_t metaState, bool down, nsecs_t time, int32_t* currentMetaState) argument 518 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 530 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/rs/java/tests/VrDemo/src/com/example/android/rs/vr/ |
H A D | VrView.java | 50 // private VrState mState4 = new VrState(); // for down sampled 362 protected Long doInBackground(Integer... down) { argument 367 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. 1183 // Remember stuff we will need down below 1335 // If the user's finger is down, select the motion position. 1766 * Scrolls up or down by the number of items currently present on screen. 2264 // we are too high, slide all views down t [all...] |
H A D | ListView.java | 169 // overridden by android:dividerHeight further down. 232 // we are too high, slide all views down to align with bottom 609 // need to MOVE DOWN to get it in view: move down just enough so 657 void fillGap(boolean down) { argument 659 if (down) { 681 * Fills the list from pos down to the end of the list view. 769 * down from there. This method forces mSelectedPosition to the center. 971 * Case 1: Scrolling down. 1343 * up and down from there. 1394 * everything back down [all...] |
H A D | AbsListView.java | 151 * Indicates we have waited for everything we can wait for, but the user's finger is still down 363 * The down scroll indicator 375 * The position of the view that received the down motion event 380 * The offset to the top of the mMotionPosition view when the down motion event was received 390 * The X value associated with the the down motion event 395 * The Y value associated with the the down motion event 2766 public void setScrollIndicators(View up, View down) { argument 2768 mScrollDown = down; 4545 // (e.g. finger moving down means list is moving towards the top) 4857 * scrolling down 5081 fillGap(boolean down) argument [all...] |
/frameworks/av/media/libstagefright/httplive/ |
H A D | LiveSession.cpp | 869 ALOGV("retry down switch at next sample"); 1256 If we're switching down, we need to decide whether to 1369 // switching down again. 2064 bool underflow, ready, down, up; local 2065 if (checkBuffering(underflow, ready, down, up)) { 2067 // Allow down switch even if we're still preparing. 2072 // as we have to do a down switch. It's better experience 2074 if (!switchBandwidthIfNeeded(false /* up */, down) && ready) { 2085 switchBandwidthIfNeeded(up, down); 2140 bool &underflow, bool &ready, bool &down, boo 2139 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. 965 bool down; member in struct:android::InputDispatcher::TouchState 967 int32_t deviceId; // id of the device that is currently down, others are rejected 968 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. 1174 bool down = maskedAction == AMOTION_EVENT_ACTION_DOWN; local 1175 if (switchedDevice && mTempTouchState.down && !down) { 1177 ALOGD("Dropping event because a pointer for a different device is already down."); 1185 mTempTouchState.down = down; 1193 /* Case 1: New splittable pointer going down, or need target for hover or scroll. */ 1282 /* Case 2: Pointer move, up, cancel or non-splittable pointer down [all...] |
H A D | InputReader.cpp | 172 // Returns true if the pointer should be reported as being down given the specified 2107 dump.appendFormat(INDENT3 "KeyDowns: %zu keys currently down\n", mKeyDowns.size()); 2211 void KeyboardInputMapper::processKey(nsecs_t when, bool down, int32_t keyCode, argument 2214 if (down) { 2220 // Add key down. 2226 // key down 2244 // Remove key down. 2251 // key was not actually down 2252 ALOGI("Dropping key up from device %s because the key was not down. " 2260 int32_t newMetaState = updateMetaState(keyCode, down, oldMetaStat 2538 bool down = isPointerDown(currentButtonState); local 4879 bool down = mPointerGesture.currentGestureMode == PointerGesture::TAP local 5391 bool down; local 5819 bool down, hovering; local 5854 bool down, hovering; local 5905 dispatchPointerSimple(nsecs_t when, uint32_t policyFlags, bool down, bool hovering) argument [all...] |
H A D | InputReader.h | 176 // to noise from a finger resting on the touch pad (perhaps just pressing it down). 180 // The time between down and up must be less than this to be considered a tap. 184 // The time between the previous tap's up and the next down must be less than 188 // Note that the previous tap will be held down for this entire duration so this 192 // The distance in pixels that the pointer is allowed to move from initial down 196 // Time after the first touch points go down to settle on an initial centroid. 197 // This is intended to be enough time to handle cases where the user puts down two 1131 Vector<KeyDown> mKeyDowns; // keys that are down 1133 nsecs_t mDownTime; // time of most recent key down 1157 void processKey(nsecs_t when, bool down, int32_ 1593 bool down; member in struct:android::TouchInputMapper::CurrentVirtualKeyState 1766 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. ... |