/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 214 return setEphemeralMetaState(AMETA_ALT_LEFT_ON, down, oldMetaState); in updateMetaState() 216 return setEphemeralMetaState(AMETA_ALT_RIGHT_ON, down, oldMetaState); in updateMetaState() 218 return setEphemeralMetaState(AMETA_SHIFT_LEFT_ON, down, oldMetaState); in updateMetaState() 220 return setEphemeralMetaState(AMETA_SHIFT_RIGHT_ON, down, oldMetaState); in updateMetaState() 222 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()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/ |
D | DataConnection.java | 968 int down = 14; in makeNetworkCapabilities() local 970 case ServiceState.RIL_RADIO_TECHNOLOGY_GPRS: up = 80; down = 80; break; in makeNetworkCapabilities() 971 case ServiceState.RIL_RADIO_TECHNOLOGY_EDGE: up = 59; down = 236; break; in makeNetworkCapabilities() 972 case ServiceState.RIL_RADIO_TECHNOLOGY_UMTS: up = 384; down = 384; break; in makeNetworkCapabilities() 974 case ServiceState.RIL_RADIO_TECHNOLOGY_IS95B: up = 14; down = 14; break; in makeNetworkCapabilities() 975 case ServiceState.RIL_RADIO_TECHNOLOGY_EVDO_0: up = 153; down = 2457; break; in makeNetworkCapabilities() 976 case ServiceState.RIL_RADIO_TECHNOLOGY_EVDO_A: up = 1843; down = 3174; break; in makeNetworkCapabilities() 977 case ServiceState.RIL_RADIO_TECHNOLOGY_1xRTT: up = 100; down = 100; break; in makeNetworkCapabilities() 978 case ServiceState.RIL_RADIO_TECHNOLOGY_HSDPA: up = 2048; down = 14336; break; in makeNetworkCapabilities() 979 case ServiceState.RIL_RADIO_TECHNOLOGY_HSUPA: up = 5898; down = 14336; break; in makeNetworkCapabilities() [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 | 13 …er STA or AP mode is operational and controls the WifiStateMachine to handle bringup and shut down. 23 …teMachine: Tracks the various states on STA and AP connectivity and handles bring up and shut down.
|
/frameworks/base/docs/html/design/style/ |
D | devices-displays.jd | 53 down for the other buckets. Another approach is to start with the device with the largest screen 54 size, and then scale down and figure out the UI compromises you'll need to make on smaller screens.…
|
/frameworks/native/services/inputflinger/ |
D | InputReader.cpp | 2243 void KeyboardInputMapper::processKey(nsecs_t when, bool down, int32_t scanCode, in processKey() argument 2256 if (down) { in processKey() 2301 if (updateMetaStateIfNeeded(keyCode, down)) { in processKey() 2316 if (down && getDevice()->isExternal()) { in processKey() 2324 if (down && !isMetaKey(keyCode)) { in processKey() 2329 down ? AKEY_EVENT_ACTION_DOWN : AKEY_EVENT_ACTION_UP, in processKey() 2365 bool KeyboardInputMapper::updateMetaStateIfNeeded(int32_t keyCode, bool down) { in updateMetaStateIfNeeded() argument 2367 int32_t newMetaState = android::updateMetaState(keyCode, down, oldMetaState); in updateMetaStateIfNeeded() 2594 bool down = isPointerDown(currentButtonState); in sync() local 2596 if (!wasDown && down) { in sync() [all …]
|
/frameworks/base/docs/html/guide/topics/ui/ |
D | how-android-draws.jd | 39 and is a top-down traversal of the {@link android.view.View} tree. Each {@link android.view.View} 40 pushes dimension specifications down the tree 44 {@link android.view.View#layout(int,int,int,int)} and is also top-down. During 109 requirements down the tree from parent to
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | StatusBarWindowView.java | 199 boolean down = event.getAction() == KeyEvent.ACTION_DOWN; in dispatchKeyEvent() 202 if (!down) { in dispatchKeyEvent() 207 if (!down) { in dispatchKeyEvent() 211 if (!down) { in dispatchKeyEvent()
|
/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 | 44 protected boolean down(TextView widget, Spannable buffer) { in down() method in ScrollingMovementMethod
|
/frameworks/base/core/java/android/util/ |
D | DayOfMonthCursor.java | 120 public boolean down() { in down() method in DayOfMonthCursor
|
/frameworks/base/docs/html/tv/ |
D | index.jd | 53 <div class="landing-scroll-down-affordance"> 54 <a class="landing-down-arrow" href="#reimagine-your-app"> 55 <img src="{@docRoot}wear/images/carrot.png" alt="Scroll down to read more"> 265 $("a.landing-down-arrow").on("click", function(e) {
|
/frameworks/base/services/core/java/com/android/server/policy/ |
D | PhoneWindowManager.java | 3006 final boolean down = event.getAction() == KeyEvent.ACTION_DOWN; in interceptKeyBeforeDispatching() 3010 Log.d(TAG, "interceptKeyTi keyCode=" + keyCode + " down=" + down + " repeatCount=" in interceptKeyBeforeDispatching() 3029 if (!down) { in interceptKeyBeforeDispatching() 3054 if (!down) { in interceptKeyBeforeDispatching() 3122 if (down && repeatCount == 0) { in interceptKeyBeforeDispatching() 3146 if (down) { in interceptKeyBeforeDispatching() 3161 if (down && repeatCount == 0) { in interceptKeyBeforeDispatching() 3163 } else if (!down) { in interceptKeyBeforeDispatching() 3169 if (down) { in interceptKeyBeforeDispatching() 3181 if (down && repeatCount == 0) { in interceptKeyBeforeDispatching() [all …]
|
/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/docs/html/about/versions/ |
D | android-2.0.jd | 322 key-up, for a key-down/key-up pair, rather than key-down. This helps prevent 327 intercepting button events and taking an action on key-down, rather than on 333 key-down, rather than key-up, you should modify your code. </p> 342 event on key-down (through the new {@link android.view.KeyEvent#startTracking} 368 target button event on key-down, set a flag to track the key event, and
|