Searched refs:initialSize (Results 1 – 2 of 2) sorted by relevance
164 final SizeInfo initialSize = getLastReportedSizesForActivity(RESIZEABLE_ACTIVITY); in testDisplayResize() local191 assertTrue(updatedSize.widthDp <= initialSize.widthDp); in testDisplayResize()192 assertTrue(updatedSize.heightDp <= initialSize.heightDp); in testDisplayResize()193 assertTrue(updatedSize.displayWidth == initialSize.displayWidth / 2); in testDisplayResize()194 assertTrue(updatedSize.displayHeight == initialSize.displayHeight / 2); in testDisplayResize()220 final SizeInfo initialSize = resizeableActivitySession.getConfigInfo().sizeInfo; in testRotationNotAffectingSecondaryScreen() local222 assertNotNull("Test activity must have reported initial size on launch", initialSize); in testRotationNotAffectingSecondaryScreen()227 rotateAndCheckSameSizes(rotationSession, resizeableActivitySession, initialSize); in testRotationNotAffectingSecondaryScreen()240 + " display", initialSize, testActivitySize); in testRotationNotAffectingSecondaryScreen()246 ActivitySession activitySession, SizeInfo initialSize) throws Exception { in rotateAndCheckSameSizes() argument[all …]
7210 float initialSize = 0; in testAutoSizeCallers_setText() local7219 initialSize = expectedLargerSize; in testAutoSizeCallers_setText()7229 assertTrue(initialSize > autoSizeTextView.getTextSize()); in testAutoSizeCallers_setText()7231 initialSize = Integer.MAX_VALUE; in testAutoSizeCallers_setText()7239 initialSize = expectedSmallerSize; in testAutoSizeCallers_setText()7249 assertTrue(autoSizeTextView.getTextSize() > initialSize); in testAutoSizeCallers_setText()7530 float initialSize = 0; in testAutoSizeCallers_setMaxLines() local7537 initialSize = expectedSmallerSize; in testAutoSizeCallers_setMaxLines()7544 assertTrue(initialSize < autoSizeTextView.getTextSize()); in testAutoSizeCallers_setMaxLines()7546 initialSize = Integer.MAX_VALUE; in testAutoSizeCallers_setMaxLines()[all …]