Home
last modified time | relevance | path

Searched refs:assertScaledPixels (Results 1 – 3 of 3) sorted by relevance

/cts/tests/tests/widget/src/android/widget/cts/
DFrameLayoutTest.java104 WidgetTestUtils.assertScaledPixels(48, foreground.getIntrinsicHeight(), mActivity); in testSetForegroundGravity()
105 WidgetTestUtils.assertScaledPixels(48, foreground.getIntrinsicWidth(), mActivity); in testSetForegroundGravity()
123 WidgetTestUtils.assertScaledPixels(48, newForeground.getIntrinsicHeight(), mActivity); in testSetForegroundGravity()
124 WidgetTestUtils.assertScaledPixels(48, newForeground.getIntrinsicWidth(), mActivity); in testSetForegroundGravity()
167 WidgetTestUtils.assertScaledPixels(30, textView.getMeasuredHeight(), mActivity); in testAccessMeasureAllChildren()
168 WidgetTestUtils.assertScaledPixels(60, textView.getMeasuredWidth(), mActivity); in testAccessMeasureAllChildren()
179 WidgetTestUtils.assertScaledPixels(15, button.getMeasuredHeight(), mActivity); in testAccessMeasureAllChildren()
180 WidgetTestUtils.assertScaledPixels(50, button.getMeasuredWidth(), mActivity); in testAccessMeasureAllChildren()
DTabHostTest.java241 WidgetTestUtils.assertScaledPixels(1, tabHost.getTabWidget().getPaddingLeft(), mActivity); in testGetTabWidget()
242 WidgetTestUtils.assertScaledPixels(1, tabHost.getTabWidget().getPaddingRight(), mActivity); in testGetTabWidget()
243 WidgetTestUtils.assertScaledPixels(4, tabHost.getTabWidget().getPaddingTop(), mActivity); in testGetTabWidget()
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DWidgetTestUtils.java120 public static void assertScaledPixels(int expected, int actual, Context context) { in assertScaledPixels() method in WidgetTestUtils