/packages/apps/Mms/tests/src/com/android/mms/ui/ |
H A D | ConversationListTests.java | 33 private Context mContext; field in class:ConversationListTests 42 mContext = getInstrumentation().getTargetContext();
|
/packages/apps/Contacts/src/com/android/contacts/list/ |
H A D | ContactsIntentResolver.java | 49 private final Activity mContext; field in class:ContactsIntentResolver 52 this.mContext = context; 78 final String resolvedType = intent.resolveType(mContext); 139 final String resolvedType = intent.resolveType(mContext);
|
/packages/apps/Contacts/tests/src/com/android/contacts/ |
H A D | ContactDetailTest.java | 28 private ContactsMockContext mContext; field in class:ContactDetailTest 38 mContext = new ContactsMockContext(getInstrumentation().getTargetContext()); 39 mContactsProvider = mContext.getContactsProvider(); 40 setActivityContext(mContext);
|
/packages/apps/Email/src/com/android/email/service/ |
H A D | AccountService.java | 44 private Context mContext; field in class:AccountService 50 NotificationController.getInstance(mContext).showLoginFailedNotification(accountId); 55 NotificationController.getInstance(mContext).cancelLoginFailedNotification(accountId); 60 Cursor c = mContext.getContentResolver().query(Account.CONTENT_URI, 65 String protocol = Account.getProtocol(mContext, accountId); 67 Account account = Account.restoreAccountWithId(mContext, accountId); 83 AccountManager.get(mContext).getAccountsByType(accountManagerType); 84 AccountReconciler.reconcileAccounts(mContext, providerList, accountMgrList, mContext); 89 return ResourceHelper.getInstance(mContext) [all...] |
H A D | PolicyService.java | 31 private Context mContext; field in class:PolicyService 47 SecurityPolicy.setAccountHoldFlag(mContext, accountId, newState); 74 mContext = this;
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ |
H A D | TextAppearanceFactory.java | 26 private final Context mContext; field in class:TextAppearanceFactory 29 mContext = context; 34 new TextAppearanceSpan(mContext, R.style.SuggestionText1_Query) 40 new TextAppearanceSpan(mContext, R.style.SuggestionText1_Suggested)
|
/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/ |
H A D | MockIconLoader.java | 34 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/providers/ContactsProvider/src/com/android/providers/contacts/ |
H A D | CountryMonitor.java | 33 private Context mContext; field in class:CountryMonitor 36 mContext = context; 47 (CountryDetector) mContext.getSystemService(Context.COUNTRY_DETECTOR);
|
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/ |
H A D | BluetoothOppTransferAdapter.java | 58 private Context mContext; field in class:BluetoothOppTransferAdapter 62 mContext = context; 88 title = mContext.getString(R.string.unknown_file); 107 tv.setText(BluetoothOppUtility.getStatusDescription(mContext, status, deviceName)); 112 mContext, totalBytes)); 115 mContext, totalBytes)); 123 CharSequence str = DateUtils.isToday(time) ? DateFormat.getTimeFormat(mContext).format( 124 d) : DateFormat.getDateFormat(mContext).format(d);
|
/packages/apps/Browser/src/com/android/browser/ |
H A D | BrowserWebViewFactory.java | 29 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();
|
H A D | FetchUrlMimeType.java | 50 private Context mContext; field in class:FetchUrlMimeType 58 mContext = context.getApplicationContext(); 72 httpHost = Proxy.getPreferredHttpHost(mContext, mUri); 134 DownloadManager manager = (DownloadManager) mContext.getSystemService(
|
H A D | KeyChainLookup.java | 28 private final Context mContext; field in class:KeyChainLookup 32 mContext = context.getApplicationContext(); 40 privateKey = KeyChain.getPrivateKey(mContext, mAlias); 41 certificateChain = KeyChain.getCertificateChain(mContext, mAlias);
|
/packages/apps/Calculator/src/com/android/calculator2/ |
H A D | Persist.java | 33 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/Camera/src/com/android/camera/ |
H A D | PreferenceInflater.java | 44 private Context mContext; field in class:PreferenceInflater 47 mContext = context; 51 return inflate(mContext.getResources().getXml(resId)); 61 Class<?> clazz = mContext.getClassLoader().loadClass(name); 79 Object args[] = new Object[]{mContext, attrs};
|
/packages/apps/Contacts/src/com/android/contacts/preference/ |
H A D | DisplayOrderPreference.java | 33 private Context mContext; field in class:DisplayOrderPreference 46 mContext = getContext(); 47 mPreferences = new ContactsPreferences(mContext); 49 mContext.getString(R.string.display_options_view_given_name_first), 50 mContext.getString(R.string.display_options_view_family_name_first), 68 return mContext.getString(R.string.display_options_view_given_name_first); 70 return mContext.getString(R.string.display_options_view_family_name_first);
|
H A D | SortOrderPreference.java | 33 private Context mContext; field in class:SortOrderPreference 46 mContext = getContext(); 47 mPreferences = new ContactsPreferences(mContext); 49 mContext.getString(R.string.display_options_sort_by_given_name), 50 mContext.getString(R.string.display_options_sort_by_family_name), 68 return mContext.getString(R.string.display_options_sort_by_given_name); 70 return mContext.getString(R.string.display_options_sort_by_family_name);
|
/packages/apps/Contacts/src/com/android/contacts/util/ |
H A D | EmptyLoader.java | 41 private final Context mContext; field in class:EmptyLoader.Callback 44 mContext = context.getApplicationContext(); 49 return new EmptyLoader(mContext);
|
/packages/apps/Contacts/tests/src/com/android/contacts/tests/testauth/ |
H A D | TestSyncAdapter.java | 37 private final Context mContext; field in class:TestSyncAdapter 41 mContext = context.getApplicationContext(); 42 mAccountManager = AccountManager.get(mContext); 54 ContentResolver cr = mContext.getContentResolver();
|
/packages/apps/Contacts/tests/src/com/android/contacts/util/ |
H A D | LocaleTestUtils.java | 60 private final Context mContext; field in class:LocaleTestUtils 71 mContext = context; 86 mSavedContextLocale = setResourcesLocale(mContext.getResources(), locale); 100 setResourcesLocale(mContext.getResources(), mSavedContextLocale);
|
/packages/apps/Email/tests/src/com/android/email/activity/setup/ |
H A D | AccountSetupAccountTypeTests.java | 43 Context mContext; field in class:AccountSetupAccountTypeTests 53 mContext = this.getInstrumentation().getTargetContext(); 63 mContext.getContentResolver().delete(uri, null, null); 91 HostAuth auth = account.getOrCreateHostAuthRecv(mContext); 93 account.save(mContext);
|
/packages/apps/Exchange/exchange2/src/com/android/exchange/ |
H A D | CalendarSyncEnabler.java | 43 private final Context mContext; field in class:CalendarSyncEnabler 46 this.mContext = context; 69 Account[] exchangeAccounts = AccountManager.get(mContext) 98 PendingIntent launchCalendarPendingIntent = PendingIntent.getActivity(mContext, 0, 101 String tickerText = mContext.getString(R.string.notification_exchange_calendar_added); 104 n.setLatestEventInfo(mContext, tickerText, emailAddresses, launchCalendarPendingIntent); 108 (NotificationManager) mContext.getSystemService(Context.NOTIFICATION_SERVICE);
|
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
H A D | PanoramaMetadataJob.java | 28 Context mContext; field in class:PanoramaMetadataJob 32 mContext = context; 38 return LightCycleHelper.getPanoramaMetadata(mContext, mUri);
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
H A D | ResourceTexture.java | 29 protected final Context mContext; field in class:ResourceTexture 33 mContext = Utils.checkNotNull(context); 43 mContext.getResources(), mResId, options);
|
/packages/apps/LegacyCamera/src/com/android/camera/ |
H A D | CameraPreference.java | 34 private final Context mContext; field in class:CameraPreference 43 mContext = context; 56 mSharedPreferences = ComboPreferences.get(mContext);
|
H A D | PreferenceInflater.java | 44 private Context mContext; field in class:PreferenceInflater 47 mContext = context; 51 return inflate(mContext.getResources().getXml(resId)); 61 Class<?> clazz = mContext.getClassLoader().loadClass(name); 79 Object args[] = new Object[]{mContext, attrs};
|