/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)
|
H A D | AbstractCorpus.java | 27 private final Context mContext; field in class:AbstractCorpus 32 mContext = context; 37 return mContext;
|
H A D | Config.java | 77 private final Context mContext; field in class:Config 86 mContext = context; 90 return mContext; 103 String[] corpora = mContext.getResources().getStringArray(res); 163 return mContext.getResources().getInteger(R.integer.num_suggestions_above_keyboard); 170 return mContext.getResources().getInteger(R.integer.max_promoted_suggestions); 174 return mContext.getResources().getInteger(R.integer.max_promoted_results); 188 return mContext.getResources().getInteger(R.integer.max_shortcuts_per_web_source); 195 return mContext.getResources().getInteger(R.integer.max_shortcuts_per_non_web_source); 317 return mContext [all...] |
/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/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);
|
H A D | ContactsPreferences.java | 37 private Context mContext; field in class:ContactsPreferences 45 mContext = context; 50 return mContext.getResources().getBoolean(R.bool.config_sort_order_user_changeable); 54 if (mContext.getResources().getBoolean(R.bool.config_default_sort_order_primary)) { 68 mSortOrder = Settings.System.getInt(mContext.getContentResolver(), 79 Settings.System.putInt(mContext.getContentResolver(), 84 return mContext.getResources().getBoolean(R.bool.config_display_order_user_changeable); 88 if (mContext.getResources().getBoolean(R.bool.config_default_display_order_primary)) { 102 mDisplayOrder = Settings.System.getInt(mContext.getContentResolver(), 113 Settings.System.putInt(mContext [all...] |
/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/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/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...] |
/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/ |
H A D | CachingIconLoaderTest.java | 30 return new CachingIconLoader(new MockIconLoader(mContext));
|
/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/providers/DownloadProvider/src/com/android/providers/downloads/ |
H A D | RealSystemFacade.java | 17 private Context mContext; field in class:RealSystemFacade 21 mContext = context; 23 mContext.getSystemService(Context.NOTIFICATION_SERVICE); 32 (ConnectivityManager) mContext.getSystemService(Context.CONNECTIVITY_SERVICE); 47 final ConnectivityManager conn = ConnectivityManager.from(mContext); 53 (ConnectivityManager) mContext.getSystemService(Context.CONNECTIVITY_SERVICE); 69 return DownloadManager.getMaxBytesOverMobile(mContext); 74 return DownloadManager.getRecommendedMaxBytesOverMobile(mContext); 79 mContext.sendBroadcast(intent); 84 return mContext [all...] |
/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/Phone/src/com/android/phone/sip/ |
H A D | SipSharedPreferences.java | 38 private Context mContext; field in class:SipSharedPreferences 43 mContext = context; 82 Settings.System.putString(mContext.getContentResolver(), 87 String option = Settings.System.getString(mContext.getContentResolver(), 90 : mContext.getString(R.string.sip_address_only); 94 Settings.System.putInt(mContext.getContentResolver(), 100 return (Settings.System.getInt(mContext.getContentResolver(),
|
/packages/apps/Mms/src/com/android/mms/transaction/ |
H A D | SmsMessageSender.java | 36 protected final Context mContext; field in class:SmsMessageSender 57 mContext = context; 84 SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(mContext); 94 Sms.addMessageToUri(mContext.getContentResolver(), 104 SqliteWrapper.checkSQLiteException(mContext, e); 108 mContext.sendBroadcast(new Intent(SmsReceiverService.ACTION_SEND_MESSAGE, 110 mContext, 132 cursor = SqliteWrapper.query(mContext, mContext.getContentResolver(),
|
/packages/apps/Mms/src/com/android/mms/util/ |
H A D | RateController.java | 52 private final Context mContext; field in class:RateController 73 mContext = context; 97 SqliteWrapper.insert(mContext, mContext.getContentResolver(), 103 Cursor c = SqliteWrapper.query(mContext, mContext.getContentResolver(), 128 mContext.registerReceiver(mBroadcastReceiver, 137 mContext.startActivity(intent); 140 mContext.unregisterReceiver(mBroadcastReceiver);
|
/packages/apps/Settings/src/com/android/settings/ |
H A D | AirplaneModeEnabler.java | 34 private final Context mContext; field in class:AirplaneModeEnabler 62 mContext = context; 67 mPhoneStateReceiver = new PhoneStateIntentReceiver(mContext, mHandler); 73 mCheckBoxPref.setChecked(isAirplaneModeOn(mContext)); 77 mContext.getContentResolver().registerContentObserver( 85 mContext.getContentResolver().unregisterContentObserver(mAirplaneModeObserver); 95 Settings.System.putInt(mContext.getContentResolver(), Settings.System.AIRPLANE_MODE_ON, 103 mContext.sendBroadcast(intent); 115 mCheckBoxPref.setChecked(isAirplaneModeOn(mContext));
|
H A D | NsdEnabler.java | 34 private final Context mContext; field in class:NsdEnabler 51 mContext = context; 53 mNsdManager = (NsdManager) mContext.getSystemService(Context.NSD_SERVICE); 58 mContext.registerReceiver(mReceiver, mIntentFilter); 63 mContext.unregisterReceiver(mReceiver);
|
/packages/apps/Camera/src/com/android/camera/ |
H A D | CameraPreference.java | 32 private final Context mContext; field in class:CameraPreference 42 mContext = context; 55 mSharedPreferences = ComboPreferences.get(mContext);
|
/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/Gallery2/tests/src/com/android/gallery3d/data/ |
H A D | GalleryAppMock.java | 30 Context mContext; field in class:GalleryAppMock 35 mContext = context; 45 public Context getAndroidContext() { return mContext; }
|
/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);
|
/packages/apps/Nfc/src/com/android/nfc/nxp/ |
H A D | NativeNfcSecureElement.java | 32 private final Context mContext; field in class:NativeNfcSecureElement 38 mContext = context; 40 mPrefs = mContext.getSharedPreferences(NativeNfcManager.PREF, Context.MODE_PRIVATE);
|
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/EN/ |
H A D | ClearUserDictionaryDialogPreferenceEN.java | 32 protected Context mContext = null; field in class:ClearUserDictionaryDialogPreferenceEN 42 mContext = context; 62 Toast.makeText(mContext.getApplicationContext(), R.string.dialog_clear_user_dictionary_done,
|