Home
last modified time | relevance | path

Searched refs:initialSize (Results 1 – 5 of 5) sorted by relevance

/cts/tests/framework/base/windowmanager/src/android/server/wm/multidisplay/
DMultiDisplayPolicyTests.java165 final SizeInfo initialSize = getLastReportedSizesForActivity(RESIZEABLE_ACTIVITY); in testDisplayResize() local
193 assertTrue(updatedSize.widthDp <= initialSize.widthDp); in testDisplayResize()
194 assertTrue(updatedSize.heightDp <= initialSize.heightDp); in testDisplayResize()
195 assertTrue(updatedSize.displayWidth == initialSize.displayWidth / 2); in testDisplayResize()
196 assertTrue(updatedSize.displayHeight == initialSize.displayHeight / 2); in testDisplayResize()
215 final SizeInfo initialSize = resizeableActivitySession.getConfigInfo().sizeInfo; in testRotationNotAffectingSecondaryScreen() local
217 assertNotNull("Test activity must have reported initial size on launch", initialSize); in testRotationNotAffectingSecondaryScreen()
221 rotateAndCheckSameSizes(rotationSession, resizeableActivitySession, initialSize); in testRotationNotAffectingSecondaryScreen()
234 + " display", initialSize, testActivitySize); in testRotationNotAffectingSecondaryScreen()
238 ActivitySession activitySession, SizeInfo initialSize) { in rotateAndCheckSameSizes() argument
[all …]
/cts/tests/tests/widget/src/android/widget/cts/
DRemoteViewsSizeMapTest.java124 private void applyRemoteViewOnUiThread(SizeF initialSize) { in applyRemoteViewOnUiThread() argument
125 mResult = mRemoteViews.apply(mContext, null, null, initialSize); in applyRemoteViewOnUiThread()
138 private void applyRemoteView(SizeF initialSize) throws Throwable { in applyRemoteView() argument
139 mActivityRule.runOnUiThread(() -> applyRemoteViewOnUiThread(initialSize)); in applyRemoteView()
DTextViewTest.java7989 float initialSize = 0; in testAutoSizeCallers_setText() local
7998 initialSize = expectedLargerSize; in testAutoSizeCallers_setText()
8008 assertTrue(initialSize > autoSizeTextView.getTextSize()); in testAutoSizeCallers_setText()
8010 initialSize = Integer.MAX_VALUE; in testAutoSizeCallers_setText()
8018 initialSize = expectedSmallerSize; in testAutoSizeCallers_setText()
8028 assertTrue(autoSizeTextView.getTextSize() > initialSize); in testAutoSizeCallers_setText()
8309 float initialSize = 0; in testAutoSizeCallers_setMaxLines() local
8316 initialSize = expectedSmallerSize; in testAutoSizeCallers_setMaxLines()
8323 assertTrue(initialSize < autoSizeTextView.getTextSize()); in testAutoSizeCallers_setMaxLines()
8325 initialSize = Integer.MAX_VALUE; in testAutoSizeCallers_setMaxLines()
[all …]
/cts/tests/surfacecontrol/src/android/view/cts/util/
DSurfaceControlViewHostHelper.java67 long delayMs, Size initialSize) { in SurfaceControlViewHostHelper() argument
72 mInitialSize = initialSize; in SurfaceControlViewHostHelper()
/cts/tests/framework/base/windowmanager/src/android/server/wm/display/
DAppConfigurationTests.java764 final SizeInfo initialSize = activitySession.getConfigInfo().sizeInfo; in testFixedOrientationWhenRotating() local
776 assertEquals("Sizes must not be changed", initialSize, currentSize); in testFixedOrientationWhenRotating()