Home
last modified time | relevance | path

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

123456789

/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/
DTypeClassifier.java56 boolean up = isUp(); in calculateFalsingResult()
65 wrongDirection = !vertical || up; in calculateFalsingResult()
80 wrongDirection = !vertical || !up; in calculateFalsingResult()
83 wrongDirection = !right || !up; in calculateFalsingResult()
86 wrongDirection = right || !up; in calculateFalsingResult()
92 wrongDirection = !vertical || !up; in calculateFalsingResult()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/classifier/
DFalsingCollectorImplTest.java273 MotionEvent up = MotionEvent.obtain(0, 0, MotionEvent.ACTION_UP, 0, 0, 0); in testPassThroughGesture() local
280 mFalsingCollector.onTouchEvent(up); in testPassThroughGesture()
285 orderedCalls.verify(mFalsingDataProvider).onMotionEvent(up); in testPassThroughGesture()
291 MotionEvent up = MotionEvent.obtain(0, 0, MotionEvent.ACTION_DOWN, 0, 0, 0); in testAvoidGesture() local
299 mFalsingCollector.onTouchEvent(up); in testAvoidGesture()
306 MotionEvent up = MotionEvent.obtain(0, 0, MotionEvent.ACTION_UP, 0, 0, 0); in testIgnoreActionOutside() local
313 mFalsingCollector.onTouchEvent(up); in testIgnoreActionOutside()
314 verify(mFalsingDataProvider).onMotionEvent(up); in testIgnoreActionOutside()
321 MotionEvent up = MotionEvent.obtain(0, 0, MotionEvent.ACTION_UP, 0, 0, 0); in testAvoidUnlocked_sceneContainerDisabled() local
330 mFalsingCollector.onTouchEvent(up); in testAvoidUnlocked_sceneContainerDisabled()
[all …]
/frameworks/rs/tests/java_api/RsNbody/src/com/example/android/rs/nbody_gl/
Dnbody.rscript76 float4 up = {0, 0, 1, 0};
80 right = normalize(cross(normv, up));
81 up = normalize(cross(normv, right));
83 up *= TSIZE * 0.5f;
92 float4 p2 = p - normv + right + up;
94 float4 p3 = p - normv - right + up;
96 float4 p4 = p - normv - up * 2;
/frameworks/base/services/core/java/com/android/server/pm/
DShortcutLauncher.java107 final UserPackage up = pinnedPackages.get(i); in onRestoreBlocked() local
108 final ShortcutPackage p = mShortcutUser.getPackageShortcutsIfExists(up.packageName); in onRestoreBlocked()
137 final UserPackage up = UserPackage.of(packageUserId, packageName); in pinShortcuts() local
142 mPinnedShortcuts.remove(up); in pinShortcuts()
169 final ArraySet<String> prevSet = mPinnedShortcuts.get(up); in pinShortcuts()
177 mPinnedShortcuts.put(up, newSet); in pinShortcuts()
270 final UserPackage up = pinnedShortcuts.keyAt(i); in saveToXml() local
272 if (forBackup && (up.userId != getOwnerUserId())) { in saveToXml()
277 ShortcutService.writeAttr(out, ATTR_PACKAGE_NAME, up.packageName); in saveToXml()
278 ShortcutService.writeAttr(out, ATTR_PACKAGE_USER_ID, up.userId); in saveToXml()
[all …]
/frameworks/base/core/proto/android/app/
Dalarmmanager.proto32 // will wake up the device when it goes off.
35 // alarm does not wake the device up; if it goes off while the device is
36 // asleep, it will not be delivered until the next time the device wakes up.
39 // sleep), which will wake up the device when it goes off.
42 // sleep). This alarm does not wake the device up; if it goes off while the
44 // wakes up.
/frameworks/base/packages/SystemUI/compose/scene/tests/src/com/android/compose/animation/scene/
DDraggableHandlerTest.kt125 fun up(fractionOfScreen: Float) = in down() method
342 onDragStarted(horizontalDraggableHandler, overSlop = up(fractionOfScreen = 0.3f)) in <lambda>()
388 overSlop = up(fractionOfScreen = 0.1f) in <lambda>()
407 dragController.onDragDelta(pixels = up(fractionOfScreen = 0.3f)) in <lambda>()
427 val dragController1 = onDragStarted(overSlop = up(fractionOfScreen = 0.2f)) in <lambda>()
442 dragController2.onDragDelta(pixels = up(fractionOfScreen = 1f)) in <lambda>()
461 val dragController1 = onDragStarted(overSlop = up(fractionOfScreen = 0.2f)) in onAccelaratedScrollBothTargetsBecomeNull_settlesToIdle()
462 dragController1.onDragDelta(pixels = up(fractionOfScreen = 0.2f)) in onAccelaratedScrollBothTargetsBecomeNull_settlesToIdle()
473 dragController2.onDragDelta(pixels = up(fractionOfScreen = 0.5f)) in onAccelaratedScrollBothTargetsBecomeNull_settlesToIdle()
474 dragController2.onDragDelta(pixels = up(fractionOfScreen = 0.5f)) in onAccelaratedScrollBothTargetsBecomeNull_settlesToIdle()
[all …]
/frameworks/base/core/java/android/content/pm/
DUserPackage.java109 UserPackage up = sCache.get(userId, packageName); in of() local
110 if (up == null) { in of()
113 up = new UserPackage(userId, packageName); in of()
114 sCache.add(userId, packageName, up); in of()
116 return up; in of()
/frameworks/rs/tests/java_api/VrDemo/src/com/example/android/rs/vr/engine/
DViewMatrix.java212 double[] up = {0, 0, 1}; in main() local
218 v.setUpVector(up); in main()
280 double[] up = new double[3]; in look() local
284 VectorUtil.cross(zv, rv, up); in look()
285 VectorUtil.cross(zv, up, rv); in look()
286 VectorUtil.cross(zv, rv, up); in look()
287 mUpVector = up; in look()
300 double[] up = new double[3]; in lookAt() local
304 VectorUtil.cross(zv, rv, up); in lookAt()
305 VectorUtil.cross(zv, up, rv); in lookAt()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/dialog/
DQSZenModeDialogMetricsLogger.java65 public void logOnClickTimeButton(boolean up) { in logOnClickTimeButton() argument
66 super.logOnClickTimeButton(up); in logOnClickTimeButton()
67 mUiEventLogger.log(up in logOnClickTimeButton()
/frameworks/base/core/jni/android/opengl/
Dpoly_clip.cpp61 float *up, *vp, *wp; in poly_clip_to_halfspace() local
79 up = (float *)u; in poly_clip_to_halfspace()
82 for(int i = 0; i < 4; i++, wp++, up++, vp++) { in poly_clip_to_halfspace()
83 *wp = *up+t*(*vp-*up); in poly_clip_to_halfspace()
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/communal/ui/compose/extensions/
DPointerInputScopeExt.kt46 val up = withTimeoutOrNull(tapTimeout) { waitForUpOrCancellation(pass = pass) } in observeTaps() constant
47 if (up != null) { in observeTaps()
48 onTap(up.position) in observeTaps()
/frameworks/proto_logging/stats/atoms/kernel/
Dkernel_extension_atoms.proto53 // OOM victim's virtual memory, which was freed up after the process' death.
56 // OOM victim's anonymous RSS memory, which was freed up after the process' death.
59 // OOM victim's file-backed RSS memory, which was freed up after the process' death.
62 // OOM victim's shared RSS memory, which was freed up after the process' death.
/frameworks/base/core/java/android/net/
DINetworkManagementEventObserver.aidl34 void interfaceStatusChanged(String iface, boolean up); in interfaceStatusChanged() argument
43 void interfaceLinkStateChanged(String iface, boolean up); in interfaceLinkStateChanged() argument
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/notification/
DZenModeDialogMetricsLogger.java73 public void logOnClickTimeButton(boolean up) { in logOnClickTimeButton() argument
74 MetricsLogger.action(mContext, MetricsProto.MetricsEvent.QS_DND_TIME, up); in logOnClickTimeButton()
DZenDurationDialog.java300 protected void onClickTimeButton(View row, ConditionTag tag, boolean up, int rowId) { in onClickTimeButton() argument
307 int j = up ? i : N - 1 - i; in onClickTimeButton()
309 if (up && bucketMinutes > time || !up && bucketMinutes < time) { in onClickTimeButton()
321 mBucketIndex = Math.max(0, Math.min(N - 1, mBucketIndex + (up ? 1 : -1))); in onClickTimeButton()
/frameworks/base/core/java/com/android/server/net/
DBaseNetworkObserver.java37 public void interfaceStatusChanged(String iface, boolean up) { in interfaceStatusChanged() argument
57 public void interfaceLinkStateChanged(String iface, boolean up) { in interfaceLinkStateChanged() argument
/frameworks/native/services/sensorservice/
DFusion.cpp294 vec3_t up(mData[0]); in checkInitComplete() local
298 east = normalize(cross_product(mData[1], up)); in checkInitComplete()
300 east = getOrthogonal(up); in checkInitComplete()
303 vec3_t north(cross_product(up, east)); in checkInitComplete()
304 R << east << north << up; in checkInitComplete()
370 const vec3_t up( getRotationMatrix() * Ba ); in handleMag() local
371 const vec3_t east( cross_product(m, up) ); in handleMag()
383 vec3_t north( cross_product(up, east) ); in handleMag()
/frameworks/base/tests/Input/src/com/android/test/input/
DInputEventAssignerTest.kt121 val up = createKeyEvent(KeyEvent.ACTION_UP, 21) in testKeyEvent() constant
122 eventId = assigner.processEvent(up) in testKeyEvent()
124 assertEquals(up.id, eventId) in testKeyEvent()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DEventLogTags.logtags17 ## secure: 1: The user has set up a secure unlock method (PIN, password, etc.)
18 ## currentlyInsecure: 1: No secure unlock method set up (!secure), or trusted environment (TrustMan…
30 ## type: 1: SWIPE_UP_UNLOCK Swiped up to dismiss the lockscreen.
/frameworks/base/tests/CompanionDeviceMultiDeviceTests/
DREADME.md6 …op or other remote setups, use pontis to connect the devices on remote set up by running `pontis s…
11 To test on virtual devices, follow instructions to [set up netsim on cuttlefish](https://g3doc.corp…
/frameworks/proto_logging/stats/enums/stats/wm/
Denums.proto23 UNKNOWN = 0; // undefined during start up
24 ROTATION_0 = 1; // portrait up
/frameworks/base/packages/SystemUI/docs/device-entry/
Ddoze.md14 * Pulsing - waking up the screen to show notifications (from AOD and screen off)
16 * Wake-up gestures - including lift to wake and tap to wake (from AOD and screen off)
20 Device is asleep and listening for enabled pulsing and wake-up gesture triggers. In this state, no …
23 Device is asleep and not listening for any triggers to wake up. This state is used only when CAR_MO…
26 Device is asleep, showing UI, and listening for enabled pulsing and wake-up triggers. In this state…
35 Device is awake, showing docking UI and listening for enabled pulsing and wake-up triggers. The def…
39 ## Wake-up gestures
45 * Wake-up gestures
/frameworks/base/services/accessibility/java/com/android/server/accessibility/magnification/
DWindowMagnificationGestureHandler.java222 private void onTripleTap(MotionEvent up) { in onTripleTap() argument
226 toggleMagnification(up.getX(), up.getY(), in onTripleTap()
231 void onTripleTapAndHold(MotionEvent up) { in onTripleTapAndHold() argument
237 enableWindowMagnifier(up.getX(), up.getY(), in onTripleTapAndHold()
/frameworks/proto_logging/stats/enums/stats/sysui/
Dnotification_enums.proto27 IMPORTANCE_DEFAULT = 3; // Shows everywhere, makes noise, no heads-up.
28 IMPORTANCE_HIGH = 4; // Shows everywhere, makes noise, heads-up, may full-screen.
/frameworks/base/core/tests/coretests/src/android/widget/listview/
DListScrollListenerTest.java85 KeyEvent up = new KeyEvent(0, 0, KeyEvent.ACTION_UP, in testKeyScrolling() local
88 inst.sendKeySync(up); in testKeyScrolling()

123456789