/frameworks/native/cmds/installd/tests/ |
D | installd_cache_test.cpp | 79 static void touch(const char* path, int len, int time) { in touch() function 144 touch("com.example/normal", 1 * kMbInBytes, 60); in TEST_F() 147 touch("com.example/cache/foo/one", 1 * kMbInBytes, 60); in TEST_F() 148 touch("com.example/cache/foo/two", 2 * kMbInBytes, 120); in TEST_F() 166 touch("com.example/normal", 1 * kMbInBytes, 60); in TEST_F() 169 touch("com.example/cache/foo/one", 65 * kMbInBytes, 60); in TEST_F() 170 touch("com.example/cache/foo/two", 2 * kMbInBytes, 120); in TEST_F() 193 touch("com.example/normal", 1 * kMbInBytes, 60); in TEST_F() 196 touch("com.example/cache/foo/one", 65 * kMbInBytes, 60); in TEST_F() 197 touch("com.example/cache/foo/two", 2 * kMbInBytes, 120); in TEST_F() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/udfps/ |
D | SinglePointerTouchProcessor.kt | 92 private fun processActionMove(touch: PreprocessedTouch): TouchProcessorResult { in processActionMove() 93 val hadPointerOnSensor = touch.previousPointerOnSensorId != INVALID_POINTER_ID in processActionMove() 94 val hasPointerOnSensor = touch.pointersOnSensor.isNotEmpty() in processActionMove() 95 val pointerOnSensorId = touch.pointersOnSensor.firstOrNull() ?: INVALID_POINTER_ID in processActionMove() 98 val data = touch.data.find { it.pointerId == pointerOnSensorId } ?: NormalizedTouchData() in processActionMove() 102 touch.data.find { it.pointerId == touch.previousPointerOnSensorId } in processActionMove() 107 touch.data.find { it.pointerId == pointerOnSensorId } in processActionMove() 108 ?: touch.data.firstOrNull() ?: NormalizedTouchData() in processActionMove() 113 private fun processActionUp(touch: PreprocessedTouch, actionId: Int): TouchProcessorResult { in processActionUp() 115 return if (touch.pointersOnSensor.size == 1 && touch.pointersOnSensor.contains(actionId)) { in processActionUp() [all …]
|
/frameworks/base/packages/SystemUI/shared/biometrics/src/com/android/systemui/biometrics/ |
D | UdfpsUtils.java | 84 Point touch; in getTouchInNativeCoordinates() local 86 touch = getPortraitTouch(idx, event, udfpsOverlayParams); in getTouchInNativeCoordinates() 88 touch = new Point((int) event.getRawX(idx), (int) event.getRawY(idx)); in getTouchInNativeCoordinates() 93 touch.x = (int) (touch.x / scale); in getTouchInNativeCoordinates() 94 touch.y = (int) (touch.y / scale); in getTouchInNativeCoordinates() 95 return touch; in getTouchInNativeCoordinates() 118 Point touch; in isWithinSensorArea() local 120 touch = getPortraitTouch(idx, event, udfpsOverlayParams); in isWithinSensorArea() 122 touch = new Point((int) event.getRawX(idx), (int) event.getRawY(idx)); in isWithinSensorArea() 124 return udfpsOverlayParams.getSensorBounds().contains(touch.x, touch.y); in isWithinSensorArea()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ambient/touch/scrim/dagger/ |
D | ScrimModule.java | 17 package com.android.systemui.ambient.touch.scrim.dagger; 19 import com.android.systemui.ambient.touch.scrim.BouncerScrimController; 20 import com.android.systemui.ambient.touch.scrim.BouncerlessScrimController; 21 import com.android.systemui.ambient.touch.scrim.ScrimController;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ambient/touch/dagger/ |
D | InputSessionComponent.java | 17 package com.android.systemui.ambient.touch.dagger; 19 import static com.android.systemui.ambient.touch.dagger.AmbientTouchModule.INPUT_SESSION_NAME; 20 import static com.android.systemui.ambient.touch.dagger.AmbientTouchModule.PILFER_ON_GESTURE_CONSUM… 24 import com.android.systemui.ambient.touch.InputSession;
|
D | AmbientTouchComponent.kt | 16 package com.android.systemui.ambient.touch.dagger 20 import com.android.systemui.ambient.touch.TouchHandler 21 import com.android.systemui.ambient.touch.TouchMonitor
|
D | ShadeModule.java | 17 package com.android.systemui.ambient.touch.dagger; 21 import com.android.systemui.ambient.touch.ShadeTouchHandler; 22 import com.android.systemui.ambient.touch.TouchHandler;
|
D | BouncerSwipeModule.java | 17 package com.android.systemui.ambient.touch.dagger; 24 import com.android.systemui.ambient.touch.BouncerSwipeTouchHandler; 25 import com.android.systemui.ambient.touch.TouchHandler;
|
D | AmbientTouchModule.kt | 16 package com.android.systemui.ambient.touch.dagger 21 import com.android.systemui.ambient.touch.TouchHandler
|
D | InputSessionModule.java | 17 package com.android.systemui.ambient.touch.dagger; 19 import static com.android.systemui.ambient.touch.dagger.AmbientTouchModule.INPUT_SESSION_NAME;
|
/frameworks/proto_logging/stats/atoms/hardware/biometrics/ |
D | biometrics_atoms.proto | 28 * Reported once per touch event during fingerprint authentication and enrollment. 33 // Type of triggering touch event. 36 // Opaque identifier of the touch processor configuration. 42 // X coordinate of the touch. In pixels. In the coordinate space of the display in its natural 46 // Y coordinate of the touch. In pixels. In the coordinate space of the display in its natural 50 // The length of the minor axis of an ellipse that describes the touch area at the point of contact. 54 // The length of the major axis of an ellipse that describes the touch area at the point of contact. 58 // Orientation of the touch area in radians clockwise from vertical. 62 // The time when this touch was detected, in milliseconds since the system was booted. 65 // The time when the first touch in this gesture was detected, in milliseconds since the system was [all …]
|
/frameworks/proto_logging/stats/atoms/input/ |
D | input_atoms.proto | 52 * Logs basic timing information about touch events. 65 * kernel touch driver. On all other devices, the starting point is taken inside 78 // Number of touch events (input_event) in this report 100 // Start: the input event was created (touch events: the touch interrupt received in the driver) 119 // The end-to-end touch latency 120 // Start: the input event was created (touch events: the touch interrupt received in the driver) 131 * Logs gesture classification and timing information for touch events. 152 // The interval from the start of a touch event stream until the 156 // The distance from the location of the first touch event to the 157 // location of the touch event when the classification was made. [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/dreams/dagger/ |
D | DreamOverlayComponent.java | 25 import com.android.systemui.dreams.touch.CommunalTouchHandler; 26 import com.android.systemui.dreams.touch.dagger.CommunalTouchModule; 27 import com.android.systemui.touch.TouchInsetManager;
|
/frameworks/base/core/tests/coretests/src/android/os/ |
D | FileUtilsTest.java | 406 touch("file1", HOUR_IN_MILLIS); in testDeleteOlderTypical() 407 touch("file2", 1 * DAY_IN_MILLIS + HOUR_IN_MILLIS); in testDeleteOlderTypical() 408 touch("file3", 2 * DAY_IN_MILLIS + HOUR_IN_MILLIS); in testDeleteOlderTypical() 409 touch("file4", 3 * DAY_IN_MILLIS + HOUR_IN_MILLIS); in testDeleteOlderTypical() 410 touch("file5", 4 * DAY_IN_MILLIS + HOUR_IN_MILLIS); in testDeleteOlderTypical() 417 touch("file1", -HOUR_IN_MILLIS); in testDeleteOlderInFuture() 418 touch("file2", HOUR_IN_MILLIS); in testDeleteOlderInFuture() 419 touch("file3", WEEK_IN_MILLIS); in testDeleteOlderInFuture() 423 touch("file1", -HOUR_IN_MILLIS); in testDeleteOlderInFuture() 424 touch("file2", HOUR_IN_MILLIS); in testDeleteOlderInFuture() [all …]
|
/frameworks/base/services/core/java/com/android/server/display/ |
D | DisplayDeviceInfo.java | 388 public int touch; field in DisplayDeviceInfo 526 || touch != other.touch in diff() 572 touch = other.touch; in copyFrom() 615 sb.append(", touch ").append(touchToString(touch)); in toString() 648 private static String touchToString(int touch) { in touchToString() argument 649 switch (touch) { in touchToString() 659 return Integer.toString(touch); in touchToString()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ambient/touch/scrim/ |
D | ScrimManager.java | 17 package com.android.systemui.ambient.touch.scrim; 19 import static com.android.systemui.ambient.touch.scrim.dagger.ScrimModule.BOUNCERLESS_SCRIM_CONTROL… 20 import static com.android.systemui.ambient.touch.scrim.dagger.ScrimModule.BOUNCER_SCRIM_CONTROLLER;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ambient/dagger/ |
D | AmbientModule.kt | 20 import com.android.systemui.ambient.touch.dagger.AmbientTouchComponent 21 import com.android.systemui.ambient.touch.dagger.InputSessionComponent
|
/frameworks/base/core/tests/utiltests/src/com/android/internal/util/ |
D | FileRotatorTest.java | 221 touch("another_rotator.1024"); in testOtherFilesAndMalformed() 222 touch("another_rotator.1024-2048"); in testOtherFilesAndMalformed() 226 touch("rotator"); in testOtherFilesAndMalformed() 227 touch("rotator..."); in testOtherFilesAndMalformed() 228 touch("rotator.-"); in testOtherFilesAndMalformed() 229 touch("rotator.---"); in testOtherFilesAndMalformed() 230 touch("rotator.a-b"); in testOtherFilesAndMalformed() 231 touch("rotator_but_not_actually"); in testOtherFilesAndMalformed() 406 private void touch(String... names) throws IOException { in touch() method in FileRotatorTest
|
/frameworks/base/packages/SystemUI/docs/ |
D | falsing.md | 6 analyze touch events on the screen for intentional vs accidental behavior. With analysis, 12 The `FalsingManager` tracks all touch interactions happening on a phone's lock screen. 14 If you support any sort of touch gestures on the lock screen, you **must**, at a 15 minimum, inform the `FalsingManager` of what touches are on touch targets vs not (things that may be 19 Individual touch targets do not _have_ to be separated out; it's acceptable to 25 the `FalsingManager` that touch events were on touch targets, you can further use the 26 returned results to decide if you want to respond to an owner's touch, if you 28 touch. 34 * If no feature/touch target receives the `MotionEvents`, skip to 4. 35 3. Your touch target receives the `MotionEvents`. [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | AppIconDragShadowBuilder.java | 41 public void onProvideShadowMetrics(Point size, Point touch) { in onProvideShadowMetrics() argument 45 touch.set(mIconSize / 2, mIconSize * 2 / 3); in onProvideShadowMetrics()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/dreams/touch/ |
D | CommunalTouchHandler.java | 17 package com.android.systemui.dreams.touch; 29 import com.android.systemui.ambient.touch.TouchHandler; 31 import com.android.systemui.dreams.touch.dagger.CommunalTouchModule;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/ui/view/ |
D | MediaScrollView.kt | 107 var touch = false in onTouchEvent() variable 108 touchListener?.let { touch = it.onTouchEvent(ev) } in onTouchEvent() 109 return super.onTouchEvent(ev) || touch in onTouchEvent()
|
/frameworks/native/services/surfaceflinger/tests/unittests/ |
D | RefreshRateSelectorTest.cpp | 965 EXPECT_EQ(kMode90, selector.getBestFrameRateMode(layers, {.touch = true}).modePtr); in TEST_P() 970 EXPECT_EQ(kMode90, selector.getBestFrameRateMode(layers, {.touch = true}).modePtr); in TEST_P() 975 EXPECT_EQ(kMode90, selector.getBestFrameRateMode(layers, {.touch = true}).modePtr); in TEST_P() 980 EXPECT_EQ(kMode90, selector.getBestFrameRateMode(layers, {.touch = true}).modePtr); in TEST_P() 986 EXPECT_EQ(kMode90, selector.getBestFrameRateMode(layers, {.touch = true}).modePtr); in TEST_P() 1172 EXPECT_EQ(kMode90, selector.getBestFrameRateMode(layers, {.touch = true}).modePtr); in TEST_P() 1179 EXPECT_EQ(kMode90, selector.getBestFrameRateMode(layers, {.touch = true}).modePtr); in TEST_P() 1491 const auto result = selector.getRankedFrameRates(layers, {.touch = true}, 60_Hz); in TEST_P() 1501 EXPECT_FALSE(signals.touch); in TEST_P() 1503 std::tie(std::ignore, signals) = selector.getRankedRefreshRatesAsPair({}, {.touch = true}); in TEST_P() [all …]
|
/frameworks/base/tests/MultiDeviceInput/ |
D | README.md | 18 * Check whether stylus rejects touch in the same window 19 * (in the future) Check stylus and touch operation in the same window
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ambient/touch/ |
D | InputSession.java | 17 package com.android.systemui.ambient.touch; 19 import static com.android.systemui.ambient.touch.dagger.AmbientTouchModule.PILFER_ON_GESTURE_CONSUM…
|