Home
last modified time | relevance | path

Searched refs:getFrame (Results 1 – 15 of 15) sorted by relevance

/cts/tests/framework/base/windowmanager/src/android/server/wm/animations/
DDialogFrameTests.java114 assertEquals(getParentFrameWithInsets(parent), dialog.getFrame()); in testMatchParentDialog()
137 assertEquals(expectedFrame, dialog.getFrame()); in testExplicitSizeDefaultGravity()
153 assertEquals(expectedFrame, dialog.getFrame()); in testExplicitSizeTopLeftGravity()
169 assertEquals(expectedFrame, dialog.getFrame()); in testExplicitSizeBottomRightGravity()
183 assertEquals(getParentFrameWithInsets(parent), dialog.getFrame())); in testOversizedDimensions()
206 assertEquals(expectedFrame, dialog.getFrame()); in testOversizedDimensionsNoLimits()
218 assertEquals(getParentFrameWithInsets(parent), dialog.getFrame())); in testExplicitPositionMatchParent()
232 assertEquals(expectedFrame, dialog.getFrame()); in testExplicitPositionMatchParentNoLimits()
268 assertEquals(expectedFrame, dialog.getFrame()); in testMarginsArePercentagesOfContentFrame()
286 Rect parentFrame = parent.getFrame(); in getParentFrameWithInsets()
DBlurTests.java579 return new Rect(mWmState.getMatchingVisibleWindowState(windowName).get(0).getFrame()); in getFloatingWindowFrame()
DSplashscreenTests.java225 appBounds = new Rect(startingWindow.getFrame()); in testSplashScreenColor()
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/
DAnimationDrawableTest.java122 assertSame(mAnimationDrawable.getFrame(FIRST_FRAME_INDEX), mAnimationDrawable.getCurrent()); in testSetVisible()
146 assertSame(mAnimationDrawable.getFrame(FIRST_FRAME_INDEX), in testStart()
210 Drawable frame = mAnimationDrawable.getFrame(FIRST_FRAME_INDEX); in testGetFrame()
215 frame = mAnimationDrawable.getFrame(SECOND_FRAME_INDEX); in testGetFrame()
220 frame = mAnimationDrawable.getFrame(THIRD_FRAME_INDEX); in testGetFrame()
225 assertNull(mAnimationDrawable.getFrame(THIRD_FRAME_INDEX + 1)); in testGetFrame()
230 mAnimationDrawable.getFrame(-1); in testGetFrameTooLow()
235 mAnimationDrawable.getFrame(10); in testGetFrameTooHigh()
303 assertSame(dr.getFrame(0), dr.getCurrent()); in testInflateCorrect()
368 final Drawable expected = mAnimationDrawable.getFrame(index); in pollingCheckDrawable()
[all …]
/cts/tests/framework/base/windowmanager/src/android/server/wm/other/
DCompatScaleTests.java360 mWindowStateNormal.getFrame(), in test_windowState_inCompatDownscalingMode()
361 equalTo(mWindowStateDownscaled.getFrame())); in test_windowState_inCompatDownscalingMode()
402 mWindowStateNormal.getFrame(), in test_windowState_inCompatUpscalingMode()
403 equalTo(mWindowStateUpscaled.getFrame())); in test_windowState_inCompatUpscalingMode()
DKeepClearRectsTests.java744 rectInScreenSpace.offset(windowState.getFrame().left, windowState.getFrame().top); in getRectsInScreenSpace()
/cts/tests/framework/base/windowmanager/src/android/server/wm/window/
DHideOverlayWindowsTest.java197 Rect appOverlayActivityFrame = mWmState.getWindowState(componentName).getFrame(); in testSystemApplicationOverlayAllowsTouchWithoutObscured()
221 Rect appOverlayActivityFrame = mWmState.getWindowState(componentName).getFrame(); in testApplicationOverlay_touchIsObscuredWithoutCorrectPermission()
/cts/tests/tests/media/decoder/src/android/media/decoder/cts/
DAdaptivePlaybackTest.java1136 Media.Frame frame = media.getFrame(frameIx);
1337 public Frame getFrame(int ix) {
1415 Frame frame = getFrame(frameIx);
1567 long firstPTS = media.getFrame(0).presentationTimeUs;
/cts/tests/framework/base/windowmanager/src/android/server/wm/input/
DWindowUntrustedTouchTest.java707 state -> state.findFirstWindowWithType(LayoutParams.TYPE_TOAST).getFrame()); in testWhenSelfTextToastWindow_allowsTouch()
725 state -> state.findFirstWindowWithType(LayoutParams.TYPE_TOAST).getFrame()); in testWhenTextToastWindow_allowsTouch()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/
DRVCVXCheckAnalyzer.java854 while ((frame = videoDecoder.getFrame(ts)) !=null) { in analyzeVideo()
1221 public Mat getFrame(long ts[]) { in getFrame() method in RVCVXCheckAnalyzer.VideoDecoderForOpenCV
/cts/tests/framework/base/windowmanager/src/android/server/wm/insets/
DWindowInsetsTest.java140 assertEquals(new Size(FRAME_SIZE, FRAME_SIZE), insets.getFrame()); in testBuilder()
234 assertEquals(new Size(FRAME_SIZE, FRAME_SIZE), insets.getFrame()); in testBuilder_producesImmutableWindowInsets()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/its/
DPreviewRecorder.java548 void getFrame(OutputStream outputStream) throws ItsException { in getFrame() method in PreviewRecorder
DItsService.java3378 pr.getFrame(outputStream);
3471 pr.getFrame(outputStream);
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/
DWindowManagerState.java2340 public Rect getFrame() {
2494 Rect getFrame() {
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/
Dcurrent.txt17389 method public android.graphics.drawable.Drawable getFrame(int);
54313 …Api("android.view.flags.customizable_window_headers") @NonNull public android.util.Size getFrame();