Home
last modified time | relevance | path

Searched refs:topView (Results 1 – 2 of 2) sorted by relevance

/cts/tests/tests/widget/src/android/widget/cts/
DLinearLayoutTest.java354 TextView topView = (TextView) mActivity.findViewById(R.id.gravity_top); in testLayoutHorizontal() local
359 assertNotNull(topView); in testLayoutHorizontal()
364 topView.getText().toString()); in testLayoutHorizontal()
372 ViewAsserts.assertTopAligned(parent, topView); in testLayoutHorizontal()
376 assertEquals(0, topView.getTop()); in testLayoutHorizontal()
377 assertEquals(topView.getHeight(), topView.getBottom()); in testLayoutHorizontal()
378 assertEquals(0, topView.getLeft()); in testLayoutHorizontal()
379 assertEquals(centerView.getLeft(), topView.getRight()); in testLayoutHorizontal()
384 assertEquals(topView.getRight(), centerView.getLeft()); in testLayoutHorizontal()
545 TextView topView = (TextView) parent.findViewById(R.id.weight_0_1); in testHorizontalCenterGravityOnVerticalLayout() local
[all …]
/cts/tests/tests/security/src/android/security/cts/
DFlagSlipperyTest.kt204 val topView = addWindow(slipperyWhenAdded) in testWindowIsNotSlippery() constant
205 viewToRemove = topView in testWindowIsNotSlippery()
208 assertBottomWindowDoesNotReceiveSlipperyTouch(topView) in testWindowIsNotSlippery()
315 private fun assertBottomWindowDoesNotReceiveSlipperyTouch(topView: View) { in assertBottomWindowDoesNotReceiveSlipperyTouch()
319 val (x, y) = getViewCenterOnScreen(topView) in assertBottomWindowDoesNotReceiveSlipperyTouch()