Searched refs:currentSize (Results 1 – 3 of 3) sorted by relevance
200 final Size currentSize = mReportedDisplayMetrics.getSize(); in testPlaceholderFinishedWhenTaskWidthDecreased() local201 mReportedDisplayMetrics.setSize(new Size((int) (currentSize.getWidth() * 0.9), in testPlaceholderFinishedWhenTaskWidthDecreased()202 (int) (currentSize.getHeight() * 0.9))); in testPlaceholderFinishedWhenTaskWidthDecreased()218 final Size currentSize = mReportedDisplayMetrics.getSize(); in testPlaceholderLaunchedWhenTaskWidthIncreased() local219 final Size displaySize = new Size((int) (currentSize.getWidth() * 0.5), in testPlaceholderLaunchedWhenTaskWidthIncreased()220 (int) (currentSize.getHeight() * 0.5)); in testPlaceholderLaunchedWhenTaskWidthIncreased()290 final Size currentSize = mReportedDisplayMetrics.getSize(); in testStickyPlaceholder() local291 mReportedDisplayMetrics.setSize(new Size((int) (currentSize.getWidth() * 0.9), in testStickyPlaceholder()292 (int) (currentSize.getHeight() * 0.9))); in testStickyPlaceholder()
233 int currentSize = TestApis.devicePolicy().getPolicySizeForAdmin(admin); in setMaxPolicyStorageLimit_policySet_sizeIncreases() local240 .isGreaterThan(currentSize); in setMaxPolicyStorageLimit_policySet_sizeIncreases()266 int currentSize = TestApis.devicePolicy().getPolicySizeForAdmin(admin); in setMaxPolicyStorageLimit_policySetThenUnset_sizeResets() local274 assertThat(TestApis.devicePolicy().getPolicySizeForAdmin(admin)).isEqualTo(currentSize); in setMaxPolicyStorageLimit_policySetThenUnset_sizeResets()303 int currentSize = TestApis.devicePolicy().getPolicySizeForAdmin(admin); in setMaxPolicyStorageLimit_setSamePolicyTwice_sizeDoesNotIncrease() local308 assertThat(TestApis.devicePolicy().getPolicySizeForAdmin(admin)).isEqualTo(currentSize); in setMaxPolicyStorageLimit_setSamePolicyTwice_sizeDoesNotIncrease()
775 final SizeInfo currentSize = activitySession.getConfigInfo().sizeInfo; in testFixedOrientationWhenRotating() local776 assertEquals("Sizes must not be changed", initialSize, currentSize); in testFixedOrientationWhenRotating()