Searched refs:assertScaledPixels (Results 1 – 3 of 3) sorted by relevance
/cts/tests/tests/widget/src/android/widget/cts/ |
D | FrameLayoutTest.java | 112 WidgetTestUtils.assertScaledPixels(48, foreground.getIntrinsicHeight(), mActivity); in testSetForegroundGravity() 113 WidgetTestUtils.assertScaledPixels(48, foreground.getIntrinsicWidth(), mActivity); in testSetForegroundGravity() 131 WidgetTestUtils.assertScaledPixels(48, newForeground.getIntrinsicHeight(), mActivity); in testSetForegroundGravity() 132 WidgetTestUtils.assertScaledPixels(48, newForeground.getIntrinsicWidth(), mActivity); in testSetForegroundGravity() 175 WidgetTestUtils.assertScaledPixels(30, textView.getMeasuredHeight(), mActivity); in testAccessMeasureAllChildren() 176 WidgetTestUtils.assertScaledPixels(60, textView.getMeasuredWidth(), mActivity); in testAccessMeasureAllChildren() 187 WidgetTestUtils.assertScaledPixels(15, button.getMeasuredHeight(), mActivity); in testAccessMeasureAllChildren() 188 WidgetTestUtils.assertScaledPixels(50, button.getMeasuredWidth(), mActivity); in testAccessMeasureAllChildren()
|
D | TabHostTest.java | 251 WidgetTestUtils.assertScaledPixels(1, tabHost.getTabWidget().getPaddingLeft(), mActivity); in testGetTabWidget() 252 WidgetTestUtils.assertScaledPixels(1, tabHost.getTabWidget().getPaddingRight(), mActivity); in testGetTabWidget() 253 WidgetTestUtils.assertScaledPixels(4, tabHost.getTabWidget().getPaddingTop(), mActivity); in testGetTabWidget()
|
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/ |
D | WidgetTestUtils.java | 120 public static void assertScaledPixels(int expected, int actual, Context context) { in assertScaledPixels() method in WidgetTestUtils
|