Home
last modified time | relevance | path

Searched refs:mSupportsRotation (Results 1 – 2 of 2) sorted by relevance

/cts/tests/tests/view/src/android/view/cts/
DPixelCopyWideGamutViewProducerActivity.java51 private boolean mSupportsRotation; field in PixelCopyWideGamutViewProducerActivity
59 mSupportsRotation = pm.hasSystemFeature(PackageManager.FEATURE_SCREEN_LANDSCAPE) in onCreate()
61 if (mSupportsRotation) { in onCreate()
79 if (mSupportsRotation && (screenPortrait != contentPortrait)) { in onDraw()
107 if (!mSupportsRotation) { in rotate()
DPixelCopyViewProducerActivity.java52 private boolean mSupportsRotation; field in PixelCopyViewProducerActivity
60 mSupportsRotation = pm.hasSystemFeature(PackageManager.FEATURE_SCREEN_LANDSCAPE) in onCreate()
62 if (mSupportsRotation) { in onCreate()
81 if (mSupportsRotation && (screenPortrait != contentPortrait)) { in onDraw()
123 if (!mSupportsRotation) { in rotate()