/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/providers/DownloadProvider/src/com/android/providers/downloads/ |
H A D | RealSystemFacade.java | 29 private Context mContext; field in class:RealSystemFacade 32 mContext = context; 43 (ConnectivityManager) mContext.getSystemService(Context.CONNECTIVITY_SERVICE); 58 final ConnectivityManager conn = ConnectivityManager.from(mContext); 65 (ConnectivityManager) mContext.getSystemService(Context.CONNECTIVITY_SERVICE); 82 return DownloadManager.getMaxBytesOverMobile(mContext); 87 return DownloadManager.getRecommendedMaxBytesOverMobile(mContext); 92 mContext.sendBroadcast(intent); 97 return mContext.getPackageManager().getApplicationInfo(packageName, 0).uid == uid;
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/preference/ |
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/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/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/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...] |
/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/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/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/util/ |
H A D | RateController.java | 51 private final Context mContext; field in class:RateController 72 mContext = context; 96 SqliteWrapper.insert(mContext, mContext.getContentResolver(), 102 Cursor c = SqliteWrapper.query(mContext, mContext.getContentResolver(), 127 mContext.registerReceiver(mBroadcastReceiver, 136 mContext.startActivity(intent); 139 mContext.unregisterReceiver(mBroadcastReceiver);
|
/packages/apps/Settings/src/com/android/settings/ |
H A D | AirplaneModeEnabler.java | 35 private final Context mContext; field in class:AirplaneModeEnabler 63 mContext = context; 68 mPhoneStateReceiver = new PhoneStateIntentReceiver(mContext, mHandler); 74 mCheckBoxPref.setChecked(isAirplaneModeOn(mContext)); 78 mContext.getContentResolver().registerContentObserver( 86 mContext.getContentResolver().unregisterContentObserver(mAirplaneModeObserver); 96 Settings.Global.putInt(mContext.getContentResolver(), Settings.Global.AIRPLANE_MODE_ON, 104 mContext.sendBroadcastAsUser(intent, UserHandle.ALL); 116 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/camera/ |
H A D | CameraPreference.java | 34 private final Context mContext; field in class:CameraPreference 44 mContext = context; 57 mSharedPreferences = ComboPreferences.get(mContext);
|
/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/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/nci/src/com/android/nfc/dhimpl/ |
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);
|