Home
last modified time | relevance | path

Searched refs:captured (Results 1 – 25 of 27) sorted by relevance

12

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/screenshot/scroll/
DFakeSessionTest.java90 assertEquals("captured top", 0, result.captured.top); in testCaptureAtZero()
91 assertEquals("captured bottom", 10, result.captured.bottom); in testCaptureAtZero()
110 assertEquals("captured top", 90, result.captured.top); in testCaptureAtPageBottom()
111 assertEquals("captured bottom", 100, result.captured.bottom); in testCaptureAtPageBottom()
130 assertEquals("captured top", -100, result.captured.top); in testCaptureFromPreviousPage()
131 assertEquals("captured bottom", -90, result.captured.bottom); in testCaptureFromPreviousPage()
150 assertEquals("captured top", 150, result.captured.top); in testCaptureFromNextPage()
151 assertEquals("captured bottom", 160, result.captured.bottom); in testCaptureFromNextPage()
170 assertEquals("captured top", -100, result.captured.top); in testCaptureTopPartiallyUnavailable()
171 assertEquals("captured bottom", -75, result.captured.bottom); in testCaptureTopPartiallyUnavailable()
[all …]
DScrollCaptureClientTest.java107 assertEquals(result.requested, result.captured); in testDetectAndConnect()
/frameworks/base/core/tests/coretests/src/com/android/internal/widget/
DActionBarOverlayLayoutTest.java114 assertThat(mContentInsetsListener.captured, nullValue()); in topInset_consumedCutout_stable()
119 assertThat(mContentInsetsListener.captured, is(insetsWith(TOP_INSET_25, CONSUMED_CUTOUT))); in topInset_consumedCutout_stable()
126 assertThat(mContentInsetsListener.captured, nullValue()); in topInset_consumedCutout_notStable()
130 assertThat(mContentInsetsListener.captured, is(insetsWith(Insets.NONE, CONSUMED_CUTOUT))); in topInset_consumedCutout_notStable()
138 assertThat(mContentInsetsListener.captured, nullValue()); in topInset_noCutout_stable()
143 assertThat(mContentInsetsListener.captured, is(insetsWith(TOP_INSET_25, NO_CUTOUT))); in topInset_noCutout_stable()
150 assertThat(mContentInsetsListener.captured, nullValue()); in topInset_noCutout_notStable()
154 assertThat(mContentInsetsListener.captured, is(insetsWith(Insets.NONE, NO_CUTOUT))); in topInset_noCutout_notStable()
162 assertThat(mContentInsetsListener.captured, nullValue()); in topInset_cutout_stable()
167 assertThat(mContentInsetsListener.captured, is(insetsWith(TOP_INSET_25, CUTOUT_5))); in topInset_cutout_stable()
[all …]
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DNotificationShellCmdTest.java136 final Notification captured = captureNotification(aTag); in testBasic() local
137 assertEquals(aText, captured.extras.getString(Notification.EXTRA_TEXT)); in testBasic()
138 assertEquals(aTitle, captured.extras.getString(Notification.EXTRA_TITLE)); in testBasic()
146 final Notification captured = captureNotification(aTag); in testIcon() local
147 final Icon icon = captured.getSmallIcon(); in testIcon()
161 final Notification captured = captureNotification(aTag); in testBigText() local
162 assertSame(captured.getNotificationStyle(), Notification.BigTextStyle.class); in testBigText()
163 assertEquals(aText, captured.extras.getString(Notification.EXTRA_TEXT)); in testBigText()
164 assertEquals(bigText, captured.extras.getString(Notification.EXTRA_BIG_TEXT)); in testBigText()
176 final Notification captured = captureNotification(aTag); in testBigPicture() local
[all …]
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/ambient/touch/
DShadeTouchHandlerTest.java88 final boolean captured = swipe(Direction.DOWN); in testSwipeDown_captured()
90 assertThat(captured).isTrue(); in testSwipeDown_captured()
96 final boolean captured = swipe(Direction.UP); in testSwipeUp_notCaptured()
99 assertThat(captured).isFalse(); in testSwipeUp_notCaptured()
178 final boolean captured = mGestureListenerCaptor.getValue().onScroll(event1, event2, 0, in swipe()
181 return captured; in swipe()
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/scroll/
DScrollCaptureClient.java140 public final Rect captured; field in ScrollCaptureClient.CaptureResult
142 CaptureResult(Image image, Rect request, Rect captured) { in CaptureResult() argument
145 this.captured = captured; in CaptureResult()
153 + ", captured=" + captured in toString()
154 + " (" + captured.width() + "x" + captured.height() + ")" in toString()
DScrollCaptureController.java248 boolean emptyResult = result.captured.height() == 0; in onCaptureResult()
283 if (mImageTileSet.getHeight() + result.captured.height() in onCaptureResult()
297 mImageTileSet.addTile(new ImageTile(result.image, result.captured)); in onCaptureResult()
/frameworks/base/core/tests/coretests/src/android/view/
DTestScrollCaptureCallback.java88 void completeImageRequest(Rect captured) { in completeImageRequest() argument
91 mImageOnComplete.accept(captured); in completeImageRequest()
/frameworks/base/services/core/java/com/android/server/recoverysystem/
DRecoverySystemShellCommand.java95 boolean captured = mService.isLskfCaptured(packageName); in isLskfCaptured()
97 pw.printf("%s LSKF capture status: %s\n", packageName, captured ? "true" : "false"); in isLskfCaptured()
DRecoverySystemService.java1049 boolean captured; in isLskfCaptured()
1051 captured = mCallerPreparedForReboot.contains(packageName); in isLskfCaptured()
1054 if (!captured) { in isLskfCaptured()
/frameworks/libs/systemui/viewcapturelib/src/com/android/app/viewcapture/
DViewCapture.java311 ViewRef captured = mViewRef.next;
312 if (captured != null) {
313 captured.callback = mCaptureCallback;
314 captured.elapsedRealtimeNanos = SystemClock.elapsedRealtimeNanos();
315 mBgExecutor.execute(captured);
/frameworks/native/libs/binder/tests/parcel_fuzzer/binder2corpus/
DREADME.md18 Use inspect command of record_binder to check if there are some transactions captured.
/frameworks/proto_logging/stats/atoms/framework/
Dframework_extension_atoms.proto298 // UID of the package that is captured if selected.
350 * Logs when the region captured in the MediaProjection session changes.
352 * This may be due to a the user changing the region, or the captured app changing
366 // The area that is being captured.
373 // UID of the package that is captured by MediaProjection.
385 // Enum that represents the type of area that is being captured.
394 // Windowing mode of the captured task, if the user chose to capture
/frameworks/proto_logging/stats/atoms/providers/mediaprovider/
Drollback_extension_atoms.proto67 // Volume for which status is captured
/frameworks/proto_logging/stats/enums/wear/media/
Denums.proto38 // insteractions captured by wear media controls. For more information, see
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/
DLockSettingsStorageTests.java497 TerribleFailure[] captured = new TerribleFailure[1]; in suppressAndReturnWtf() local
498 TerribleFailureHandler prevWtfHandler = Log.setWtfHandler((t, w, s) -> captured[0] = w); in suppressAndReturnWtf()
504 return captured[0]; in suppressAndReturnWtf()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/docs/
Dtesting.md25 and SurfaceFlinger traces captured during the run.
/frameworks/base/tests/Camera2Tests/SmartCamera/
DREADME.txt39 to be captured by changing the number on the spinner (between 1-10).
/frameworks/base/core/proto/android/app/
Dtime_zone_detector.proto89 // This information is only captured / reported for some devices based on the
/frameworks/av/drm/libmediadrm/protos/
Dmetrics.proto22 // This message contains the specific metrics captured by DrmMetrics. It is
/frameworks/proto_logging/stats/atoms/telephony/
Dtelephony_extension_atoms.proto73 // sources of the captured emergency number.
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DSwipeHelper.java372 final boolean captured = (mIsSwiping || mLongPressSent || mMenuRowIntercepting); in onInterceptTouchEvent()
378 if (captured) return true; in onInterceptTouchEvent()
/frameworks/proto_logging/stats/atoms/autofill/
Dautofill_extension_atoms.proto226 * Logs FieldClassification event. This event is captured after the request
/frameworks/base/proto/src/
Dsystem_messages.proto34 // Notify the user that a screenshot was captured.
/frameworks/proto_logging/stats/atoms/credentials/
Dcredentials_extension_atoms.proto63 * that are captured in the flow.

12