Home
last modified time | relevance | path

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

/cts/suite/audio_quality/lib/src/task/
DTaskCase.cpp138 bool TaskCase::registerBuffer(const android::String8& orig, android::sp<Buffer>& buffer) in registerBuffer() argument
141 if (!translateVarName(orig, translated)) { in registerBuffer()
147 bool TaskCase::updateBuffer(const android::String8& orig, android::sp<Buffer>& buffer) in updateBuffer() argument
150 if (!translateVarName(orig, translated)) { in updateBuffer()
156 android::sp<Buffer> TaskCase::findBuffer(const android::String8& orig) in findBuffer() argument
160 if (!translateVarName(orig, translated)) { in findBuffer()
177 bool TaskCase::registerValue(const android::String8& orig, Value& val) in registerValue() argument
180 if (!translateVarName(orig, translated)) { in registerValue()
187 bool TaskCase::updateValue(const android::String8& orig, Value& val) in updateValue() argument
190 if (!translateVarName(orig, translated)) { in updateValue()
[all …]
/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.java187 Bitmap orig = Bitmap.createBitmap(32, 32, config, false, rgb); in createFromSourceWithColorSpace() local
188 Bitmap cropped = Bitmap.createBitmap(orig, 0, 0, orig.getWidth() / 2, in createFromSourceWithColorSpace()
189 orig.getHeight() / 2, null, false); in createFromSourceWithColorSpace()
190 assertSame(orig.getColorSpace(), cropped.getColorSpace()); in createFromSourceWithColorSpace()
196 m.setRotate(45, orig.getWidth() / 2, orig.getHeight() / 2); in createFromSourceWithColorSpace()
197 Bitmap rotated = Bitmap.createBitmap(orig, 0, 0, orig.getWidth(), in createFromSourceWithColorSpace()
198 orig.getHeight(), m, false); in createFromSourceWithColorSpace()
209 orig.getColorSpace(), rotated.getColorSpace()); in createFromSourceWithColorSpace()
DPaintTest.java815 private void testIsFilterBitmap(Paint orig) {
816 Paint p = new Paint(orig);
817 assertEquals(orig.isFilterBitmap(), p.isFilterBitmap());
820 p.set(orig);
821 assertEquals(orig.isFilterBitmap(), p.isFilterBitmap());
/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/app/src/android/app/cts/
DInstrumentationTest.java213 MotionEvent orig = MotionEvent.obtain(now, now, MotionEvent.ACTION_DOWN, in testSendTrackballEventSync() local
215 mInstrumentation.sendTrackballEventSync(orig); in testSendTrackballEventSync()
219 assertEquals(orig.getMetaState(), motionEvent.getMetaState()); in testSendTrackballEventSync()
220 assertEquals(orig.getEventTime(), motionEvent.getEventTime()); in testSendTrackballEventSync()
221 assertEquals(orig.getDownTime(), motionEvent.getDownTime()); in testSendTrackballEventSync()
365 MotionEvent orig = MotionEvent.obtain(now, now, MotionEvent.ACTION_DOWN, in testSendPointerSync() local
367 mInstrumentation.sendPointerSync(orig); in testSendPointerSync()
/cts/tests/tests/content/src/android/content/pm/cts/
DPackageItemInfoTest.java109 public MockPackageItemInfo(PackageItemInfo orig) { in MockPackageItemInfo() argument
110 super(orig); in MockPackageItemInfo()
DComponentInfoTest.java255 public MyComponentInfo(ComponentInfo orig) { in MyComponentInfo() argument
256 super(orig); in MyComponentInfo()
/cts/tests/tests/media/src/android/media/cts/
DAdaptivePlaybackTest.java1266 public static MediaFormat removeCSD(MediaFormat orig) {
1268 orig.getString(orig.KEY_MIME),
1269 orig.getInteger(orig.KEY_WIDTH), orig.getInteger(orig.KEY_HEIGHT));
1271 orig.KEY_FRAME_RATE, orig.KEY_MAX_WIDTH, orig.KEY_MAX_HEIGHT,
1272 orig.KEY_MAX_INPUT_SIZE
1274 if (orig.containsKey(k)) {
1276 copy.setInteger(k, orig.getInteger(k));
1279 copy.setFloat(k, orig.getFloat(k));
/cts/suite/audio_quality/lib/include/task/
DTaskCase.h124 bool translateVarName(const android::String8& orig, android::String8& translated);
/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()