/cts/tests/tests/widget/src/android/widget/cts/ |
AbsoluteLayout_LayoutParamsTest.java | 31 import com.android.compatibility.common.util.WidgetTestUtils; 53 WidgetTestUtils.beginDocument(parser, "LinearLayout");
|
Gallery_LayoutParamsTest.java | 26 import com.android.compatibility.common.util.WidgetTestUtils; 44 WidgetTestUtils.beginDocument(p, "LinearLayout");
|
AbsListView_LayoutParamsTest.java | 30 import com.android.compatibility.common.util.WidgetTestUtils; 47 WidgetTestUtils.beginDocument(parser, "ViewGroup_Layout");
|
FrameLayout_LayoutParamsTest.java | 33 import com.android.compatibility.common.util.WidgetTestUtils; 55 WidgetTestUtils.beginDocument(parser, "LinearLayout");
|
AbsoluteLayoutTest.java | 36 import com.android.compatibility.common.util.WidgetTestUtils; 75 WidgetTestUtils.beginDocument(parser, "LinearLayout");
|
ActionMenuViewTest.java | 39 import com.android.compatibility.common.util.WidgetTestUtils; 159 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mActionMenuView,
|
PointerIconTest.java | 33 import com.android.compatibility.common.util.WidgetTestUtils; 117 WidgetTestUtils.runOnMainAndLayoutSync(
|
SwitchTest.java | 42 import com.android.compatibility.common.util.WidgetTestUtils; 132 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mSwitch, 140 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mSwitch, 148 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mSwitch, () -> { 161 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mSwitch, 172 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mSwitch, 181 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mSwitch, 190 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mSwitch, () -> { 207 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, container, 211 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mSwitch [all...] |
AdapterViewTest.java | 57 import com.android.compatibility.common.util.WidgetTestUtils; 288 WidgetTestUtils.runOnMainAndLayoutSync(mActivityRule, mAdapterView, 307 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mAdapterView, 315 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mAdapterView,
|
FrameLayoutTest.java | 60 import com.android.compatibility.common.util.WidgetTestUtils; 103 WidgetTestUtils.assertScaledPixels(48, foreground.getIntrinsicHeight(), mActivity); 104 WidgetTestUtils.assertScaledPixels(48, foreground.getIntrinsicWidth(), mActivity); 109 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mFrameLayout, 122 WidgetTestUtils.assertScaledPixels(48, newForeground.getIntrinsicHeight(), mActivity); 123 WidgetTestUtils.assertScaledPixels(48, newForeground.getIntrinsicWidth(), mActivity); 127 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mFrameLayout, () -> { 146 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mFrameLayout, () -> { 154 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mFrameLayout, 169 WidgetTestUtils.assertScaledPixels(30, textView.getMeasuredHeight(), mActivity) [all...] |
AbsSeekBarTest.java | 49 import com.android.compatibility.common.util.WidgetTestUtils; 330 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, inflatedView, 334 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, inflatedView,
|
ImageSwitcherTest.java | 40 import com.android.compatibility.common.util.WidgetTestUtils; 101 WidgetTestUtils.assertEquals(sceneryBitmap.getBitmap(), currViewBitmap.getBitmap()); 109 WidgetTestUtils.assertEquals(testimageBitmap.getBitmap(), currViewBitmap.getBitmap()); 137 Bitmap testImageBitmap = WidgetTestUtils.getUnscaledAndDitheredBitmap( 140 WidgetTestUtils.assertEquals(testImageBitmap, currViewBitmap.getBitmap()); 146 Bitmap sceneryImageBitmap = WidgetTestUtils.getUnscaledAndDitheredBitmap( 151 WidgetTestUtils.assertEquals(sceneryImageBitmap, currViewBitmap.getBitmap());
|
SimpleCursorTreeAdapterTest.java | 37 import com.android.compatibility.common.util.WidgetTestUtils; 155 WidgetTestUtils.assertEquals(d.getBitmap(), 182 Bitmap test = WidgetTestUtils.getUnscaledAndDitheredBitmap(mContext.getResources(), 184 WidgetTestUtils.assertEquals(test, actualBitmap);
|
CheckedTextViewTest.java | 48 import com.android.compatibility.common.util.WidgetTestUtils; 316 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mCheckedTextView, 326 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mCheckedTextView, () -> { 340 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mCheckedTextView, 352 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mCheckedTextView,
|
PopupMenuTest.java | 47 import com.android.compatibility.common.util.WidgetTestUtils; 277 WidgetTestUtils.runOnMainAndLayoutSync(mActivityRule, mBuilder::show, true);
|
/cts/common/device-side/util/src/com/android/compatibility/common/util/ |
WidgetTestUtils.java | 48 public class WidgetTestUtils {
|
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
VectorDrawableScaleTest.java | 31 import com.android.compatibility.common.util.WidgetTestUtils; 64 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule,
|
AnimatedVectorDrawableParameterizedTest.java | 45 import com.android.compatibility.common.util.WidgetTestUtils; 130 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, imageView[0], 296 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, imageView[0],
|
/cts/tests/tests/transition/src/android/transition/cts/ |
BaseTransitionTest.java | 39 import com.android.compatibility.common.util.WidgetTestUtils; 133 WidgetTestUtils.runOnMainAndLayoutSync(mActivityRule, scene::enter, false);
|
/cts/tests/tests/view/src/android/view/cts/ |
TextureViewTest.java | 33 import com.android.compatibility.common.util.WidgetTestUtils; 84 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule,
|
FrameMetricsListenerTest.java | 37 import com.android.compatibility.common.util.WidgetTestUtils; 97 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, scrollView, null);
|
MenuInflaterTest.java | 41 import com.android.compatibility.common.util.WidgetTestUtils; 328 WidgetTestUtils.assertEquals(expected, b.getBitmap());
|
SurfaceViewTest.java | 40 import com.android.compatibility.common.util.WidgetTestUtils; 171 WidgetTestUtils.runOnMainAndLayoutSync(mActivityRule, () -> {
|
/frameworks/base/core/tests/coretests/src/android/view/ |
ViewInvalidateTest.java | 34 import com.android.compatibility.common.util.WidgetTestUtils; 67 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mParent, () -> { 160 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mParent, () -> { 220 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mParent, () -> { 240 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mParent, () -> {
|
/cts/tests/tests/text/src/android/text/method/cts/ |
BaseMovementMethodTest.java | 46 import com.android.compatibility.common.util.WidgetTestUtils; 94 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mTextView, null); 101 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mTextView, null); 111 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mTextView, 119 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mTextView, 125 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mTextView, null); 132 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mTextView, null); 156 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mTextView, null); 163 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mTextView, null); 173 WidgetTestUtils.runOnMainAndDrawSync(mActivityRule, mTextView [all...] |