Home
last modified time | relevance | path

Searched refs:wrapper (Results 1 – 11 of 11) sorted by relevance

/cts/tests/tests/graphics/src/android/graphics/drawable/cts/
DDrawableWrapperTest.java45 DrawableWrapper wrapper = new MyWrapper(d); in testConstructor() local
46 assertSame(d, wrapper.getDrawable()); in testConstructor()
54 DrawableWrapper wrapper = new MyWrapper(d); in testGetDrawable() local
55 assertSame(d, wrapper.getDrawable()); in testGetDrawable()
61 DrawableWrapper wrapper = new MyWrapper(null); in testSetDrawable() local
62 assertSame(null, wrapper.getDrawable()); in testSetDrawable()
64 wrapper.setDrawable(d); in testSetDrawable()
65 assertSame(d, wrapper.getDrawable()); in testSetDrawable()
70 DrawableWrapper wrapper = new MyWrapper(new BitmapDrawable()); in testInvalidateDrawable() local
73 wrapper.setCallback(cb); in testInvalidateDrawable()
[all …]
/cts/tests/tests/view/src/android/view/inputmethod/cts/
DInputConnectionWrapperTest.java37 InputConnectionWrapper wrapper = new InputConnectionWrapper(null, true); in testInputConnectionWrapper() local
39 wrapper.beginBatchEdit(); in testInputConnectionWrapper()
44 wrapper.setTarget(inputConnection); in testInputConnectionWrapper()
46 wrapper.beginBatchEdit(); in testInputConnectionWrapper()
48 wrapper.clearMetaKeyStates(KeyEvent.META_ALT_ON); in testInputConnectionWrapper()
50 wrapper.commitCompletion(new CompletionInfo(1, 1, "testText")); in testInputConnectionWrapper()
52 wrapper.commitCorrection(new CorrectionInfo(0, "oldText", "newText")); in testInputConnectionWrapper()
54 wrapper.commitText("Text", 1); in testInputConnectionWrapper()
56 wrapper.deleteSurroundingText(10, 100); in testInputConnectionWrapper()
58 wrapper.deleteSurroundingTextInCodePoints(10, 100); in testInputConnectionWrapper()
[all …]
/cts/tests/tests/speech/src/android/speech/tts/cts/
DTextToSpeechWrapper.java104 TextToSpeechWrapper wrapper = new TextToSpeechWrapper(context); in createTextToSpeechWrapper() local
105 if (wrapper.initTts()) { in createTextToSpeechWrapper()
106 return wrapper; in createTextToSpeechWrapper()
114 TextToSpeechWrapper wrapper = new TextToSpeechWrapper(context); in createTextToSpeechMockWrapper() local
115 if (wrapper.initTts(MOCK_TTS_ENGINE)) { in createTextToSpeechMockWrapper()
116 return wrapper; in createTextToSpeechMockWrapper()
/cts/tests/tests/view/src/android/view/cts/
DTextureViewCtsActivity.java115 RunSignalAndCatch wrapper = new RunSignalAndCatch(r, fence); in runOnGLThread() local
116 mGLThread.post(wrapper); in runOnGLThread()
118 if (wrapper.error != null) { in runOnGLThread()
119 throw wrapper.error; in runOnGLThread()
/cts/tests/tests/media/src/android/media/cts/
DPresentationSyncTest.java264 ChoreographedWrapper wrapper = new ChoreographedWrapper(obj, output, frameDelay); in runTest() local
265 Thread th = new Thread(wrapper, "sync test"); in runTest()
268 if (wrapper.mThrowable != null) { in runTest()
269 throw wrapper.mThrowable; in runTest()
DEncodeVirtualDisplayTest.java155 EncodeVirtualWrapper wrapper = new EncodeVirtualWrapper(obj); in runTest() local
156 Thread th = new Thread(wrapper, "codec test"); in runTest()
159 if (wrapper.mThrowable != null) { in runTest()
160 throw wrapper.mThrowable; in runTest()
DEncodeDecodeTest.java197 BufferToSurfaceWrapper wrapper = new BufferToSurfaceWrapper(obj); in runTest() local
198 Thread th = new Thread(wrapper, "codec test"); in runTest()
201 if (wrapper.mThrowable != null) { in runTest()
202 throw wrapper.mThrowable; in runTest()
320 SurfaceToSurfaceWrapper wrapper = in runTest() local
322 Thread th = new Thread(wrapper, "codec test"); in runTest()
325 if (wrapper.mThrowable != null) { in runTest()
326 throw wrapper.mThrowable; in runTest()
DDecodeEditEncodeTest.java128 VideoEditWrapper wrapper = new VideoEditWrapper(obj); in runTest() local
129 Thread th = new Thread(wrapper, "codec test"); in runTest()
132 if (wrapper.mThrowable != null) { in runTest()
133 throw wrapper.mThrowable; in runTest()
DExtractDecodeEditEncodeMuxTest.java199 TestWrapper wrapper = new TestWrapper(test); in runTest() local
200 Thread th = new Thread(wrapper, "codec test"); in runTest()
203 if (wrapper.mThrowable != null) { in runTest()
204 throw wrapper.mThrowable; in runTest()
/cts/tests/vr/src/android/vr/cts/
DOpenGLESActivity.java99 RunSignalAndCatch wrapper = new RunSignalAndCatch(r, fence); in runOnGlThread() local
101 mView.queueEvent(wrapper); in runOnGlThread()
103 if (wrapper.error != null) { in runOnGlThread()
104 throw wrapper.error; in runOnGlThread()
/cts/tests/tests/content/src/android/content/cts/
DAsyncQueryHandlerTest.java263 MockAsyncQueryHandler wrapper = new MockAsyncQueryHandler(mResolver); in testCreateHandler() local
264 Handler result = wrapper.createHandler(Looper.getMainLooper()); in testCreateHandler()
269 wrapper.createHandler(null); in testCreateHandler()