Home
last modified time | relevance | path

Searched refs:orig (Results 1 – 12 of 12) sorted by relevance

/cts/tests/tests/widget/src/android/widget/cts/
DRemoteViewsActivityTest.java57 RemoteViews orig = new RemoteViews(PACKAGE_NAME, R.layout.remote_view_test_good); in testGood() local
59 orig.writeToParcel(p, 0); in testGood()
83 RemoteViews orig = new RemoteViews(PACKAGE_NAME, R.layout.remote_view_test_bad_1); in testDerivedClass() local
85 orig.writeToParcel(p, 0); in testDerivedClass()
112 RemoteViews orig = new RemoteViews(PACKAGE_NAME, R.layout.remote_view_test_bad_2); in testWebView() local
114 orig.writeToParcel(p, 0); in testWebView()
/cts/tests/tests/graphics/src/android/graphics/cts/
DOutlineTest.java49 Outline orig = new Outline();
50 orig.setAlpha(0.5f);
51 orig.setRect(10, 10, 20, 20);
53 Outline copy = new Outline(orig);
83 Outline orig = new Outline();
84 orig.setAlpha(0.5f);
85 orig.setRect(10, 10, 20, 20);
88 copy.set(orig);
DBitmapColorSpaceTest.java191 Bitmap orig = Bitmap.createBitmap(32, 32, config, false, rgb); in createFromSourceWithColorSpace() local
192 Bitmap cropped = Bitmap.createBitmap(orig, 0, 0, orig.getWidth() / 2, in createFromSourceWithColorSpace()
193 orig.getHeight() / 2, null, false); in createFromSourceWithColorSpace()
194 assertSame(orig.getColorSpace(), cropped.getColorSpace()); in createFromSourceWithColorSpace()
200 m.setRotate(45, orig.getWidth() / 2, orig.getHeight() / 2); in createFromSourceWithColorSpace()
201 Bitmap rotated = Bitmap.createBitmap(orig, 0, 0, orig.getWidth(), in createFromSourceWithColorSpace()
202 orig.getHeight(), m, false); in createFromSourceWithColorSpace()
213 orig.getColorSpace(), rotated.getColorSpace()); in createFromSourceWithColorSpace()
DPaintTest.java830 private void testIsFilterBitmap(Paint orig) {
831 Paint p = new Paint(orig);
832 assertEquals(orig.isFilterBitmap(), p.isFilterBitmap());
835 p.set(orig);
836 assertEquals(orig.isFilterBitmap(), p.isFilterBitmap());
/cts/tests/tests/notification/src/android/app/notification/current/cts/
DConversationStatusTest.java69 final ConversationStatus orig = new ConversationStatus.Builder("id", 100).build(); in testParcelEmpty() local
72 orig.writeToParcel(parcel, 0); in testParcelEmpty()
89 final ConversationStatus orig = in testParcel() local
99 orig.writeToParcel(parcel, 0); in testParcel()
/cts/tests/tests/renderscript/src/android/renderscript/cts/refocus/
DRGBZ.java160 private Bitmap setAlphaChannelFromBitmap(Bitmap depth, Bitmap orig, Bitmap dest) { in setAlphaChannelFromBitmap() argument
161 int w = orig.getWidth(); in setAlphaChannelFromBitmap()
162 int h = orig.getHeight(); in setAlphaChannelFromBitmap()
166 orig.getPixels(orig_data, 0, w, 0, 0, w, h); in setAlphaChannelFromBitmap()
/cts/tests/tests/content/src/android/content/pm/cts/
DPackageItemInfoTest.java137 public MockPackageItemInfo(PackageItemInfo orig) { in MockPackageItemInfo() argument
138 super(orig); in MockPackageItemInfo()
DComponentInfoTest.java303 public MyComponentInfo(ComponentInfo orig) { in MyComponentInfo() argument
304 super(orig); in MyComponentInfo()
/cts/tests/app/src/android/app/cts/
DInstrumentationTest.java270 MotionEvent orig = MotionEvent.obtain(now, now, MotionEvent.ACTION_DOWN, in testSendTrackballEventSync() local
272 mInstrumentation.sendTrackballEventSync(orig); in testSendTrackballEventSync()
276 assertEquals(orig.getMetaState(), motionEvent.getMetaState()); in testSendTrackballEventSync()
277 assertEquals(orig.getEventTime(), motionEvent.getEventTime()); in testSendTrackballEventSync()
278 assertEquals(orig.getDownTime(), motionEvent.getDownTime()); in testSendTrackballEventSync()
444 MotionEvent orig = MotionEvent.obtain(now, now, MotionEvent.ACTION_DOWN, in testSendPointerSync() local
446 mInstrumentation.sendPointerSync(orig); in testSendPointerSync()
/cts/tests/tests/media/decoder/src/android/media/decoder/cts/
DAdaptivePlaybackTest.java1356 public static MediaFormat removeCSD(MediaFormat orig) {
1358 orig.getString(orig.KEY_MIME),
1359 orig.getInteger(orig.KEY_WIDTH), orig.getInteger(orig.KEY_HEIGHT));
1361 orig.KEY_FRAME_RATE, orig.KEY_MAX_WIDTH, orig.KEY_MAX_HEIGHT,
1362 orig.KEY_MAX_INPUT_SIZE
1364 if (orig.containsKey(k)) {
1366 copy.setInteger(k, orig.getInteger(k));
1369 copy.setFloat(k, orig.getFloat(k));
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/
DLayerDrawableTest.java1886 LayerDrawable orig = new LayerDrawable(new Drawable[] { layer }); in testInvalidateDuringInit() local
1887 orig.setBounds(0, 0, 100, 100); in testInvalidateDuringInit()
1890 LayerDrawable copy = (LayerDrawable) orig.getConstantState().newDrawable(); in testInvalidateDuringInit()
1891 assertNotSame(orig, copy); in testInvalidateDuringInit()
/cts/tests/tests/content/src/android/content/cts/
DContextTest.java361 final ContextParams orig = new ContextParams.Builder() in testContextParams_Inherit() local
364 final ContextParams params = new ContextParams.Builder(orig).build(); in testContextParams_Inherit()
368 final ContextParams params = new ContextParams.Builder(orig) in testContextParams_Inherit()
373 final ContextParams params = new ContextParams.Builder(orig) in testContextParams_Inherit()