Searched refs:screenWidth (Results 1 – 3 of 3) sorted by relevance
/cts/tests/tests/text/src/android/text/method/cts/ |
D | TouchTest.java | 115 int screenWidth = metrics.widthPixels; in testOnTouchEvent() local 119 while (textWidth < screenWidth) { in testOnTouchEvent() 125 int dragAmount = Math.min(screenWidth, textWidth - screenWidth); in testOnTouchEvent()
|
/cts/tests/tests/view/src/android/view/cts/ |
D | ViewGroupTest.java | 528 int screenWidth = metrics.widthPixels; in testDispatchTouchEvent() local 530 vg.layout(0, 0, screenWidth, screenHeight); in testDispatchTouchEvent() 531 vg.setLayoutParams(new ViewGroup.LayoutParams(screenWidth, screenHeight)); in testDispatchTouchEvent() 546 vg.addView(textView, new LayoutParams(screenWidth, screenHeight)); in testDispatchTouchEvent() 551 screenWidth / 2, screenHeight / 2, 0); in testDispatchTouchEvent() 556 textView.layout(0, 0, screenWidth, screenHeight); in testDispatchTouchEvent()
|
D | WindowTest.java | 294 int screenWidth = dm.widthPixels; in checkDecorView() local 296 assertTrue(decor.getWidth() >= screenWidth); in checkDecorView()
|