/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/screenshot/ |
D | ScrollCaptureControllerTest.java | 17 package com.android.systemui.screenshot; 38 import com.android.systemui.screenshot.ScrollCaptureClient.Session; 63 ScrollCaptureController.LongScreenshot screenshot = in testInfinite() local 66 assertEquals("top", -90, screenshot.getTop()); in testInfinite() 67 assertEquals("bottom", 160, screenshot.getBottom()); in testInfinite() 71 float topPortion = abs(screenshot.getTop()) / abs((float) screenshot.getBottom()); in testInfinite() 89 ScrollCaptureController.LongScreenshot screenshot = in testInfiniteWithPartialResultsTop() local 103 assertEquals("top", -85, screenshot.getTop()); in testInfiniteWithPartialResultsTop() 104 assertEquals("bottom", 210, screenshot.getBottom()); in testInfiniteWithPartialResultsTop() 117 ScrollCaptureController.LongScreenshot screenshot = in testInfiniteWithPartialResultsBottom() local [all …]
|
D | DeleteScreenshotReceiverTest.java | 17 package com.android.systemui.screenshot; 19 import static com.android.systemui.screenshot.ScreenshotController.ACTION_TYPE_DELETE; 20 import static com.android.systemui.screenshot.ScreenshotController.EXTRA_ID; 21 import static com.android.systemui.screenshot.ScreenshotController.EXTRA_SMART_ACTIONS_ENABLED; 22 import static com.android.systemui.screenshot.ScreenshotController.SCREENSHOT_URI_ID;
|
D | SmartActionsReceiverTest.java | 17 package com.android.systemui.screenshot; 19 import static com.android.systemui.screenshot.ScreenshotController.EXTRA_ACTION_TYPE; 20 import static com.android.systemui.screenshot.ScreenshotController.EXTRA_ID;
|
D | ActionProxyReceiverTest.java | 17 package com.android.systemui.screenshot; 19 import static com.android.systemui.screenshot.ScreenshotController.ACTION_TYPE_SHARE; 20 import static com.android.systemui.screenshot.ScreenshotController.EXTRA_ID; 21 import static com.android.systemui.screenshot.ScreenshotController.EXTRA_SMART_ACTIONS_ENABLED;
|
D | ScrollCaptureClientTest.java | 17 package com.android.systemui.screenshot; 40 import com.android.systemui.screenshot.ScrollCaptureClient.CaptureResult; 41 import com.android.systemui.screenshot.ScrollCaptureClient.Session;
|
/frameworks/native/services/surfaceflinger/tests/ |
D | LayerTypeTransaction_test.cpp | 63 std::unique_ptr<ScreenCapture> screenshot; in TEST_P() local 68 ScreenCapture::captureLayers(&screenshot, captureArgs); in TEST_P() 69 screenshot->expectColor(Rect(0, 0, 32, 32), Color::BLUE); in TEST_P() 97 std::unique_ptr<ScreenCapture> screenshot; in TEST_P() local 98 ScreenCapture::captureScreen(&screenshot); in TEST_P() 99 screenshot->expectColor(Rect(0, 0, 20, 30), Color::RED); in TEST_P() 107 std::unique_ptr<ScreenCapture> screenshot; in TEST_P() local 108 ScreenCapture::captureScreen(&screenshot); in TEST_P() 109 screenshot->expectColor(Rect(0, 0, 20, 30), Color::BLACK); in TEST_P() 144 std::unique_ptr<ScreenCapture> screenshot; in TEST_P() local [all …]
|
D | MirrorLayer_test.cpp | 80 auto shot = screenshot(); in TEST_F() 91 auto shot = screenshot(); in TEST_F() 102 auto shot = screenshot(); in TEST_F() 113 auto shot = screenshot(); in TEST_F() 124 auto shot = screenshot(); in TEST_F() 135 auto shot = screenshot(); in TEST_F() 146 auto shot = screenshot(); in TEST_F() 169 auto shot = screenshot(); in TEST_F() 179 auto shot = screenshot(); in TEST_F() 189 auto shot = screenshot(); in TEST_F() [all …]
|
D | LayerUpdate_test.cpp | 241 mCapture = screenshot(); in SetUp() 262 mCapture = screenshot(); in TEST_F() 274 mCapture = screenshot(); in TEST_F() 293 mCapture = screenshot(); in TEST_F() 308 mCapture = screenshot(); in TEST_F() 323 mCapture = screenshot(); in TEST_F() 333 mCapture = screenshot(); in TEST_F() 350 mCapture = screenshot(); in TEST_F() 360 mCapture = screenshot(); in TEST_F() 380 mCapture = screenshot(); in TEST_F() [all …]
|
D | DereferenceSurfaceControl_test.cpp | 40 auto shot = screenshot(); in SetUp() 58 auto shot = screenshot(); in TEST_F() 68 auto shot = screenshot(); in TEST_F()
|
D | EffectLayer_test.cpp | 64 auto shot = screenshot(); in TEST_F() 85 auto shot = screenshot(); in TEST_F() 109 auto shot = screenshot(); in TEST_F() 139 auto shot = screenshot(); in TEST_F() 157 auto shot = screenshot(); in TEST_F()
|
/frameworks/base/tests/SurfaceViewBufferTests/src/com/android/test/ |
D | SurfaceTracingTestBase.kt | 92 val screenshot = instrumentation.getUiAutomation().takeScreenshot() in <lambda>() constant 93 val pixels = IntArray(screenshot.width * screenshot.height) in <lambda>() 94 screenshot.getPixels(pixels, 0, screenshot.width, 0, 0, screenshot.width, screenshot.height) in <lambda>() 97 val actualColor = pixels[j * screenshot.width + i] in <lambda>() 103 screenshot.compress(Bitmap.CompressFormat.PNG, 100, out) in <lambda>()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/ |
D | ActionProxyReceiver.java | 17 package com.android.systemui.screenshot; 21 import static com.android.systemui.screenshot.ScreenshotController.ACTION_TYPE_EDIT; 22 import static com.android.systemui.screenshot.ScreenshotController.ACTION_TYPE_SHARE; 23 import static com.android.systemui.screenshot.ScreenshotController.EXTRA_ACTION_INTENT; 24 import static com.android.systemui.screenshot.ScreenshotController.EXTRA_DISALLOW_ENTER_PIP; 25 import static com.android.systemui.screenshot.ScreenshotController.EXTRA_ID; 26 import static com.android.systemui.screenshot.ScreenshotController.EXTRA_SMART_ACTIONS_ENABLED;
|
D | DeleteScreenshotReceiver.java | 17 package com.android.systemui.screenshot; 19 import static com.android.systemui.screenshot.ScreenshotController.ACTION_TYPE_DELETE; 20 import static com.android.systemui.screenshot.ScreenshotController.EXTRA_ID; 21 import static com.android.systemui.screenshot.ScreenshotController.EXTRA_SMART_ACTIONS_ENABLED; 22 import static com.android.systemui.screenshot.ScreenshotController.SCREENSHOT_URI_ID;
|
D | SmartActionsReceiver.java | 17 package com.android.systemui.screenshot; 19 import static com.android.systemui.screenshot.LogConfig.DEBUG_ACTIONS; 20 import static com.android.systemui.screenshot.ScreenshotController.EXTRA_ACTION_INTENT; 21 import static com.android.systemui.screenshot.ScreenshotController.EXTRA_ACTION_TYPE; 22 import static com.android.systemui.screenshot.ScreenshotController.EXTRA_ID;
|
D | TakeScreenshotService.java | 17 package com.android.systemui.screenshot; 23 import static com.android.systemui.screenshot.LogConfig.DEBUG_CALLBACK; 24 import static com.android.systemui.screenshot.LogConfig.DEBUG_DISMISS; 25 import static com.android.systemui.screenshot.LogConfig.DEBUG_SERVICE; 26 import static com.android.systemui.screenshot.LogConfig.logTag; 208 Bitmap screenshot = BitmapUtil.bundleToHardwareBitmap( in handleMessage() local 216 if (screenshot == null) { in handleMessage() 222 mScreenshot.handleImageAsScreenshot(screenshot, screenBounds, insets, in handleMessage()
|
D | ScreenshotController.java | 17 package com.android.systemui.screenshot; 24 import static com.android.systemui.screenshot.LogConfig.DEBUG_ANIM; 25 import static com.android.systemui.screenshot.LogConfig.DEBUG_CALLBACK; 26 import static com.android.systemui.screenshot.LogConfig.DEBUG_DISMISS; 27 import static com.android.systemui.screenshot.LogConfig.DEBUG_INPUT; 28 import static com.android.systemui.screenshot.LogConfig.DEBUG_UI; 29 import static com.android.systemui.screenshot.LogConfig.DEBUG_WINDOW; 30 import static com.android.systemui.screenshot.LogConfig.logTag; 90 import com.android.systemui.screenshot.ScreenshotController.SavedImageData.ActionTransition; 91 import com.android.systemui.screenshot.TakeScreenshotService.RequestCallback; [all …]
|
D | ScreenshotNotificationSmartActionsProvider.java | 17 package com.android.systemui.screenshot; 19 import static com.android.systemui.screenshot.LogConfig.DEBUG_ACTIONS; 20 import static com.android.systemui.screenshot.LogConfig.logTag;
|
D | ScreenshotSmartActions.java | 17 package com.android.systemui.screenshot; 21 import static com.android.systemui.screenshot.LogConfig.DEBUG_ACTIONS; 22 import static com.android.systemui.screenshot.LogConfig.logTag; 23 import static com.android.systemui.screenshot.ScreenshotNotificationSmartActionsProvider.Screenshot…
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/dagger/ |
D | DefaultBroadcastReceiverBinder.java | 24 import com.android.systemui.screenshot.ActionProxyReceiver; 25 import com.android.systemui.screenshot.DeleteScreenshotReceiver; 26 import com.android.systemui.screenshot.SmartActionsReceiver;
|
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/ |
D | UiAutomatorBridge.java | 109 Bitmap screenshot = mUiAutomation.takeScreenshot(); in takeScreenshot() local 110 if (screenshot == null) { in takeScreenshot() 117 screenshot.compress(Bitmap.CompressFormat.PNG, quality, bos); in takeScreenshot() 131 screenshot.recycle(); in takeScreenshot()
|
/frameworks/base/core/tests/coretests/src/com/android/internal/view/ |
D | OWNERS | 2 per-file *ScrollCapture*.java = file:/packages/SystemUI/src/com/android/systemui/screenshot/OWNERS 3 per-file *CaptureHelper*.java = file:/packages/SystemUI/src/com/android/systemui/screenshot/OWNERS
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/dagger/ |
D | ScreenshotModule.java | 17 package com.android.systemui.screenshot.dagger; 21 import com.android.systemui.screenshot.TakeScreenshotService;
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | AssistDataRequester.java | 103 default void onAssistScreenshotReceivedLocked(Bitmap screenshot) { in onAssistScreenshotReceivedLocked() argument 380 public void onHandleAssistScreenshot(Bitmap screenshot) { in onHandleAssistScreenshot() argument 390 dispatchAssistScreenshotReceived(screenshot); in onHandleAssistScreenshot() 394 mAssistScreenshot.add(screenshot); in onHandleAssistScreenshot() 411 private void dispatchAssistScreenshotReceived(Bitmap screenshot) { in dispatchAssistScreenshotReceived() argument 412 mCallbacks.onAssistScreenshotReceivedLocked(screenshot); in dispatchAssistScreenshotReceived()
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | ScreenshotTests.java | 108 Bitmap screenshot = hardwareBuffer.asBitmap(); in testScreenshotSecureLayers() local 109 assertNotNull(screenshot); in testScreenshotSecureLayers() 111 Bitmap swBitmap = screenshot.copy(Bitmap.Config.ARGB_8888, false); in testScreenshotSecureLayers() 112 screenshot.recycle(); in testScreenshotSecureLayers()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | AssistDataReceiverProxy.java | 67 public void onAssistScreenshotReceivedLocked(Bitmap screenshot) { in onAssistScreenshotReceivedLocked() argument 70 mReceiver.onHandleAssistScreenshot(screenshot); in onAssistScreenshotReceivedLocked()
|