Searched refs:ContextWrapper (Results 1 - 25 of 32) sorted by relevance

12

/external/deqp/framework/opengl/simplereference/
H A DsglrContextWrapper.cpp30 ContextWrapper::ContextWrapper (void) function in class:sglr::ContextWrapper
35 ContextWrapper::~ContextWrapper (void)
39 void ContextWrapper::setContext (Context* context)
44 Context* ContextWrapper::getCurrentContext (void) const
49 int ContextWrapper::getWidth (void) const
54 int ContextWrapper::getHeight (void) const
59 void ContextWrapper::glViewport (int x, int y, int width, int height)
64 void ContextWrapper
[all...]
H A DsglrContextWrapper.hpp35 class ContextWrapper class in namespace:sglr
38 ContextWrapper (void);
39 ~ContextWrapper (void);
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/
H A DLayoutInflaterTest.java3 import android.content.ContextWrapper;
27 assertSame(LayoutInflater.from(new ContextWrapper(Robolectric.application)), layoutInflater);
H A DAlertDialogTest.java17 import android.content.ContextWrapper;
33 AlertDialog.Builder builder = new AlertDialog.Builder(new ContextWrapper(null));
53 AlertDialog dialog = new AlertDialog.Builder(new ContextWrapper(null)).show();
59 AlertDialog.Builder builder = new AlertDialog.Builder(new ContextWrapper(null));
69 AlertDialog.Builder builder = new AlertDialog.Builder(new ContextWrapper(null));
78 AlertDialog.Builder builder = new AlertDialog.Builder(new ContextWrapper(null));
104 ContextWrapper context = new ContextWrapper(null);
115 ContextWrapper context = new ContextWrapper(nul
[all...]
H A DContextWrapperTest.java7 import android.content.ContextWrapper;
33 private ContextWrapper contextWrapper;
37 contextWrapper = new ContextWrapper(new Activity());
93 new ContextWrapper(Robolectric.application).registerReceiver(receiver, intentFilter("foo", "baz"));
94 new ContextWrapper(Robolectric.application).sendBroadcast(new Intent("foo"));
98 new ContextWrapper(Robolectric.application).unregisterReceiver(receiver);
H A DAppWidgetManagerTest.java7 import android.content.ContextWrapper;
36 assertSame(AppWidgetManager.getInstance(new ContextWrapper(Robolectric.application)), appWidgetManager);
H A DApplicationTest.java8 import android.content.ContextWrapper;
66 assertEquals("title from resourceLoader1", new ContextWrapper(app1).getResources().getString(R.id.title));
67 assertEquals("title from resourceLoader2", new ContextWrapper(app2).getResources().getString(R.id.title));
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
H A DShadowContextWrapper.java3 import android.content.ContextWrapper;
8 @Implements(ContextWrapper.class)
H A DShadowApplication.java16 import android.content.ContextWrapper;
585 public void assertNoBroadcastListenersOfActionRegistered(ContextWrapper context, String action) {
/external/deqp/modules/glshared/
H A DglsLifetimeTests.hpp80 class ContextWrapper : public CallLogWrapper class in namespace:deqp::gls::LifetimeTests::details
94 ContextWrapper (const Context& ctx);
98 class Binder : public ContextWrapper
107 Binder (const Context& ctx) : ContextWrapper(ctx) {}
135 class Type : public ContextWrapper
149 Type (const Context& ctx) : ContextWrapper(ctx) {}
209 class Attacher : public ContextWrapper
225 : ContextWrapper (ctx)
234 class InputAttacher : public ContextWrapper
241 : ContextWrapper (attache
[all...]
H A DglsLifetimeTests.cpp78 GLint getInteger (ContextWrapper& gl, GLenum queryParam)
131 ContextWrapper::ContextWrapper (const Context& ctx) function in class:deqp::gls::LifetimeTests::details::ContextWrapper
854 // Copy ContextWrapper since MI (except for CallLogWrapper) is a no-no.
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/matchers/
H A DStartedMatcher.java5 import android.content.ContextWrapper;
46 Intent actualStartedIntent = shadowOf((ContextWrapper) actualContext).getNextStartedActivity();
H A DStartedServiceMatcher.java5 import android.content.ContextWrapper;
55 Intent actualStartedIntent = shadowOf((ContextWrapper) actualContext).getNextStartedService();
/external/deqp/modules/gles3/functional/
H A Des3fFboTestCase.hpp43 class FboTestCase : public TestCase, public sglr::ContextWrapper
H A Des3fTextureSpecificationTests.cpp150 class TextureSpecCase : public TestCase, public sglr::ContextWrapper
/external/deqp/modules/gles31/functional/
H A Des31fFboTestCase.hpp43 class FboTestCase : public TestCase, public sglr::ContextWrapper
H A Des31fTextureSpecificationTests.cpp102 class TextureSpecCase : public TestCase, public sglr::ContextWrapper
/external/glide/library/src/main/java/com/bumptech/glide/manager/
H A DRequestManagerRetriever.java7 import android.content.ContextWrapper;
89 } else if (context instanceof ContextWrapper) {
90 return get(((ContextWrapper) context).getBaseContext());
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/res/
H A DRobolectricPackageManager.java10 import android.content.ContextWrapper;
28 private ContextWrapper contextWrapper;
32 public RobolectricPackageManager(ContextWrapper contextWrapper, RobolectricConfig config) {
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
H A DShadowContextWrapper.java7 import android.content.ContextWrapper;
31 @Implements(ContextWrapper.class)
33 @RealObject private ContextWrapper realContextWrapper;
255 * {@link android.content.ContextWrapper#checkPermission(String, int, int)}
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
H A DShadowContextWrapperTest.java16 import android.content.ContextWrapper;
42 private ContextWrapper contextWrapper;
46 contextWrapper = new ContextWrapper(RuntimeEnvironment.application);
262 new ContextWrapper(RuntimeEnvironment.application).registerReceiver(receiver, intentFilter("foo", "baz"));
263 new ContextWrapper(RuntimeEnvironment.application).sendBroadcast(new Intent("foo"));
267 new ContextWrapper(RuntimeEnvironment.application).unregisterReceiver(receiver);
343 Context viewContext = new ContextWrapper(view.getContext());
H A DShadowAppWidgetManagerTest.java16 import android.content.ContextWrapper;
43 assertSame(AppWidgetManager.getInstance(new ContextWrapper(RuntimeEnvironment.application)), appWidgetManager);
H A DShadowAlertDialogTest.java16 import android.content.ContextWrapper;
190 AlertDialog.Builder builder = new AlertDialog.Builder(new ContextWrapper(RuntimeEnvironment.application));
245 AlertDialog.Builder builder = new AlertDialog.Builder(new ContextWrapper(RuntimeEnvironment.application));
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/
H A DRobolectric.java581 public static ShadowContextWrapper shadowOf(ContextWrapper instance) {
/external/deqp/modules/gles2/functional/
H A Des2fTextureSpecificationTests.cpp353 class TextureSpecCase : public TestCase, public sglr::ContextWrapper

Completed in 4533 milliseconds

12