Home
last modified time | relevance | path

Searched refs:down (Results 1 – 25 of 213) sorted by relevance

123456789

/frameworks/native/libs/input/
DKeyboard.cpp170 static int32_t setEphemeralMetaState(int32_t mask, bool down, int32_t oldMetaState) { in setEphemeralMetaState() argument
172 if (down) { in setEphemeralMetaState()
197 static int32_t toggleLockedMetaState(int32_t mask, bool down, int32_t oldMetaState) { in toggleLockedMetaState() argument
198 if (down) { in toggleLockedMetaState()
205 int32_t updateMetaState(int32_t keyCode, bool down, int32_t oldMetaState) { in updateMetaState() argument
209 return setEphemeralMetaState(AMETA_ALT_LEFT_ON, down, oldMetaState); in updateMetaState()
211 return setEphemeralMetaState(AMETA_ALT_RIGHT_ON, down, oldMetaState); in updateMetaState()
213 return setEphemeralMetaState(AMETA_SHIFT_LEFT_ON, down, oldMetaState); in updateMetaState()
215 return setEphemeralMetaState(AMETA_SHIFT_RIGHT_ON, down, oldMetaState); in updateMetaState()
217 return setEphemeralMetaState(AMETA_SYM_ON, down, oldMetaState); in updateMetaState()
[all …]
DKeyCharacterMap.cpp445 int32_t deviceId, int32_t keyCode, int32_t metaState, bool down, nsecs_t time) { in addKey() argument
449 down ? AKEY_EVENT_ACTION_DOWN : AKEY_EVENT_ACTION_UP, in addKey()
454 int32_t deviceId, int32_t metaState, bool down, nsecs_t time, in addMetaKeys() argument
457 if (down) { in addMetaKeys()
519 int32_t deviceId, int32_t metaState, bool down, nsecs_t time, in addSingleEphemeralMetaKey() argument
523 *currentMetaState = updateMetaState(keyCode, down, *currentMetaState); in addSingleEphemeralMetaKey()
524 addKey(outEvents, deviceId, keyCode, *currentMetaState, down, time); in addSingleEphemeralMetaKey()
531 int32_t deviceId, int32_t metaState, bool down, nsecs_t time, in addDoubleEphemeralMetaKey() argument
537 specific |= addSingleEphemeralMetaKey(outEvents, deviceId, metaState, down, time, in addDoubleEphemeralMetaKey()
539 specific |= addSingleEphemeralMetaKey(outEvents, deviceId, metaState, down, time, in addDoubleEphemeralMetaKey()
[all …]
/frameworks/testing/espresso/espresso-lib/src/main/java/com/google/android/apps/common/testing/ui/espresso/action/
DTap.java42 if (!MotionEvents.sendUp(uiController, res.down)) { in sendTap()
44 MotionEvents.sendCancel(uiController, res.down); in sendTap()
48 res.down.recycle(); in sendTap()
61 MotionEvent downEvent = MotionEvents.sendDown(uiController, coordinates, precision).down; in sendTap()
DMotionEvents.java240 public final MotionEvent down; field in MotionEvents.DownResultHolder
243 DownResultHolder(MotionEvent down, boolean longPress) { in DownResultHolder() argument
244 this.down = down; in DownResultHolder()
/frameworks/base/tests/touchlag/
Dtouchlag.cpp151 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()
254 int x=0, y=0, down=0; in main() local
/frameworks/native/include/input/
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,
DKeyboard.h88 extern int32_t updateMetaState(int32_t keyCode, bool down, int32_t oldMetaState);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DStatusBarWindowView.java122 boolean down = event.getAction() == KeyEvent.ACTION_DOWN; in dispatchKeyEvent()
125 if (!down) { in dispatchKeyEvent()
130 if (!down) { in dispatchKeyEvent()
134 if (!down) { in dispatchKeyEvent()
/frameworks/base/core/tests/coretests/src/android/widget/gridview/
DGridScrollListenerTest.java78 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/
DListScrollListenerTest.java75 KeyEvent down = new KeyEvent(0, 0, KeyEvent.ACTION_DOWN, in testKeyScrolling() local
79 inst.sendKeySync(down); in testKeyScrolling()
/frameworks/rs/scriptc/
Drs_time.rsh38 * Data structure for broken-down time components.
78 * Converts the time specified by @p timer into broken-down time and stores it
82 * @param local Broken-down time.
85 * @return Pointer to broken-down time (same as input @p local).
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DGestureUtils.java15 public static boolean isTap(MotionEvent down, MotionEvent up, int tapTimeSlop, in isTap() argument
17 return eventsWithinTimeAndDistanceSlop(down, up, tapTimeSlop, tapDistanceSlop, actionIndex); in isTap()
/frameworks/base/docs/html/design/building-blocks/
Dgrid-lists.jd40 left-to-right and top-down. When displaying the list, cut off the items in the bottom row to
41 communicate that the user can scroll the list down to show additional items. Be sure to retain this
57 scrolling lists, the sorting changes slightly to a top-down and left-to-right arrangement. Employ
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DDataConnection.java947 int down = 14; in makeNetworkCapabilities() local
949 case ServiceState.RIL_RADIO_TECHNOLOGY_GPRS: up = 80; down = 80; break; in makeNetworkCapabilities()
950 case ServiceState.RIL_RADIO_TECHNOLOGY_EDGE: up = 59; down = 236; break; in makeNetworkCapabilities()
951 case ServiceState.RIL_RADIO_TECHNOLOGY_UMTS: up = 384; down = 384; break; in makeNetworkCapabilities()
953 case ServiceState.RIL_RADIO_TECHNOLOGY_IS95B: up = 14; down = 14; break; in makeNetworkCapabilities()
954 case ServiceState.RIL_RADIO_TECHNOLOGY_EVDO_0: up = 153; down = 2457; break; in makeNetworkCapabilities()
955 case ServiceState.RIL_RADIO_TECHNOLOGY_EVDO_A: up = 1843; down = 3174; break; in makeNetworkCapabilities()
956 case ServiceState.RIL_RADIO_TECHNOLOGY_1xRTT: up = 100; down = 100; break; in makeNetworkCapabilities()
957 case ServiceState.RIL_RADIO_TECHNOLOGY_HSDPA: up = 2048; down = 14336; break; in makeNetworkCapabilities()
958 case ServiceState.RIL_RADIO_TECHNOLOGY_HSUPA: up = 5898; down = 14336; break; in makeNetworkCapabilities()
[all …]
/frameworks/base/core/tests/coretests/src/android/util/
DDayOfMonthCursorTest.java137 assertFalse(mc.down()); in testMoveDown()
143 assertTrue(mc.down()); in testMoveDown()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DREADME.txt13 …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/
Ddevices-displays.jd42 down for the other buckets. Another approach is to start with the device with the largest screen
43 size, and then scale down and figure out the UI compromises you'll need to make on smaller screens.…
/frameworks/native/services/inputflinger/
DInputReader.cpp2116 void KeyboardInputMapper::processKey(nsecs_t when, bool down, int32_t keyCode, in processKey() argument
2119 if (down) { in processKey()
2162 int32_t newMetaState = updateMetaState(keyCode, down, oldMetaState); in processKey()
2176 if (down && getDevice()->isExternal()) { in processKey()
2188 if (down && !isMetaKey(keyCode)) { in processKey()
2193 down ? AKEY_EVENT_ACTION_DOWN : AKEY_EVENT_ACTION_UP, in processKey()
2440 bool down = isPointerDown(currentButtonState); in sync() local
2442 if (!wasDown && down) { in sync()
2445 } else if (wasDown && !down) { in sync()
2510 pointerCoords.setAxisValue(AMOTION_EVENT_AXIS_PRESSURE, down ? 1.0f : 0.0f); in sync()
[all …]
/frameworks/base/core/java/android/util/
DDayOfMonthCursor.java120 public boolean down() { in down() method in DayOfMonthCursor
/frameworks/testing/espresso/espresso-lib-tests/src/androidTest/java/com/google/android/apps/common/testing/ui/espresso/base/
DEventInjectorTest.java139 MotionEvent down = MotionEvent.obtain(SystemClock.uptimeMillis(), in testInjectMotionEvent_securityException()
146 injector.injectMotionEvent(down); in testInjectMotionEvent_securityException()
/frameworks/base/docs/html/guide/topics/ui/
Dhow-android-draws.jd39 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/core/java/android/text/method/
DLinkMovementMethod.java70 protected boolean down(TextView widget, Spannable buffer) { in down() method in LinkMovementMethod
75 return super.down(widget, buffer); in down()
/frameworks/base/docs/html/tv/
Dindex.jd48 <div class="landing-scroll-down-affordance">
49 <a class="landing-down-arrow" href="#reimagine-your-app">
50 <img src="{@docRoot}wear/images/carrot.png" alt="Scroll down to read more">
248 $("a.landing-down-arrow").on("click", function(e) {
/frameworks/base/docs/html/tools/help/
Dmonkey.jd20 <p>The Monkey includes a number of options, but they break down into four primary
100 <td>Inserts a fixed delay between events. You can use this option to slow down the Monkey.
107 (Touch events are a down-up event in a single place on the screen.)</td>
113 (Motion events consist of a down event somewhere on the screen, a series of pseudo-random
126 (Navigation events consist of up/down/left/right, as input from a directional input device.)</td>
240 <!-- TODO: add a section that lays down a contract for Monkey output so it can be
/frameworks/base/policy/src/com/android/internal/policy/impl/
DPhoneWindowManager.java2154 final boolean down = event.getAction() == KeyEvent.ACTION_DOWN; in interceptKeyBeforeDispatching()
2158 Log.d(TAG, "interceptKeyTi keyCode=" + keyCode + " down=" + down + " repeatCount=" in interceptKeyBeforeDispatching()
2176 if (!down) { in interceptKeyBeforeDispatching()
2197 if (!down) { in interceptKeyBeforeDispatching()
2282 if (down && repeatCount == 0) { in interceptKeyBeforeDispatching()
2306 if (down) { in interceptKeyBeforeDispatching()
2321 if (down && repeatCount == 0) { in interceptKeyBeforeDispatching()
2323 } else if (!down) { in interceptKeyBeforeDispatching()
2329 if (down) { in interceptKeyBeforeDispatching()
2349 if (!down) { in interceptKeyBeforeDispatching()
[all …]

123456789