Home
last modified time | relevance | path

Searched refs:screen (Results 1 – 11 of 11) sorted by relevance

/cts/tests/tests/preference/src/android/preference/cts/
DPreferenceParentGroupTest.java63 PreferenceScreen screen = mActivity.getPreferenceScreen(); in parentViaCodeTest() local
64 assertNull(screen.getParent()); in parentViaCodeTest()
72 screen.addPreference(category); in parentViaCodeTest()
73 assertEquals(screen, category.getParent()); in parentViaCodeTest()
78 screen.removePreference(category); in parentViaCodeTest()
92 PreferenceScreen screen = mActivity.getPreferenceScreen(); in parentViaInflationTest() local
94 PreferenceCategory category = (PreferenceCategory) screen.findPreference("pref_category"); in parentViaInflationTest()
98 (PreferenceScreen) screen.findPreference("pref_screen_inner"); in parentViaInflationTest()
101 CheckBoxPreference pref = (CheckBoxPreference) screen.findPreference("pref_checkbox"); in parentViaInflationTest()
105 assertEquals(screen, category.getParent()); in parentViaInflationTest()
[all …]
DPreferenceRecycleTest.java81 PreferenceScreen screen = mActivity.getPreferenceScreen(); in recycleSetViaXmlTest() local
84 (RecycleCheckPreference) screen.findPreference("pref_checkbox_recycle"); in recycleSetViaXmlTest()
86 (RecycleCheckPreference) screen.findPreference("pref_checkbox_no_recycle"); in recycleSetViaXmlTest()
98 final PreferenceScreen screen = mActivity.getPreferenceScreen(); in recycleSetViaCodeTest() local
104 screen.addPreference(recyclePref); in recycleSetViaCodeTest()
109 screen.addPreference(noRecyclePref); in recycleSetViaCodeTest()
120 (RecycleCheckPreference) screen.findPreference("recyclePref"); in recycleSetViaCodeTest()
122 (RecycleCheckPreference) screen.findPreference("noRecyclePref"); in recycleSetViaCodeTest()
/cts/tests/framework/base/windowmanager/src/android/server/wm/other/
DEnsureBarContrastTest.java321 Rect getLocation(Insets insets, Rect screen) {
322 final Rect r = new Rect(screen);
340 Rect getLocation(Insets insets, Rect screen) {
341 final Rect r = new Rect(screen);
362 abstract Rect getLocation(Insets insets, Rect screen);
/cts/tests/framework/base/windowmanager/src/android/server/wm/window/
DOWNERS4 # Android > Android OS & Apps > Framework (Java + Native) > Window Manager > WM Shell > Split screen
/cts/tests/framework/base/windowmanager/src/android/server/wm/animations/
DActivityTransitionTests.java613 return (screen) -> getIsAppRegionOfScreenOfColorResult(screen, color, testBounds); in createAssertAppRegionOfScreenIsColor()
644 private AssertionResult getIsAppRegionOfScreenOfColorResult(Bitmap screen, int color, in getIsAppRegionOfScreenOfColorResult() argument
663 final Color rawColor = screen.getColor(sampleX, sampleY); in getIsAppRegionOfScreenOfColorResult()
670 sRgbColor = screen.getColor(sampleX, sampleY) in getIsAppRegionOfScreenOfColorResult()
741 return (screen) -> assertColorChangeXIndex( in createAssertColorChangeXIndex()
742 screen, xIndex, testBounds, Color.BLUE, Color.RED); in createAssertColorChangeXIndex()
745 private AssertionResult assertColorChangeXIndex(Bitmap screen, int splitX, in assertColorChangeXIndex() argument
770 final Color rawColor = screen.getColor(sampleX, sampleY); in assertColorChangeXIndex()
777 sRgbColor = screen.getColor(sampleX, sampleY) in assertColorChangeXIndex()
/cts/tests/openglperf2/assets/vertex/
Dbasic21 // Set the position on screen.
Dwater26 // Multiply to get the final point in normalized screen coordinates.
Dperspective30 // Multiply to get the final point in normalized screen coordinates.
/cts/tools/cts-api-coverage/proto/
Dcts_report.proto89 // Logical screen density
119 // Logical screen size
/cts/tests/mediapc/requirements/
Drequirements.txtpb1803 description: "The screen resolution width in pixels (longer of the two dimensions)."
1812 description: "The screen resolution height in pixels (shorter of the two dimensions)."
1821 specification: "MUST have screen resolution of at least 1080p."
1845 description: "The screen resolution width in pixels (longer of the two dimensions)."
1854 description: "The screen resolution height in pixels (shorter of the two dimensions)."
1863 specification: "MUST have screen resolution of at least 1080p."
1944 description: "The screen display density in pixels per square inch."
1953 specification: "MUST have screen density of at least 400 dpi."
1971 description: "The screen display density in pixels per square inch."
1980 specification: "MUST have screen density of at least 400 dpi."
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/
Dcurrent.txt13170 field public static final String FEATURE_SCREEN_LANDSCAPE = "android.hardware.screen.landscape";
13171 field public static final String FEATURE_SCREEN_PORTRAIT = "android.hardware.screen.portrait";