Home
last modified time | relevance | path

Searched refs:currentSize (Results 1 – 3 of 3) sorted by relevance

/cts/tests/framework/base/windowmanager/jetpack/src/android/server/wm/jetpack/embedding/
DActivityEmbeddingPlaceholderTests.java200 final Size currentSize = mReportedDisplayMetrics.getSize(); in testPlaceholderFinishedWhenTaskWidthDecreased() local
201 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() local
219 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() local
291 mReportedDisplayMetrics.setSize(new Size((int) (currentSize.getWidth() * 0.9), in testStickyPlaceholder()
292 (int) (currentSize.getHeight() * 0.9))); in testStickyPlaceholder()
/cts/tests/devicepolicy/src/android/devicepolicy/cts/
DDevicePolicyManagerTest.java233 int currentSize = TestApis.devicePolicy().getPolicySizeForAdmin(admin); in setMaxPolicyStorageLimit_policySet_sizeIncreases() local
240 .isGreaterThan(currentSize); in setMaxPolicyStorageLimit_policySet_sizeIncreases()
266 int currentSize = TestApis.devicePolicy().getPolicySizeForAdmin(admin); in setMaxPolicyStorageLimit_policySetThenUnset_sizeResets() local
274 assertThat(TestApis.devicePolicy().getPolicySizeForAdmin(admin)).isEqualTo(currentSize); in setMaxPolicyStorageLimit_policySetThenUnset_sizeResets()
303 int currentSize = TestApis.devicePolicy().getPolicySizeForAdmin(admin); in setMaxPolicyStorageLimit_setSamePolicyTwice_sizeDoesNotIncrease() local
308 assertThat(TestApis.devicePolicy().getPolicySizeForAdmin(admin)).isEqualTo(currentSize); in setMaxPolicyStorageLimit_setSamePolicyTwice_sizeDoesNotIncrease()
/cts/tests/framework/base/windowmanager/src/android/server/wm/display/
DAppConfigurationTests.java775 final SizeInfo currentSize = activitySession.getConfigInfo().sizeInfo; in testFixedOrientationWhenRotating() local
776 assertEquals("Sizes must not be changed", initialSize, currentSize); in testFixedOrientationWhenRotating()