Home
last modified time | relevance | path

Searched refs:screenHeight (Results 1 – 4 of 4) sorted by relevance

/cts/tests/tests/security/src/android/security/cts/
DMovie33897722.java61 private void test_movie(int resId, int screenWidth, int screenHeight, in test_movie() argument
63 assertTrue(drawWidth <= screenWidth && drawHeight <= screenHeight); in test_movie()
69 assertEquals(movie.height(), screenHeight); in test_movie() local
/cts/tests/tests/widget/src/android/widget/cts/
DNumberPickerTest.java370 int screenHeight = Resources.getSystem().getDisplayMetrics().heightPixels; in testInteractionWithSwipeDown() local
379 screenHeight - numberPickerStartY); // drag down to the bottom of the screen. in testInteractionWithSwipeDown()
540 int screenHeight = Resources.getSystem().getDisplayMetrics().heightPixels; in testEnterKey() local
/cts/tests/framework/base/windowmanager/src/android/server/wm/
DWindowTest.java351 int screenHeight = dm.heightPixels; in verifyDecorView() local
353 assertTrue(decor.getHeight() >= screenHeight); in verifyDecorView()
/cts/tests/tests/view/src/android/view/cts/
DViewGroupTest.java663 int screenHeight = metrics.heightPixels; in testDispatchTouchEvent() local
664 mMockViewGroup.layout(0, 0, screenWidth, screenHeight); in testDispatchTouchEvent()
665 mMockViewGroup.setLayoutParams(new ViewGroup.LayoutParams(screenWidth, screenHeight)); in testDispatchTouchEvent()
676 mMockViewGroup.addView(mMockTextView, new LayoutParams(screenWidth, screenHeight)); in testDispatchTouchEvent()
681 screenWidth / 2, screenHeight / 2, 0); in testDispatchTouchEvent()
686 mMockTextView.layout(0, 0, screenWidth, screenHeight); in testDispatchTouchEvent()