Searched defs:down (Results 1 - 24 of 24) sorted by relevance

/frameworks/base/core/java/android/text/method/
H A DScrollingMovementMethod.java44 protected boolean down(TextView widget, Spannable buffer) { method in class:ScrollingMovementMethod
H A DArrowKeyMovementMethod.java99 protected boolean down(TextView widget, Spannable buffer) { method in class:ArrowKeyMovementMethod
H A DLinkMovementMethod.java70 protected boolean down(TextView widget, Spannable buffer) { method in class:LinkMovementMethod
75 return super.down(widget, buffer);
H A DBaseMovementMethod.java145 * 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 DDayOfMonthCursor.java26 * <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 DGestureUtils.java15 public static boolean isTap(MotionEvent down, MotionEvent up, int tapTimeSlop, argument
17 return eventsWithinTimeAndDistanceSlop(down, up, tapTimeSlop, tapDistanceSlop, actionIndex);
H A DMagnificationGestureHandler.java223 // time and down time to prevent subsequent transformations being confused
224 // by stale events. After the cached events, which always have a down, are
225 // injected we need to also update the down time of all subsequent non cached
470 throw new IllegalStateException("Should have one pointer down.");
738 private void onActionTapAndHold(MotionEvent down, int policyFlags) { argument
748 mMagnificationController.setScaleAndCenter(scale, down.getX(), down.getY(), true,
/frameworks/base/services/core/java/com/android/server/tv/
H A DUinputBridge.java39 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 DKeyboard.cpp170 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
214 return setEphemeralMetaState(AMETA_ALT_LEFT_ON, down, oldMetaState);
216 return setEphemeralMetaState(AMETA_ALT_RIGHT_ON, down, oldMetaState);
218 return setEphemeralMetaState(AMETA_SHIFT_LEFT_ON, down, oldMetaState);
220 return setEphemeralMetaState(AMETA_SHIFT_RIGHT_ON, down, oldMetaState);
222 return setEphemeralMetaState(AMETA_SYM_ON, down, oldMetaStat
[all...]
H A DKeyCharacterMap.cpp325 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 Dcom_android_server_tv_TvUinputBridge.cpp210 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 Dtouchlag.cpp151 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 DSystemGesturesPointerEventListener.java163 " down pointerIndex=" + pointerIndex + " trackingIndex=" + i);
169 " down x=" + mDownX[i] + " y=" + mDownY[i]);
244 public boolean onFling(MotionEvent down, MotionEvent up, argument
/frameworks/rs/java/tests/VrDemo/src/com/example/android/rs/vr/
H A DVrView.java50 // 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 DGridView.java250 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.
1754 * Scrolls up or down by the number of items currently present on screen.
2252 // we are too high, slide all views down t
[all...]
H A DListView.java171 // overridden by android:dividerHeight further down.
234 // we are too high, slide all views down to align with bottom
611 // need to MOVE DOWN to get it in view: move down just enough so
659 void fillGap(boolean down) { argument
661 if (down) {
683 * Fills the list from pos down to the end of the list view.
771 * down from there. This method forces mSelectedPosition to the center.
973 * Case 1: Scrolling down.
1389 * up and down from there.
1440 * everything back down
[all...]
H A DAbsListView.java152 * Indicates we have waited for everything we can wait for, but the user's finger is still down
364 * The down scroll indicator
376 * The position of the view that received the down motion event
381 * The offset to the top of the mMotionPosition view when the down motion event was received
391 * The X value associated with the the down motion event
396 * The Y value associated with the the down motion event
2846 public void setScrollIndicators(View up, View down) { argument
2848 mScrollDown = down;
4707 // (e.g. finger moving down means list is moving towards the top)
5019 * scrolling down
5244 fillGap(boolean down) argument
[all...]
/frameworks/av/media/libstagefright/httplive/
H A DLiveSession.cpp869 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 DInputDispatcher.h130 /* 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 DInputDispatcher.cpp249 // 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.
1176 bool down = maskedAction == AMOTION_EVENT_ACTION_DOWN; local
1177 if (switchedDevice && mTempTouchState.down && !down) {
1179 ALOGD("Dropping event because a pointer for a different device is already down.");
1187 mTempTouchState.down = down;
1195 /* Case 1: New splittable pointer going down, or need target for hover or scroll. */
1288 /* Case 2: Pointer move, up, cancel or non-splittable pointer down
[all...]
H A DInputReader.cpp172 // Returns true if the pointer should be reported as being down given the specified
2137 dump.appendFormat(INDENT3 "KeyDowns: %zu keys currently down\n", mKeyDowns.size());
2235 void KeyboardInputMapper::processKey(nsecs_t when, bool down, int32_t scanCode, argument
2248 if (down) {
2254 // Add key down.
2260 // key down
2278 // Remove key down.
2285 // key was not actually down
2286 ALOGI("Dropping key up from device %s because the key was not down. "
2293 if (updateMetaStateIfNeeded(keyCode, down)) {
2357 updateMetaStateIfNeeded(int32_t keyCode, bool down) argument
2586 bool down = isPointerDown(currentButtonState); local
5030 bool down = mPointerGesture.currentGestureMode == PointerGesture::TAP local
5544 bool down; local
5984 bool down, hovering; local
6019 bool down, hovering; local
6073 dispatchPointerSimple(nsecs_t when, uint32_t policyFlags, bool down, bool hovering) argument
[all...]
H A DInputReader.h176 // 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
1139 Vector<KeyDown> mKeyDowns; // keys that are down
1141 nsecs_t mDownTime; // time of most recent key down
1165 void processKey(nsecs_t when, bool down, int32_
1623 bool down; member in struct:android::TouchInputMapper::CurrentVirtualKeyState
1796 bool down; member in struct:android::TouchInputMapper::PointerSimple
[all...]
/frameworks/ex/common/java/com/android/ex/editstyledtext/
H A DEditStyledText.java2401 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 Ddatabinding-studio-bundle.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/databinding/Bindable.class Bindable. ...

Completed in 527 milliseconds