/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 | 39 private Context mContext; field in class:AccountService 45 NotificationController nc = NotificationController.getInstance(mContext); 51 NotificationController.getInstance(mContext).cancelLoginFailedNotification(accountId); 61 return ResourceHelper.getInstance(mContext).getAccountColor(accountId); 68 VendorPolicyLoader.getInstance(mContext).useAlternateExchangeStrings()); 79 EmailServiceUtils.startRemoteServices(mContext); 81 MailActivityEmail.updateLoggingFlags(mContext); 83 return Device.getDeviceId(mContext); 92 if (mContext == null) { 93 mContext [all...] |
H A D | PolicyService.java | 34 private Context mContext; field in class:PolicyService 51 SecurityPolicy.setAccountHoldFlag(mContext, accountId, newState); 83 mContext = this;
|
/packages/apps/Email/tests/src/com/android/email/ |
H A D | ControllerProviderOpsTests.java | 43 private Context mContext; field in class:ControllerProviderOpsTests 53 mContext = getContext(); 68 Mailbox.getSystemMailboxName(mContext, -1); 69 fail("Mailbox.getSystemMailboxName(mContext, -1) succeeded without an exception"); 74 assertEquals("Inbox", Mailbox.getSystemMailboxName(mContext, Mailbox.TYPE_INBOX)); 75 assertEquals("Outbox", Mailbox.getSystemMailboxName(mContext, Mailbox.TYPE_OUTBOX)); 76 assertEquals("Trash", Mailbox.getSystemMailboxName(mContext, Mailbox.TYPE_TRASH)); 77 assertEquals("Sent", Mailbox.getSystemMailboxName(mContext, Mailbox.TYPE_SENT)); 78 assertEquals("Junk", Mailbox.getSystemMailboxName(mContext, Mailbox.TYPE_JUNK)); 83 assertEquals("Inbox", Mailbox.getSystemMailboxName(mContext, Mailbo [all...] |
/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 | 35 private Context mContext; field in class:CountryMonitor 38 mContext = context; 49 (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); 138 DownloadManager manager = (DownloadManager) mContext.getSystemService(
|
/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/Camera2/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 | 34 private Context mContext; field in class:DisplayOrderPreference 47 mContext = getContext(); 48 mPreferences = new ContactsPreferences(mContext); 50 mContext.getString(R.string.display_options_view_given_name_first), 51 mContext.getString(R.string.display_options_view_family_name_first), 69 return mContext.getString(R.string.display_options_view_given_name_first); 71 return mContext.getString(R.string.display_options_view_family_name_first);
|
H A D | SortOrderPreference.java | 34 private Context mContext; field in class:SortOrderPreference 47 mContext = getContext(); 48 mPreferences = new ContactsPreferences(mContext); 50 mContext.getString(R.string.display_options_sort_by_given_name), 51 mContext.getString(R.string.display_options_sort_by_family_name), 69 return mContext.getString(R.string.display_options_sort_by_given_name); 71 return mContext.getString(R.string.display_options_sort_by_family_name);
|
/packages/apps/Dialer/src/com/android/dialer/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/Dialer/tests/src/com/android/dialer/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/Exchange/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) 99 PendingIntent launchCalendarPendingIntent = PendingIntent.getActivity(mContext, 0, 102 String tickerText = mContext.getString(R.string.notification_exchange_calendar_added); 105 n.setLatestEventInfo(mContext, tickerText, emailAddresses, launchCalendarPendingIntent); 109 (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/glrenderer/ |
H A D | ResourceTexture.java | 29 protected final Context mContext; field in class:ResourceTexture 34 mContext = context; 44 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};
|
/packages/apps/Mms/src/com/android/mms/ui/ |
H A D | SmsStorageMonitor.java | 28 private Context mContext; field in class:SmsStorageMonitor 34 mContext = context; 37 (NotificationManager) mContext.getSystemService(Context.NOTIFICATION_SERVICE); 48 new Notification.Builder(mContext) 50 .setContentTitle(mContext.getString(R.string.storage_warning_title)) 51 .setContentText(mContext.getString(R.string.storage_warning_content))
|