Home
last modified time | relevance | path

Searched refs:screenWidth (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()
68 assertEquals(movie.width(), screenWidth); in test_movie() local
/cts/tests/tests/text/src/android/text/method/cts/
DTouchTest.java118 int screenWidth = metrics.widthPixels; in testOnTouchEvent() local
122 while (textWidth < screenWidth) { in testOnTouchEvent()
128 int dragAmount = Math.min(screenWidth, textWidth - screenWidth); in testOnTouchEvent()
/cts/tests/framework/base/windowmanager/src/android/server/wm/
DWindowTest.java350 int screenWidth = dm.widthPixels; in verifyDecorView() local
352 assertTrue(decor.getWidth() >= screenWidth); in verifyDecorView()
/cts/tests/tests/view/src/android/view/cts/
DViewGroupTest.java662 int screenWidth = metrics.widthPixels; 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()