/cts/tests/tests/content/src/android/content/res/cts/ |
Resources_ThemeTest.java | 39 mResTheme = getContext().getResources().newTheme(); 48 final Theme other = getContext().getTheme(); 66 XmlPullParser parser = getContext().getResources().getXml(R.xml.colors); 77 getContext().getResources().getValue(R.raw.testmp3, value, true);
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
RenderScriptTest.java | 31 RenderScript mRS = RenderScript.create(getContext()); 33 getContext().getResources(), R.raw.passthrough); 48 RenderScript mRS = RenderScript.create(getContext()); 52 getContext().getApplicationContext());
|
/external/chromium_org/content/public/android/java/src/org/chromium/content/browser/ |
SelectActionModeCallback.java | 83 protected Context getContext() { 147 Intent i = Intent.createChooser(send, getContext().getString( 150 getContext().startActivity(i); 161 i.putExtra(Browser.EXTRA_APPLICATION_ID, getContext().getPackageName()); 162 if (!(getContext() instanceof Activity)) { 166 getContext().startActivity(i); 185 getContext().getSystemService(Context.CLIPBOARD_SERVICE); 192 return getContext().getPackageManager() 199 return getContext().getPackageManager()
|
/external/chromium_org/content/test/data/gpu/ |
functional_canvas_demo.html | 11 var ctx = c.getContext('2d');
|
/external/chromium_org/third_party/WebKit/ManualTests/ |
canvas-font-speed-switching.html | 10 var context = canvas.getContext('2d');
|
canvas-font-speed.html | 10 var context = canvas.getContext('2d');
|
/external/chromium_org/tools/perf/page_sets/tough_canvas_cases/canvas2d_balls_common/ |
bouncing_balls_draw_back_as_aligned_canvas.js | 12 var backContext = backImageCanvas.getContext('2d');
|
bouncing_balls_draw_back_as_aligned_image_data.js | 12 var backContext = backImageCanvas.getContext('2d');
|
bouncing_balls_draw_back_as_canvas.js | 12 var backContext = backImageCanvas.getContext('2d');
|
/external/llvm/lib/Target/X86/ |
X86TargetObjectFile.cpp | 30 MCSymbolRefExpr::Create(Sym, MCSymbolRefExpr::VK_GOTPCREL, getContext()); 31 const MCExpr *Four = MCConstantExpr::Create(4, getContext()); 32 return MCBinaryExpr::CreateAdd(Res, Four, getContext()); 54 return MCSymbolRefExpr::Create(Sym, MCSymbolRefExpr::VK_DTPOFF, getContext());
|
/frameworks/base/core/tests/coretests/src/android/app/activity/ |
IntentSenderTest.java | 33 PendingIntent is = PendingIntent.getBroadcast(getContext(), 0, 54 PendingIntent is = PendingIntent.getBroadcast(getContext(), 0, intent, 0); 62 PendingIntent is = PendingIntent.getBroadcast(getContext(), 0, 81 PendingIntent is = PendingIntent.getBroadcast(getContext(), 0, intent, 0);
|
/packages/apps/Dialer/tests/src/com/android/dialer/calllog/ |
CallLogAdapterTest.java | 56 new ContactInfoHelper(getContext(), TEST_COUNTRY_ISO) { 66 mAdapter = new TestCallLogAdapter(getContext(), fakeCallFetcher, fakeContactInfoHelper); 71 mView = new View(getContext()); 72 mView.setTag(CallLogListItemViews.createForTest(getContext())); 87 mAdapter.bindStandAloneView(mView, getContext(), mCursor); 105 mAdapter.bindStandAloneView(mView, getContext(), mCursor); 123 mAdapter.bindStandAloneView(mView, getContext(), mCursor); 138 mAdapter.bindStandAloneView(mView, getContext(), mCursor); 153 mAdapter.bindStandAloneView(mView, getContext(), mCursor);
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
PackageManagerSettingsTests.java | 63 writeFile(new File(getContext().getFilesDir(), "system/packages.xml"), 103 writeFile(new File(getContext().getFilesDir(), "system/packages-stopped.xml"), 113 writeFile(new File(getContext().getFilesDir(), "system/packages.list"), 141 Settings settings = new Settings(getContext(), getContext().getFilesDir()); 159 Settings settings = new Settings(getContext(), getContext().getFilesDir()); 163 settings = new Settings(getContext(), getContext().getFilesDir()); 174 Settings settings = new Settings(getContext(), getContext().getFilesDir()) [all...] |
/packages/apps/Exchange/tests/src/com/android/exchange/ |
CalendarSyncEnablerTest.java | 61 for (Account account : AccountManager.get(getContext()).getAccounts()) { 93 CalendarSyncEnabler enabler = new CalendarSyncEnabler(getContext()); 111 enabler = new CalendarSyncEnabler(getContext()); 160 for (Account account : AccountManager.get(getContext()).getAccounts()) { 181 if (AccountManager.get(getContext()).getAccountsByType(EAT).length > 0) { 186 CalendarSyncEnabler enabler = new CalendarSyncEnabler(getContext()); 197 CalendarSyncEnabler enabler = new CalendarSyncEnabler(getContext()); 205 ((NotificationManager) getContext().getSystemService(Context.NOTIFICATION_SERVICE)) 210 return AccountManager.get(getContext()).getAccountsByType(EAT); 219 AccountManager.get(getContext()).addAccountExplicitly(account, "password", null) [all...] |
/cts/hostsidetests/appsecurity/test-apps/InstrumentationAppDiffCert/src/com/android/cts/instrumentationdiffcertapp/ |
InstrumentationFailToRunTest.java | 31 Context myContext = getInstrumentation().getContext(); 37 getInstrumentation().getContext().startInstrumentation(appDiffCertInstrumentation,
|
/cts/tests/tests/app/src/android/app/cts/ |
AliasActivityTest.java | 31 intent.setClass(getContext(), AliasActivityStub.class); 36 getContext().startActivity(intent);
|
FragmentTest.java | 42 assertNotNull(Fragment.instantiate(getContext(), TestFragment.class.getName())); 47 Fragment.instantiate(getContext(), TestNotFragment.class.getName());
|
/cts/tests/tests/holo/src/android/holo/cts/modifiers/ |
ProgressDialogBuilder.java | 36 Context context = view.getContext(); 37 ProgressDialog progressDialog = new ProgressDialog(view.getContext());
|
/cts/tests/tests/view/src/android/view/cts/ |
NumberPickerTest.java | 25 NumberPicker numberPicker = new NumberPicker(getContext()); 32 NumberPicker numberPicker = new NumberPicker(getContext());
|
/external/chromium_org/ui/gl/ |
gl_share_group.cc | 31 GLContext* context = GetContext(); 38 GLContext* GLShareGroup::GetContext() {
|
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/ |
ContentProviderTest.java | 64 assertThat(provider.getContext(), is(notNullValue())); 68 assertThat(provider.getContext().getContentResolver(), is(notNullValue()));
|
/frameworks/base/core/tests/coretests/src/android/content/ |
BrickDeniedTest.java | 29 getContext().sendBroadcast(new Intent("SHES_A_BRICK_HOUSE")); 30 getContext().sendBroadcast(new Intent("android.intent.action.BRICK"));
|
/frameworks/base/core/tests/coretests/src/android/os/ |
SELinuxTest.java | 22 String mycon = SELinux.getContext(); 38 String mycon = SELinux.getContext();
|
/frameworks/base/services/tests/servicestests/src/com/android/server/ |
EntropyMixerTest.java | 31 File dir = getContext().getDir("testInitialWrite", Context.MODE_PRIVATE); 37 new EntropyMixer(getContext(), "/dev/null", file.getCanonicalPath());
|
/packages/apps/Camera2/src/com/android/camera/util/ |
AccessibilityUtils.java | 21 Context ctx = view.getContext(); 30 event.setPackageName(view.getContext().getPackageName());
|