Home
last modified time | relevance | path

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

/cts/tests/framework/base/windowmanager/src/android/server/wm/
DMultiDisplayPolicyTests.java158 final SizeInfo initialSize = getLastReportedSizesForActivity(RESIZEABLE_ACTIVITY); in testDisplayResize() local
186 assertTrue(updatedSize.widthDp <= initialSize.widthDp); in testDisplayResize()
187 assertTrue(updatedSize.heightDp <= initialSize.heightDp); in testDisplayResize()
188 assertTrue(updatedSize.displayWidth == initialSize.displayWidth / 2); in testDisplayResize()
189 assertTrue(updatedSize.displayHeight == initialSize.displayHeight / 2); in testDisplayResize()
208 final SizeInfo initialSize = resizeableActivitySession.getConfigInfo().sizeInfo; in testRotationNotAffectingSecondaryScreen() local
210 assertNotNull("Test activity must have reported initial size on launch", initialSize); in testRotationNotAffectingSecondaryScreen()
214 rotateAndCheckSameSizes(rotationSession, resizeableActivitySession, initialSize); in testRotationNotAffectingSecondaryScreen()
227 + " display", initialSize, testActivitySize); in testRotationNotAffectingSecondaryScreen()
231 ActivitySession activitySession, SizeInfo initialSize) { in rotateAndCheckSameSizes() argument
[all …]
DAppConfigurationTests.java755 final SizeInfo initialSize = getLastReportedSizesForActivity(PORTRAIT_ORIENTATION_ACTIVITY); in testFixedOrientationWhenRotating() local
768 assertEquals("Sizes must not be changed", initialSize, currentSize); in testFixedOrientationWhenRotating()
/cts/tests/tests/widget/src/android/widget/cts/
DRemoteViewsSizeMapTest.java115 private void applyRemoteViewOnUiThread(SizeF initialSize) { in applyRemoteViewOnUiThread() argument
116 mResult = mRemoteViews.apply(mContext, null, null, initialSize); in applyRemoteViewOnUiThread()
129 private void applyRemoteView(SizeF initialSize) throws Throwable { in applyRemoteView() argument
130 mActivityRule.runOnUiThread(() -> applyRemoteViewOnUiThread(initialSize)); in applyRemoteView()
DTextViewTest.java7447 float initialSize = 0; in testAutoSizeCallers_setText() local
7456 initialSize = expectedLargerSize; in testAutoSizeCallers_setText()
7466 assertTrue(initialSize > autoSizeTextView.getTextSize()); in testAutoSizeCallers_setText()
7468 initialSize = Integer.MAX_VALUE; in testAutoSizeCallers_setText()
7476 initialSize = expectedSmallerSize; in testAutoSizeCallers_setText()
7486 assertTrue(autoSizeTextView.getTextSize() > initialSize); in testAutoSizeCallers_setText()
7767 float initialSize = 0; in testAutoSizeCallers_setMaxLines() local
7774 initialSize = expectedSmallerSize; in testAutoSizeCallers_setMaxLines()
7781 assertTrue(initialSize < autoSizeTextView.getTextSize()); in testAutoSizeCallers_setMaxLines()
7783 initialSize = Integer.MAX_VALUE; in testAutoSizeCallers_setMaxLines()
[all …]