Searched refs:down (Results 1 - 25 of 38) sorted by relevance

12

/frameworks/native/libs/input/
H A DKeyboard.cpp170 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 DKeyCharacterMap.cpp325 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/core/tests/coretests/src/android/widget/gridview/
H A DGridScrollListenerTest.java78 KeyEvent down = new KeyEvent(0, 0, KeyEvent.ACTION_DOWN,
82 inst.sendKeySync(down);
/frameworks/base/core/tests/coretests/src/android/widget/listview/
H A DListScrollListenerTest.java75 KeyEvent down = new KeyEvent(0, 0, KeyEvent.ACTION_DOWN,
79 inst.sendKeySync(down);
/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;
254 int x=0, y=0, down=0; local
/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);
/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/native/include/input/
H A DKeyCharacterMap.h235 int32_t deviceId, int32_t keyCode, int32_t metaState, bool down, nsecs_t time);
237 int32_t deviceId, int32_t metaState, bool down, nsecs_t time,
240 int32_t deviceId, int32_t metaState, bool down, nsecs_t time,
244 int32_t deviceId, int32_t metaState, bool down, nsecs_t time,
H A DKeyboard.h88 extern int32_t updateMetaState(int32_t keyCode, bool down, int32_t oldMetaState);
/frameworks/base/core/tests/coretests/src/android/util/
H A DDayOfMonthCursorTest.java136 // down, same month
137 assertFalse(mc.down());
142 // down, next month
143 assertTrue(mc.down());
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DStatusBarWindowView.java168 boolean down = event.getAction() == KeyEvent.ACTION_DOWN;
171 if (!down) {
176 if (!down) {
180 if (!down) {
219 // wake up on a touch down event, if dozing
/frameworks/base/core/java/android/text/method/
H A DScrollingMovementMethod.java44 protected boolean down(TextView widget, Spannable buffer) { method in class:ScrollingMovementMethod
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...]
H A DArrowKeyMovementMethod.java100 protected boolean down(TextView widget, Spannable buffer) { method in class:ArrowKeyMovementMethod
247 // Capture the mouse pointer down location to ensure selection starts
/frameworks/native/services/inputflinger/
H A DInputReader.cpp172 // 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 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.
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...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
H A DDataConnection.java969 int down = 14;
971 case ServiceState.RIL_RADIO_TECHNOLOGY_GPRS: up = 80; down = 80; break;
972 case ServiceState.RIL_RADIO_TECHNOLOGY_EDGE: up = 59; down = 236; break;
973 case ServiceState.RIL_RADIO_TECHNOLOGY_UMTS: up = 384; down = 384; break;
975 case ServiceState.RIL_RADIO_TECHNOLOGY_IS95B: up = 14; down = 14; break;
976 case ServiceState.RIL_RADIO_TECHNOLOGY_EVDO_0: up = 153; down = 2457; break;
977 case ServiceState.RIL_RADIO_TECHNOLOGY_EVDO_A: up = 1843; down = 3174; break;
978 case ServiceState.RIL_RADIO_TECHNOLOGY_1xRTT: up = 100; down = 100; break;
979 case ServiceState.RIL_RADIO_TECHNOLOGY_HSDPA: up = 2048; down = 14336; break;
980 case ServiceState.RIL_RADIO_TECHNOLOGY_HSUPA: up = 5898; down
[all...]
/frameworks/rs/api/
H A Drs_time.spec51 Data structure for broken-down time components.
/frameworks/base/media/java/android/media/session/
H A DMediaSessionLegacyHelper.java184 boolean down = keyEvent.getAction() == KeyEvent.ACTION_DOWN;
199 if (down || up) {
221 if (down && keyEvent.getRepeatCount() == 0) {
379 Log.e(TAG, "Error sending media key down event:", e);
380 // Don't bother sending up if down failed
/frameworks/base/services/core/java/com/android/server/policy/
H A DPhoneWindowManager.java2632 final boolean down = event.getAction() == KeyEvent.ACTION_DOWN;
2636 Log.d(TAG, "interceptKeyTi keyCode=" + keyCode + " down=" + down + " repeatCount="
2641 // If we think we might have a volume down & power key chord on the way
2655 if (!down) {
2662 // Cancel any pending meta actions if we see any other keys being pressed between the down
2676 if (!down) {
2753 if (down && repeatCount == 0) {
2777 if (down) {
2792 if (down
[all...]
/frameworks/av/media/libstagefright/httplive/
H A DLiveSession.h300 bool checkBuffering(bool &underflow, bool &ready, bool &down, bool &up);
/frameworks/base/core/java/android/widget/
H A DListView.java169 // 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 DScrollView.java503 * whether the user has moved far enough from his original down touch.
508 * of the down event.
512 // If we don't have a valid id, the touch down wasn't on content.
551 * Remember location of down touch.
986 * <p>Handles scrolling in response to a "page up/down" shortcut press. This
987 * method will scroll the view by one page up or down and give the focus
994 * {@link android.view.View#FOCUS_DOWN} to go one page down
998 boolean down = direction == View.FOCUS_DOWN;
1001 if (down) {
1034 boolean down
[all...]
/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) {

Completed in 2408 milliseconds

12