Searched refs:screenWidth (Results 1 – 3 of 3) sorted by relevance
/cts/tests/tests/text/src/android/text/method/cts/ |
D | TouchTest.java | 112 int screenWidth = metrics.widthPixels; in testOnTouchEvent() local 116 while (textWidth < screenWidth) { in testOnTouchEvent() 122 int dragAmount = Math.min(screenWidth, textWidth - screenWidth); in testOnTouchEvent()
|
/cts/tests/tests/view/src/android/view/cts/ |
D | ViewGroupTest.java | 530 int screenWidth = metrics.widthPixels; in testDispatchTouchEvent() local 532 vg.layout(0, 0, screenWidth, screenHeight); in testDispatchTouchEvent() 533 vg.setLayoutParams(new ViewGroup.LayoutParams(screenWidth, screenHeight)); in testDispatchTouchEvent() 547 vg.addView(textView, new LayoutParams(screenWidth, screenHeight)); in testDispatchTouchEvent() 552 screenWidth / 2, screenHeight / 2, 0); in testDispatchTouchEvent() 557 textView.layout(0, 0, screenWidth, screenHeight); in testDispatchTouchEvent()
|
D | WindowTest.java | 291 int screenWidth = dm.widthPixels; in checkDecorView() local 293 assertTrue(decor.getWidth() >= screenWidth); in checkDecorView()
|