Home
last modified time | relevance | path

Searched refs:ContextWrapper (Results 1 – 20 of 20) sorted by relevance

/external/deqp/framework/opengl/simplereference/
DsglrContextWrapper.cpp30 ContextWrapper::ContextWrapper (void) in ContextWrapper() function in sglr::ContextWrapper
35 ContextWrapper::~ContextWrapper (void) in ~ContextWrapper()
39 void ContextWrapper::setContext (Context* context) in setContext()
44 Context* ContextWrapper::getCurrentContext (void) const in getCurrentContext()
49 int ContextWrapper::getWidth (void) const in getWidth()
54 int ContextWrapper::getHeight (void) const in getHeight()
59 void ContextWrapper::glViewport (int x, int y, int width, int height) in glViewport()
64 void ContextWrapper::glActiveTexture (deUint32 texture) in glActiveTexture()
69 void ContextWrapper::glBindTexture (deUint32 target, deUint32 texture) in glBindTexture()
74 void ContextWrapper::glGenTextures (int numTextures, deUint32* textures) in glGenTextures()
[all …]
DsglrContextWrapper.hpp35 class ContextWrapper class
38 ContextWrapper (void);
39 ~ContextWrapper (void);
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/
DAlertDialogTest.java17 import android.content.ContextWrapper;
33 AlertDialog.Builder builder = new AlertDialog.Builder(new ContextWrapper(null)); in testBuilder()
53 AlertDialog dialog = new AlertDialog.Builder(new ContextWrapper(null)).show(); in getLatestAlertDialog_shouldReturnARealAlertDialog()
59 AlertDialog.Builder builder = new AlertDialog.Builder(new ContextWrapper(null)); in shouldOnlyCreateRequestedButtons()
69 AlertDialog.Builder builder = new AlertDialog.Builder(new ContextWrapper(null)); in shouldAllowNullButtonListeners()
78 AlertDialog.Builder builder = new AlertDialog.Builder(new ContextWrapper(null)); in testSetMessageAfterCreation()
104 ContextWrapper context = new ContextWrapper(null); in shouldSetView()
115 ContextWrapper context = new ContextWrapper(null); in shouldSetCustomTitleView()
126 final AlertDialog alertDialog = new AlertDialog.Builder(new ContextWrapper(null)) in shouldSetThePositiveButtonAfterCreation()
141 final AlertDialog alertDialog = new AlertDialog.Builder(new ContextWrapper(null)) in shouldSetTheNegativeButtonAfterCreation()
[all …]
DContextWrapperTest.java7 import android.content.ContextWrapper;
33 private ContextWrapper contextWrapper;
37 contextWrapper = new ContextWrapper(new Activity()); in setUp()
93 …new ContextWrapper(Robolectric.application).registerReceiver(receiver, intentFilter("foo", "baz")); in broadcastReceivers_shouldBeSharedAcrossContextsPerApplicationContext()
94 new ContextWrapper(Robolectric.application).sendBroadcast(new Intent("foo")); in broadcastReceivers_shouldBeSharedAcrossContextsPerApplicationContext()
98 new ContextWrapper(Robolectric.application).unregisterReceiver(receiver); in broadcastReceivers_shouldBeSharedAcrossContextsPerApplicationContext()
DLayoutInflaterTest.java3 import android.content.ContextWrapper;
27 … assertSame(LayoutInflater.from(new ContextWrapper(Robolectric.application)), layoutInflater); in getInstance_shouldReturnSameInstance()
DAppWidgetManagerTest.java7 import android.content.ContextWrapper;
36 …assertSame(AppWidgetManager.getInstance(new ContextWrapper(Robolectric.application)), appWidgetMan… in getInstance_shouldReturnSameInstance()
DApplicationTest.java8 import android.content.ContextWrapper;
66 …assertEquals("title from resourceLoader1", new ContextWrapper(app1).getResources().getString(R.id.… in shouldBeBindableToAResourceLoader()
67 …assertEquals("title from resourceLoader2", new ContextWrapper(app2).getResources().getString(R.id.… in shouldBeBindableToAResourceLoader()
/external/deqp/modules/glshared/
DglsLifetimeTests.hpp80 class ContextWrapper : public CallLogWrapper class
94 ContextWrapper (const Context& ctx);
98 class Binder : public ContextWrapper
107 Binder (const Context& ctx) : ContextWrapper(ctx) {} in Binder()
135 class Type : public ContextWrapper
149 Type (const Context& ctx) : ContextWrapper(ctx) {} in Type()
209 class Attacher : public ContextWrapper
225 : ContextWrapper (ctx) in Attacher()
234 class InputAttacher : public ContextWrapper
241 : ContextWrapper (attacher.getContext()) in InputAttacher()
[all …]
DglsLifetimeTests.cpp78 GLint getInteger (ContextWrapper& gl, GLenum queryParam) in getInteger()
131 ContextWrapper::ContextWrapper (const Context& ctx) in ContextWrapper() function in deqp::gls::LifetimeTests::details::ContextWrapper
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowContextWrapper.java7 import android.content.ContextWrapper;
31 @Implements(ContextWrapper.class)
33 @RealObject private ContextWrapper realContextWrapper;
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/matchers/
DStartedMatcher.java5 import android.content.ContextWrapper;
46 … Intent actualStartedIntent = shadowOf((ContextWrapper) actualContext).getNextStartedActivity(); in matchesSafely()
DStartedServiceMatcher.java5 import android.content.ContextWrapper;
55 … Intent actualStartedIntent = shadowOf((ContextWrapper) actualContext).getNextStartedService(); in matchesSafely()
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/res/
DRobolectricPackageManager.java10 import android.content.ContextWrapper;
28 private ContextWrapper contextWrapper;
32 public RobolectricPackageManager(ContextWrapper contextWrapper, RobolectricConfig config) { in RobolectricPackageManager()
/external/glide/library/src/main/java/com/bumptech/glide/manager/
DRequestManagerRetriever.java7 import android.content.ContextWrapper;
89 } else if (context instanceof ContextWrapper) { in get()
90 return get(((ContextWrapper) context).getBaseContext()); in get()
/external/deqp/modules/gles3/functional/
Des3fFboTestCase.hpp43 class FboTestCase : public TestCase, public sglr::ContextWrapper
Des3fTextureSpecificationTests.cpp150 class TextureSpecCase : public TestCase, public sglr::ContextWrapper
/external/deqp/modules/gles31/functional/
Des31fFboTestCase.hpp43 class FboTestCase : public TestCase, public sglr::ContextWrapper
Des31fTextureSpecificationTests.cpp102 class TextureSpecCase : public TestCase, public sglr::ContextWrapper
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/
DRobolectric.java581 public static ShadowContextWrapper shadowOf(ContextWrapper instance) { in shadowOf()
/external/deqp/modules/gles2/functional/
Des2fTextureSpecificationTests.cpp353 class TextureSpecCase : public TestCase, public sglr::ContextWrapper