HomeSort by relevance Sort by last modified time
    Searched full:mcontext (Results 76 - 100 of 1623) sorted by null

1 2 34 5 6 7 8 91011>>

  /external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/
WebsiteSettingsPopup.java 38 private final Context mContext;
48 mContext = context;
49 mDialog = new Dialog(mContext);
59 mContainer = new LinearLayout(mContext);
69 View section = LayoutInflater.from(mContext).inflate(R.layout.website_settings, null);
88 View divider = new View(mContext);
89 final int dividerHeight = (int) (2 * mContext.getResources().getDisplayMetrics().density);
98 mCertificateViewer = new TextView(mContext);
112 mMoreInfoLink = new TextView(mContext);
123 ScrollView scrollView = new ScrollView(mContext);
    [all...]
  /cts/tests/tests/widget/src/android/widget/cts/
ProgressBarTest.java 36 private Context mContext;
41 mContext = getInstrumentation().getTargetContext();
45 new ProgressBar(mContext);
47 new ProgressBar(mContext, null);
49 new ProgressBar(mContext, null, android.R.attr.progressBarStyle);
53 ProgressBar progressBar = new ProgressBar(mContext);
63 progressBar = new ProgressBar(mContext, null, android.R.attr.progressBarStyleHorizontal);
74 ProgressBar progressBar = new ProgressBar(mContext);
91 ProgressBar progressBar = new ProgressBar(mContext, null,
109 ProgressBar progressBar = new ProgressBar(mContext, null
    [all...]
AbsSpinnerTest.java 43 private Context mContext;
52 mContext = getInstrumentation().getTargetContext();
57 new Spinner(mContext);
59 new Spinner(mContext, null);
61 new Spinner(mContext, null, com.android.internal.R.attr.spinnerStyle);
63 new Gallery(mContext);
64 new Gallery(mContext, null);
65 new Gallery(mContext, null, 0);
67 XmlPullParser parser = mContext.getResources().getXml(R.layout.gallery_test);
69 new Gallery(mContext, attrs)
    [all...]
ResourceCursorAdapterTest.java 37 private Context mContext;
47 mContext = getInstrumentation().getTargetContext();
48 LayoutInflater layoutInflater = (LayoutInflater) mContext.getSystemService(
55 MockResourceCursorAdapter adapter = new MockResourceCursorAdapter(mContext, -1, null);
60 adapter = new MockResourceCursorAdapter(mContext, R.layout.cursoradapter_item0, mCursor);
65 adapter = new MockResourceCursorAdapter(mContext,
72 mResourceCursorAdapter = new MockResourceCursorAdapter(mContext,
87 mResourceCursorAdapter = new MockResourceCursorAdapter(mContext,
111 mResourceCursorAdapter = new MockResourceCursorAdapter(mContext,
117 mResourceCursorAdapter = new MockResourceCursorAdapter(mContext,
    [all...]
  /packages/apps/ContactsCommon/src/com/android/contacts/common/vcard/
NotificationImportExportListener.java 48 private final Activity mContext;
52 mContext = activity;
61 Toast.makeText(mContext, text, Toast.LENGTH_LONG).show();
72 message = mContext.getString(R.string.vcard_import_will_start_message, displayName);
74 displayName = mContext.getString(R.string.vcard_unknown_filename);
75 message = mContext.getString(
87 final Notification notification = constructProgressNotification(mContext,
101 mContext.getString(R.string.progress_notifier_message,
105 final String description = mContext.getString(R.string.importing_vcard_description,
109 mContext.getApplicationContext(), VCardService.TYPE_IMPORT, description, tickerText
    [all...]
  /cts/tests/tests/graphics/src/android/graphics/drawable/cts/
BitmapDrawableTest.java 48 private Context mContext;
53 mContext = getInstrumentation().getTargetContext();
74 new BitmapDrawable(mContext.getResources());
76 new BitmapDrawable(mContext.getResources(), bitmap);
78 new BitmapDrawable(mContext.getFilesDir().getPath());
85 new BitmapDrawable(mContext.getResources(), (String) null);
89 new BitmapDrawable(mContext.getResources(), (InputStream) null);
95 InputStream source = mContext.getResources().openRawResource(R.raw.testimage);
111 InputStream source = mContext.getResources().openRawResource(R.raw.testimage);
124 InputStream source = mContext.getResources().openRawResource(R.raw.testimage)
    [all...]
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/
ReportExporter.java 43 private final Context mContext;
47 this.mContext = context;
55 return mContext.getString(R.string.no_storage);
59 TestResultsReport report = new TestResultsReport(mContext, mAdapter);
63 return mContext.getString(R.string.test_results_error);
78 return mContext.getString(R.string.no_storage);
89 return mContext.getString(R.string.report_saved, reportFile.getPath());
105 new AlertDialog.Builder(mContext)
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/p2p/testcase/
ServReqRemoveRequestTestCase.java 57 mReason = mContext.getString(R.string.p2p_add_service_request_error);
62 mReason = mContext.getString(R.string.p2p_add_service_request_error);
67 mReason = mContext.getString(R.string.p2p_add_service_request_error);
72 mReason = mContext.getString(R.string.p2p_add_service_request_error);
81 mReason = mContext.getString(R.string.p2p_remove_service_request_error);
86 mReason = mContext.getString(R.string.p2p_remove_service_request_error);
91 mReason = mContext.getString(R.string.p2p_remove_service_request_error);
113 mReason = mContext.getString(R.string.p2p_discover_services_error);
TestCase.java 49 protected Context mContext;
69 mContext = context;
89 mListener.onTestFailed(mContext.getString(R.string.p2p_setup_error));
102 mContext.getString(R.string.p2p_unexpected_error));
145 mP2pMgr = (WifiP2pManager) mContext.getSystemService(Context.WIFI_P2P_SERVICE);
146 mWifiMgr = (WifiManager) mContext.getSystemService(Context.WIFI_SERVICE);
147 mChannel = mP2pMgr.initialize(mContext, mContext.getMainLooper(), null);
148 mSubChannel = mP2pMgr.initialize(mContext, mContext.getMainLooper(), null)
    [all...]
  /frameworks/base/tests/FrameworkPerf/src/com/android/frameworkperf/
TestService.java 595 Context mContext;
602 mContext = context;
606 XmlResourceParser parser = mContext.getResources().getLayout(R.xml.simple);
613 Context mContext;
622 mContext = context;
623 mParser = mContext.getResources().getLayout(R.xml.simple);
652 TypedArray a = mContext.obtainStyledAttributes(mAttrs,
660 Context mContext;
667 mContext = context;
671 SimpleInflater inf = new SimpleInflater(mContext);
    [all...]
  /cts/tests/tests/view/src/android/view/cts/
GestureDetectorTest.java 30 private Context mContext;
41 mContext = getInstrumentation().getTargetContext();
55 new GestureDetector(mContext, new SimpleOnGestureListener(), new Handler());
56 new GestureDetector(mContext, new SimpleOnGestureListener());
ViewStubTest.java 41 private Context mContext;
51 mContext = getInstrumentation().getContext();
60 new ViewStub(mContext);
62 new ViewStub(mContext, 10);
64 new ViewStub(mContext, attrs);
66 new ViewStub(mContext, attrs, 30);
70 ViewStub viewStub = new ViewStub(mContext);
99 final ViewStub viewStub2 = new ViewStub(mContext);
110 ViewStub viewStub = new ViewStub(mContext);
123 ViewStub viewStub = new ViewStub(mContext);
    [all...]
  /frameworks/base/services/java/com/android/server/
SerialService.java 28 private final Context mContext;
32 mContext = context;
38 mContext.enforceCallingOrSelfPermission(android.Manifest.permission.SERIAL_PORT, null);
53 mContext.enforceCallingOrSelfPermission(android.Manifest.permission.SERIAL_PORT, null);
  /packages/apps/Browser/src/com/android/browser/
BrowserWebViewFactory.java 29 private final Context mContext;
32 mContext = context;
37 return new BrowserWebView(mContext, attrs, defStyle, privateBrowsing);
58 final PackageManager pm = mContext.getPackageManager();
  /packages/apps/Calculator/src/com/android/calculator2/
Persist.java 33 private Context mContext;
39 this.mContext = context;
52 InputStream is = new BufferedInputStream(mContext.openFileInput(FILE_NAME), 8192);
71 OutputStream os = new BufferedOutputStream(mContext.openFileOutput(FILE_NAME, 0), 8192);
  /packages/apps/Contacts/tests/src/com/android/contacts/
ContactDetailTest.java 28 private ContactsMockContext mContext;
38 mContext = new ContactsMockContext(getInstrumentation().getTargetContext());
39 mContactsProvider = mContext.getContactsProvider();
40 setActivityContext(mContext);
  /packages/apps/Mms/src/com/android/mms/util/
DownloadManager.java 62 private final Context mContext;
113 mContext = context;
190 NotificationInd nInd = (NotificationInd) PduPersister.getPduPersister(mContext)
196 Toast.makeText(mContext, R.string.service_message_not_found,
200 SqliteWrapper.delete(mContext, mContext.getContentResolver(), uri, null, null);
213 Toast.makeText(mContext, getMessage(uri),
228 SqliteWrapper.update(mContext, mContext.getContentResolver(),
237 Toast.makeText(mContext, errStr, Toast.LENGTH_LONG).show()
    [all...]
  /packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/
MockIconLoader.java 34 private final Context mContext;
37 mContext = context;
45 mContext.getResources().getDrawable(android.R.drawable.star_on));
55 .authority(mContext.getPackageName())
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
TargetPackageInfoGetterTask.java 44 private Context mContext;
49 mContext = context;
55 final PackageManager pm = mContext.getPackageManager();
56 mContext = null; // Bazooka-powered anti-leak device
  /external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/identity/
SettingsSecureBasedIdentificationGenerator.java 22 private final Context mContext;
27 mContext = context.getApplicationContext();
44 return Settings.Secure.getString(mContext.getContentResolver(), Settings.Secure.ANDROID_ID);
  /external/chromium_org/chrome/android/javatests/src/org/chromium/chrome/browser/test/
ProviderTestBase.java 22 private IsolatedContext mContext;
38 mContext = new IsolatedContext(resolver, activity);
43 return mContext.getContentResolver();
  /external/chromium_org/content/public/android/java/src/org/chromium/content/browser/input/
InputMethodManagerWrapper.java 17 private final Context mContext;
20 mContext = context;
24 return (InputMethodManager) mContext.getSystemService(Context.INPUT_METHOD_SERVICE);
  /external/chromium_org/ui/android/java/src/org/chromium/ui/autofill/
AutofillListAdapter.java 25 private Context mContext;
29 mContext = context;
37 (LayoutInflater) mContext.getSystemService(Context.LAYOUT_INFLATER_SERVICE);
  /frameworks/base/media/tests/EffectsTest/src/com/android/effectstest/
EffectsTest.java 103 private Context mContext;
109 mContext = context;
135 ev = new EffectView(mContext, mDescriptors);
138 ev = new EffectView(mContext, mDescriptors);
147 private Context mContext;
153 mContext = context;
181 TextView tv = new TextView(mContext);
185 tv = new TextView(mContext);
189 tv = new TextView(mContext);
193 tv = new TextView(mContext);
    [all...]
  /frameworks/base/packages/SystemUI/src/com/android/systemui/settings/
CurrentUserTracker.java 28 private Context mContext;
35 mContext = context;
54 mContext.unregisterReceiver(this);

Completed in 702 milliseconds

1 2 34 5 6 7 8 91011>>