/frameworks/native/libs/input/ |
D | Keyboard.cpp | 170 static int32_t setEphemeralMetaState(int32_t mask, bool down, int32_t oldMetaState) { in setEphemeralMetaState() argument 172 if (down) { in setEphemeralMetaState() 202 static int32_t toggleLockedMetaState(int32_t mask, bool down, int32_t oldMetaState) { in toggleLockedMetaState() argument 203 if (down) { in toggleLockedMetaState() 210 int32_t updateMetaState(int32_t keyCode, bool down, int32_t oldMetaState) { in updateMetaState() argument 213 return setEphemeralMetaState(AMETA_ALT_LEFT_ON, down, oldMetaState); in updateMetaState() 215 return setEphemeralMetaState(AMETA_ALT_RIGHT_ON, down, oldMetaState); in updateMetaState() 217 return setEphemeralMetaState(AMETA_SHIFT_LEFT_ON, down, oldMetaState); in updateMetaState() 219 return setEphemeralMetaState(AMETA_SHIFT_RIGHT_ON, down, oldMetaState); in updateMetaState() 221 return setEphemeralMetaState(AMETA_SYM_ON, down, oldMetaState); in updateMetaState() [all …]
|
D | KeyCharacterMap.cpp | 487 int32_t deviceId, int32_t keyCode, int32_t metaState, bool down, nsecs_t time) { in addKey() argument 491 down ? AKEY_EVENT_ACTION_DOWN : AKEY_EVENT_ACTION_UP, in addKey() 496 int32_t deviceId, int32_t metaState, bool down, nsecs_t time, in addMetaKeys() argument 499 if (down) { in addMetaKeys() 561 int32_t deviceId, int32_t metaState, bool down, nsecs_t time, in addSingleEphemeralMetaKey() argument 565 *currentMetaState = updateMetaState(keyCode, down, *currentMetaState); in addSingleEphemeralMetaKey() 566 addKey(outEvents, deviceId, keyCode, *currentMetaState, down, time); in addSingleEphemeralMetaKey() 573 int32_t deviceId, int32_t metaState, bool down, nsecs_t time, in addDoubleEphemeralMetaKey() argument 579 specific |= addSingleEphemeralMetaKey(outEvents, deviceId, metaState, down, time, in addDoubleEphemeralMetaKey() 581 specific |= addSingleEphemeralMetaKey(outEvents, deviceId, metaState, down, time, in addDoubleEphemeralMetaKey() [all …]
|
/frameworks/base/core/tests/coretests/src/android/widget/espresso/ |
D | DragAction.java | 69 .down; 135 .down; 170 .down; 187 uiController, coordinates, precision).down; 222 .down; 367 .down; in performLongPress() 381 .down; in performDoubleTap() 394 return MotionEvents.sendDown(uiController, coordinates, precision).down; in performDoubleTap()
|
D | MouseClickAction.java | 78 if (!MotionEvents.sendUp(uiController, res.down)) { in sendSingleTap() 79 MotionEvents.sendCancel(uiController, res.down); in sendSingleTap() 83 res.down.recycle(); in sendSingleTap()
|
/frameworks/native/include/input/ |
D | KeyCharacterMap.h | 246 int32_t deviceId, int32_t keyCode, int32_t metaState, bool down, nsecs_t time); 248 int32_t deviceId, int32_t metaState, bool down, nsecs_t time, 251 int32_t deviceId, int32_t metaState, bool down, nsecs_t time, 255 int32_t deviceId, int32_t metaState, bool down, nsecs_t time,
|
D | Keyboard.h | 88 extern int32_t updateMetaState(int32_t keyCode, bool down, int32_t oldMetaState);
|
/frameworks/base/tests/touchlag/ |
D | touchlag.cpp | 151 down = event.value == -1 ? 0 : 1; in threadLoop() 152 first_down = down; in threadLoop() 166 int x, y, down; member in TouchEvents::EventThread 168 x(0), y(0), down(0) in EventThread() 184 return thread->down; in getMostRecentPosition()
|
/frameworks/base/core/tests/coretests/src/android/widget/gridview/ |
D | GridScrollListenerTest.java | 78 KeyEvent down = new KeyEvent(0, 0, KeyEvent.ACTION_DOWN, in testKeyScrolling() local 82 inst.sendKeySync(down); in testKeyScrolling()
|
/frameworks/base/core/tests/coretests/src/android/widget/listview/ |
D | ListScrollListenerTest.java | 75 KeyEvent down = new KeyEvent(0, 0, KeyEvent.ACTION_DOWN, in testKeyScrolling() local 79 inst.sendKeySync(down); in testKeyScrolling()
|
/frameworks/base/services/accessibility/java/com/android/server/accessibility/ |
D | GestureUtils.java | 15 public static boolean isTap(MotionEvent down, MotionEvent up, int tapTimeSlop, in isTap() argument 17 return eventsWithinTimeAndDistanceSlop(down, up, tapTimeSlop, tapDistanceSlop, actionIndex); in isTap()
|
D | MagnificationGestureHandler.java | 822 private void onActionTapAndHold(MotionEvent down, int policyFlags) { in onActionTapAndHold() argument 832 mMagnificationController.setScaleAndCenter(scale, down.getX(), down.getY(), true, in onActionTapAndHold()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/ |
D | DataConnection.java | 955 int down = 14; in getNetworkCapabilities() local 957 case ServiceState.RIL_RADIO_TECHNOLOGY_GPRS: up = 80; down = 80; break; in getNetworkCapabilities() 958 case ServiceState.RIL_RADIO_TECHNOLOGY_EDGE: up = 59; down = 236; break; in getNetworkCapabilities() 959 case ServiceState.RIL_RADIO_TECHNOLOGY_UMTS: up = 384; down = 384; break; in getNetworkCapabilities() 961 case ServiceState.RIL_RADIO_TECHNOLOGY_IS95B: up = 14; down = 14; break; in getNetworkCapabilities() 962 case ServiceState.RIL_RADIO_TECHNOLOGY_EVDO_0: up = 153; down = 2457; break; in getNetworkCapabilities() 963 case ServiceState.RIL_RADIO_TECHNOLOGY_EVDO_A: up = 1843; down = 3174; break; in getNetworkCapabilities() 964 case ServiceState.RIL_RADIO_TECHNOLOGY_1xRTT: up = 100; down = 100; break; in getNetworkCapabilities() 965 case ServiceState.RIL_RADIO_TECHNOLOGY_HSDPA: up = 2048; down = 14336; break; in getNetworkCapabilities() 966 case ServiceState.RIL_RADIO_TECHNOLOGY_HSUPA: up = 5898; down = 14336; break; in getNetworkCapabilities() [all …]
|
/frameworks/base/core/tests/coretests/src/android/util/ |
D | DayOfMonthCursorTest.java | 137 assertFalse(mc.down()); in testMoveDown() 143 assertTrue(mc.down()); in testMoveDown()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | README.txt | 29 …er STA or AP mode is operational and controls the WifiStateMachine to handle bringup and shut down. 39 …teMachine: Tracks the various states on STA and AP connectivity and handles bring up and shut down.
|
/frameworks/native/services/inputflinger/ |
D | InputReader.cpp | 2294 void KeyboardInputMapper::processKey(nsecs_t when, bool down, int32_t scanCode, in processKey() argument 2307 if (down) { in processKey() 2352 if (updateMetaStateIfNeeded(keyCode, down)) { in processKey() 2367 if (down && getDevice()->isExternal()) { in processKey() 2376 down ? AKEY_EVENT_ACTION_DOWN : AKEY_EVENT_ACTION_UP, in processKey() 2412 bool KeyboardInputMapper::updateMetaStateIfNeeded(int32_t keyCode, bool down) { in updateMetaStateIfNeeded() argument 2414 int32_t newMetaState = android::updateMetaState(keyCode, down, oldMetaState); in updateMetaStateIfNeeded() 2674 bool down = isPointerDown(currentButtonState); in sync() local 2676 if (!wasDown && down) { in sync() 2679 } else if (wasDown && !down) { in sync() [all …]
|
/frameworks/base/core/java/android/util/ |
D | DayOfMonthCursor.java | 120 public boolean down() { in down() method in DayOfMonthCursor
|
/frameworks/base/core/java/android/text/method/ |
D | LinkMovementMethod.java | 70 protected boolean down(TextView widget, Spannable buffer) { in down() method in LinkMovementMethod 75 return super.down(widget, buffer); in down()
|
D | ScrollingMovementMethod.java | 45 protected boolean down(TextView widget, Spannable buffer) { in down() method in ScrollingMovementMethod
|
/frameworks/base/services/core/java/com/android/server/policy/ |
D | PhoneWindowManager.java | 3308 final boolean down = event.getAction() == KeyEvent.ACTION_DOWN; in interceptKeyBeforeDispatching() 3312 Log.d(TAG, "interceptKeyTi keyCode=" + keyCode + " down=" + down + " repeatCount=" in interceptKeyBeforeDispatching() 3331 if (!down) { in interceptKeyBeforeDispatching() 3352 if (!down) { in interceptKeyBeforeDispatching() 3358 if (!down) { in interceptKeyBeforeDispatching() 3383 if (!down) { in interceptKeyBeforeDispatching() 3388 mAccessibilityTvKey2Pressed = down; in interceptKeyBeforeDispatching() 3446 mAccessibilityTvKey2Pressed = down; in interceptKeyBeforeDispatching() 3461 if (down && repeatCount == 0) { in interceptKeyBeforeDispatching() 3470 if (down) { in interceptKeyBeforeDispatching() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | StatusBarWindowView.java | 221 boolean down = event.getAction() == KeyEvent.ACTION_DOWN; in dispatchKeyEvent() 224 if (!down) { in dispatchKeyEvent() 229 if (!down) { in dispatchKeyEvent() 233 if (!down) { in dispatchKeyEvent()
|
/frameworks/base/services/core/jni/ |
D | com_android_server_tv_TvUinputBridge.cpp | 210 static void nativeSendKey(JNIEnv* env, jclass clazz, jlong ptr, jint keyCode, jboolean down) { in nativeSendKey() argument 214 connection->sendEvent(EV_KEY, code, down ? 1 : 0); in nativeSendKey()
|
/frameworks/base/services/core/java/com/android/server/tv/ |
D | UinputBridge.java | 39 private static native void nativeSendKey(long ptr, int keyCode, boolean down); in nativeSendKey() argument
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | EventLogTags.logtags | 31 ## 2: SWIPE_DOWN_FULL_SHADE Swiped down to enter full shade.
|
/frameworks/rs/script_api/ |
D | rs_time.spec | 51 Data structure for broken-down time components.
|
/frameworks/support/wear/tests/src/android/support/wear/widget/util/ |
D | ArcSwipe.java | 126 precision).down; in sendArcSwipe()
|