Searched refs:mContext (Results 26 - 50 of 553) sorted by relevance

1234567891011>>

/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/EN/
H A DClearUserDictionaryDialogPreferenceEN.java32 protected Context mContext = null; field in class:ClearUserDictionaryDialogPreferenceEN
42 mContext = context;
62 Toast.makeText(mContext.getApplicationContext(), R.string.dialog_clear_user_dictionary_done,
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/JAJP/
H A DClearLearnDictionaryDialogPreferenceJAJP.java32 protected Context mContext = null; field in class:ClearLearnDictionaryDialogPreferenceJAJP
42 mContext = context;
62 Toast.makeText(mContext.getApplicationContext(), R.string.dialog_clear_learning_dictionary_done,
H A DClearUserDictionaryDialogPreferenceJAJP.java32 protected Context mContext = null; field in class:ClearUserDictionaryDialogPreferenceJAJP
42 mContext = context;
62 Toast.makeText(mContext.getApplicationContext(), R.string.dialog_clear_user_dictionary_done,
/packages/inputmethods/PinyinIME/src/com/android/inputmethod/pinyin/
H A DSoundManager.java27 private Context mContext; field in class:SoundManager
34 mContext = context;
40 mAudioManager = (AudioManager) mContext
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
H A DCountryMonitor.java35 private Context mContext; field in class:CountryMonitor
38 mContext = context;
49 (CountryDetector) mContext.getSystemService(Context.COUNTRY_DETECTOR);
H A DVoicemailPermissions.java28 private final Context mContext; field in class:VoicemailPermissions
31 mContext = context;
85 return mContext.getPackageManager().checkPermission(permission, packageName)
96 return mContext.checkCallingOrSelfPermission(permission)
/packages/apps/UnifiedEmail/src/com/android/mail/
H A DFormattedDateBuilder.java35 private Context mContext; field in class:FormattedDateBuilder
38 mContext = context;
44 return DateUtils.getRelativeTimeSpanString(mContext, when);
48 final Resources resources = mContext.getResources();
63 DateUtils.formatDateRange(mContext, dateFormatter, when, when,
71 DateUtils.formatDateRange(mContext, dateFormatter, when, when,
/packages/apps/ContactsCommon/src/com/android/contacts/common/vcard/
H A DNotificationImportExportListener.java48 private final Activity mContext; field in class:NotificationImportExportListener
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
[all...]
/packages/services/Telephony/src/com/android/phone/
H A DNotificationMgr.java103 private Context mContext; field in class:NotificationMgr
134 mContext = app;
268 mQueryHandler = new QueryHandler(mContext.getContentResolver());
393 0, mContext, personUri, this, n);
480 mContext);
515 callName = mContext.getString(R.string.unknown);
526 expandedText = mContext.getString(R.string.notification_missedCallsMsg,
530 Notification.Builder builder = new Notification.Builder(mContext);
532 .setTicker(mContext.getString(R.string.notification_missedCallTicker, callName))
534 .setContentTitle(mContext
[all...]
/packages/apps/Browser/src/com/android/browser/
H A DBrowserWebViewFactory.java29 private final Context mContext; field in class:BrowserWebViewFactory
32 mContext = context;
37 return new BrowserWebView(mContext, attrs, defStyle, privateBrowsing);
58 final PackageManager pm = mContext.getPackageManager();
/packages/apps/Calculator/src/com/android/calculator2/
H A DPersist.java33 private Context mContext; field in class:Persist
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/ContactsCommon/tests/src/com/android/contacts/common/tests/testauth/
H A DTestSyncAdapter.java37 private final Context mContext; field in class:TestSyncAdapter
41 mContext = context.getApplicationContext();
42 mAccountManager = AccountManager.get(mContext);
54 ContentResolver cr = mContext.getContentResolver();
/packages/apps/Dialer/tests/src/com/android/dialer/util/
H A DLocaleTestUtils.java60 private final Context mContext; field in class:LocaleTestUtils
71 mContext = context;
86 mSavedContextLocale = setResourcesLocale(mContext.getResources(), locale);
100 setResourcesLocale(mContext.getResources(), mSavedContextLocale);
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
H A DCacheStorageUsageInfo.java44 private Context mContext; field in class:CacheStorageUsageInfo
49 mContext = activity.getAndroidContext();
57 File cacheDir = mContext.getExternalCacheDir();
59 cacheDir = mContext.getCacheDir();
/packages/apps/Launcher2/src/com/android/launcher2/
H A DLauncherAppWidgetHostView.java35 private Context mContext; field in class:LauncherAppWidgetHostView
40 mContext = context;
53 mPreviousOrientation = mContext.getResources().getConfiguration().orientation;
58 int orientation = mContext.getResources().getConfiguration().orientation;
/packages/apps/Mms/src/com/android/mms/layout/
H A DLayoutManager.java32 private final Context mContext; field in class:LayoutManager
38 mContext = context;
57 return new HVGALayoutParameters(mContext, LayoutParameters.HVGA_LANDSCAPE);
59 return new HVGALayoutParameters(mContext, LayoutParameters.HVGA_PORTRAIT);
/packages/apps/Mms/src/com/android/mms/util/
H A DDownloadManager.java62 private final Context mContext; field in class:DownloadManager
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, errSt
[all...]
/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/
H A DMockIconLoader.java34 private final Context mContext; field in class:MockIconLoader
37 mContext = context;
45 mContext.getResources().getDrawable(android.R.drawable.star_on));
55 .authority(mContext.getPackageName())
/packages/apps/Settings/src/com/android/settings/wifi/
H A DWpsDialog.java65 private Context mContext; field in class:WpsDialog
79 mContext = context;
86 mContext.getString(R.string.wifi_wps_onstart_pin), pin));
88 updateDialog(DialogState.WPS_START, mContext.getString(
94 mContext.getString(R.string.wifi_wps_complete));
101 msg = mContext.getString(R.string.wifi_wps_failed_overlap);
104 msg = mContext.getString(R.string.wifi_wps_failed_wep);
107 msg = mContext.getString(R.string.wifi_wps_failed_tkip);
110 msg = mContext.getString(R.string.wifi_wps_in_progress);
113 msg = mContext
[all...]
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
H A DAbstractDictionaryWriter.java35 private final Context mContext; field in class:AbstractDictionaryWriter
39 mContext = context;
68 final File file = new File(mContext.getFilesDir(), fileName);
69 final File tempFile = new File(mContext.getFilesDir(), tempFileName);
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
H A DTargetPackageInfoGetterTask.java44 private Context mContext; field in class:TargetPackageInfoGetterTask
49 mContext = context;
55 final PackageManager pm = mContext.getPackageManager();
56 mContext = null; // Bazooka-powered anti-leak device
/packages/apps/Email/tests/src/com/android/email/activity/setup/
H A DAccountSettingsTests.java48 private Context mContext; field in class:AccountSettingsTests
64 mContext = getInstrumentation().getTargetContext();
74 mContext.getContentResolver().delete(uri, null, null);
160 HostAuth.setHostAuthFromString(mAccount.getOrCreateHostAuthRecv(mContext), storeUri);
161 HostAuth.setHostAuthFromString(mAccount.getOrCreateHostAuthSend(mContext), senderUri);
162 mAccount.save(mContext);
165 return AccountSettings.createAccountSettingsIntent(mContext, mAccountId, null);
/packages/apps/Exchange/tests/src/com/android/exchange/adapter/
H A DSyncAdapterTestCase.java37 public Context mContext; field in class:SyncAdapterTestCase
51 mContext = getContext();
53 mProviderContext = mContext;
54 mResolver = mContext.getContentResolver();
87 service.mContext = mContext;
90 service.mContentResolver = mContext.getContentResolver();
/packages/apps/Gallery/tests/src/com/android/camera/
H A DBitmapManagerUnitTests.java33 Context mContext; field in class:BitmapManagerUnitTests
53 mContext = getContext();
56 mContext.getContentResolver(),
78 mBitmapManager.cancelThreadDecoding(t, mContext.getContentResolver());
99 mBitmapManager.cancelThreadDecoding(t, mContext.getContentResolver());
111 mBitmapManager.cancelThreadDecoding(t, mContext.getContentResolver());
126 mBitmapManager.cancelThreadDecoding(t2, mContext.getContentResolver());
/packages/apps/UnifiedEmail/src/com/android/mail/ui/
H A DSuppressNotificationReceiver.java43 private Context mContext; field in class:SuppressNotificationReceiver
54 mContext = context;
83 return mContext != null;
91 if (mContext != null) {
92 mContext.unregisterReceiver(this);
93 mContext = null;
105 return mContext != null && TextUtils.equals(account.mimeType, mMimeType);

Completed in 9255 milliseconds

1234567891011>>