/packages/apps/MusicFX/src/com/android/musicfx/ |
H A D | ActivityMusic.java | 159 private Context mContext; field in class:ActivityMusic 219 mContext = this; 241 ControlPanelEffect.initEffectsPreferences(mContext, mCallingPackageName, mAudioSession); 270 final int numPresets = ControlPanelEffect.getParameterInt(mContext, mCallingPackageName, 274 mEQPresetNames[i] = ControlPanelEffect.getParameterString(mContext, 294 ControlPanelEffect.setParameterBoolean(mContext, mCallingPackageName, 331 ControlPanelEffect.setParameterInt(mContext, mCallingPackageName, 339 ControlPanelEffect.setParameterBoolean(mContext, mCallingPackageName, 349 ControlPanelEffect.setParameterBoolean(mContext, mCallingPackageName, 360 ControlPanelEffect.setParameterBoolean(mContext, mCallingPackageNam [all...] |
/packages/apps/Nfc/src/com/android/nfc/ |
H A D | NfcService.java | 230 Context mContext; field in class:NfcService 266 mContext.enforceCallingOrSelfPermission(NFC_PERM, NFC_PERM_ERROR); 370 mContext = nfcApplication; 371 mContentResolver = mContext.getContentResolver(); 372 mDeviceHost = new NativeNfcManager(mContext, this); 374 mHandoverManager = new HandoverManager(mContext); 377 isNfcProvisioningEnabled = mContext.getResources().getBoolean( 390 mNfcDispatcher = new NfcDispatcher(mContext, mHandoverManager, mInProvisionMode); 391 mP2pLinkManager = new P2pLinkManager(mContext, mHandoverManager, 394 mSecureElement = new NativeNfcSecureElement(mContext); [all...] |
H A D | RegisteredComponentCache.java | 48 final Context mContext; field in class:RegisteredComponentCache 57 mContext = context; 75 mContext.registerReceiverAsUser(receiver, UserHandle.ALL, intentFilter, null, null); 80 mContext.registerReceiverAsUser(receiver, UserHandle.ALL, sdFilter, null, null); 84 mContext.registerReceiverAsUser(receiver, UserHandle.ALL, userFilter, null, null); 127 mContext.unregisterReceiver(receiver); 150 pm = mContext.createPackageContextAsUser("android", 0,
|
/packages/apps/Contacts/tests/src/com/android/contacts/ |
H A D | RawContactDeltaListTests.java | 82 mContext = getContext(); 314 final RawContactDelta updateFirst = getUpdate(mContext, CONTACT_FIRST); 315 final RawContactDelta updateSecond = getUpdate(mContext, CONTACT_SECOND); 325 final RawContactDelta update = getUpdate(mContext, CONTACT_FIRST); 337 final RawContactDelta update = getUpdate(mContext, CONTACT_FIRST); 360 final RawContactDeltaList first = buildSet(buildBeforeEntity(mContext, CONTACT_BOB, 362 final RawContactDeltaList second = buildSet(buildBeforeEntity(mContext, CONTACT_BOB, 371 final RawContactDeltaList first = buildSet(buildBeforeEntity(mContext, CONTACT_BOB, 373 final RawContactDeltaList second = buildSet(buildBeforeEntity(mContext, CONTACT_BOB, 396 final RawContactDeltaList first = buildSet(buildBeforeEntity(mContext, CONTACT_BO [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/gadget/ |
H A D | LocalPhotoSource.java | 59 private Context mContext; field in class:LocalPhotoSource 68 mContext = context; 77 mContext.getContentResolver() 83 mContext.getContentResolver().unregisterContentObserver(mContentObserver); 144 Cursor cursor = mContext.getContentResolver().query( 162 ContentResolver resolver = mContext.getContentResolver(); 170 Cursor cursor = mContext.getContentResolver().query(
|
/packages/apps/Phone/src/com/android/phone/ |
H A D | CallerInfoCache.java | 105 PowerManager pm = (PowerManager) mContext.getSystemService(Context.POWER_SERVICE); 139 private final Context mContext; field in class:CallerInfoCache 170 mContext = context; 192 intent.setClass(mContext, CallerInfoCacheUpdateReceiver.class); 194 PendingIntent.getBroadcast(mContext, 0, intent, PendingIntent.FLAG_CANCEL_CURRENT); 195 AlarmManager alarmManager = (AlarmManager) mContext.getSystemService(Context.ALARM_SERVICE); 213 cursor = mContext.getContentResolver().query(Callable.CONTENT_URI,
|
H A D | Ringer.java | 63 Context mContext; field in class:Ringer 86 mContext = context; 102 mContext = phone.getContext(); 168 (AudioManager) mContext.getSystemService(Context.AUDIO_SERVICE); 202 AudioManager audioManager = (AudioManager) mContext.getSystemService(Context.AUDIO_SERVICE); 204 if (CallFeaturesSetting.getVibrateWhenRinging(mContext)) { 317 r = RingtoneManager.getRingtone(mContext, mCustomRingtoneUri);
|
/packages/apps/Browser/src/com/android/browser/ |
H A D | BreadCrumbView.java | 56 private Context mContext; field in class:BreadCrumbView 87 mContext = ctx; 91 TypedArray a = mContext.obtainStyledAttributes(com.android.internal.R.styleable.Theme); 94 float density = mContext.getResources().getDisplayMetrics().density; 171 mBackButton = new ImageButton(mContext); 182 mBackButton.setContentDescription(mContext.getText( 204 ImageView result = new ImageView(mContext); 366 TextView tv = new TextView(mContext); 367 tv.setTextAppearance(mContext, android.R.style.TextAppearance_Medium);
|
H A D | DataController.java | 51 private Context mContext; field in class:DataController 82 mContext = c.getApplicationContext(); 183 ContentResolver cr = mContext.getContentResolver(); 216 ContentResolver cr = mContext.getContentResolver(); 224 ContentResolver cr = mContext.getContentResolver(); 244 ContentResolver cr = mContext.getContentResolver(); 276 cursor = mContext.getContentResolver().query( 277 BookmarkUtils.getBookmarksUri(mContext), 295 ContentResolver cr = mContext.getContentResolver();
|
/packages/apps/Contacts/src/com/android/contacts/quickcontact/ |
H A D | DataAction.java | 54 private final Context mContext; field in class:DataAction 74 mContext = context; 104 final boolean hasPhone = PhoneCapabilityTester.isPhone(mContext); 105 final boolean hasSms = PhoneCapabilityTester.isSmsIntentRegistered(mContext); 109 if (PhoneCapabilityTester.isPhone(mContext)) { 133 if (PhoneCapabilityTester.isSipPhone(mContext)) { 272 return mContext.getResources().getDrawable(mAlternateIconRes); 275 final PackageManager pm = mContext.getPackageManager(); 282 return mContext.getResources().getString(mAlternateIconDescriptionRes);
|
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/ |
H A D | BluetoothOppBatch.java | 76 private final Context mContext; field in class:BluetoothOppBatch 107 mContext = context; 174 Constants.updateShareStatus(mContext, info.mId, BluetoothShare.STATUS_CANCELED);
|
H A D | BluetoothOppPreference.java | 58 private Context mContext; field in class:BluetoothOppPreference 85 mContext = context; 87 mNamePreference = mContext.getSharedPreferences(Constants.BLUETOOTHOPP_NAME_PREFERENCE, 89 mChannelPreference = mContext.getSharedPreferences(
|
/packages/apps/Contacts/src/com/android/contacts/detail/ |
H A D | ContactLoaderFragment.java | 107 private Context mContext; field in class:ContactLoaderFragment 133 mContext = activity; 188 return new ContactLoader(mContext, lookupUri, true /* loadGroupMetaData */, 276 && PhoneCapabilityTester.isPhone(mContext); 325 final CharSequence chooseTitle = mContext.getText(R.string.share_via); 329 mContext.startActivity(chooseIntent); 331 Toast.makeText(mContext, R.string.share_error, Toast.LENGTH_SHORT).show(); 340 mContext, mLookupUri, mSendToVoicemailState); 341 mContext.startService(intent); 388 Bundle authResponse = mContext [all...] |
/packages/apps/Email/src/com/android/email/service/ |
H A D | PopImapSyncAdapterService.java | 48 private Context mContext; field in class:PopImapSyncAdapterService.SyncAdapterImpl 52 mContext = context; 59 PopImapSyncAdapterService.performSync(mContext, account, extras,
|
/packages/apps/Exchange/exchange2/src/com/android/exchange/ |
H A D | EmailSyncAdapterService.java | 52 private Context mContext; field in class:EmailSyncAdapterService.SyncAdapterImpl 56 mContext = context; 63 EmailSyncAdapterService.performSync(mContext, account, extras,
|
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
H A D | SizeClustering.java | 30 private Context mContext; field in class:SizeClustering 49 mContext = context; 89 Resources res = mContext.getResources();
|
/packages/apps/Mms/src/com/android/mms/util/ |
H A D | ImageCacheService.java | 39 private Context mContext; field in class:ImageCacheService 45 mContext = context; 92 CacheManager.clear(mContext);
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/preferences/ |
H A D | SearchableItemsController.java | 43 private final Context mContext; field in class:SearchableItemsController 52 mContext = context; 73 return mContext;
|
/packages/apps/Settings/src/com/android/settings/bluetooth/ |
H A D | CachedBluetoothDeviceManager.java | 35 private Context mContext; field in class:CachedBluetoothDeviceManager 40 mContext = context; 87 CachedBluetoothDevice newDevice = new CachedBluetoothDevice(mContext, adapter,
|
/packages/providers/CalendarProvider/src/com/android/providers/calendar/ |
H A D | CalendarAlarmManager.java | 125 protected Context mContext; field in class:CalendarAlarmManager 133 mContext = context; 152 PendingIntent pending = PendingIntent.getBroadcast(mContext, 0 /* ignored */, intent, 158 pending = PendingIntent.getBroadcast(mContext, 0 /* ignored */, intent, 169 PowerManager powerManager = (PowerManager) mContext.getSystemService( 192 rescheduleMissedAlarms(mContext.getContentResolver()); 223 intent.setClass(mContext, CalendarReceiver.class); 225 mContext, 0, intent, PendingIntent.FLAG_NO_CREATE); 231 mContext, 0, intent, PendingIntent.FLAG_CANCEL_CURRENT); 292 final ContentResolver resolver = mContext [all...] |
/packages/apps/Camera/src/com/android/camera/ |
H A D | SoundClips.java | 112 private Context mContext; field in class:SoundClips.SoundPoolPlayer 122 mContext = context; 134 mSoundIDs[i] = mSoundPool.load(mContext, SOUND_RES[i], 1); 157 mSoundIDs[index] = mSoundPool.load(mContext, SOUND_RES[index], 1);
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/util/ |
H A D | AccountsListAdapter.java | 43 private final Context mContext; field in class:AccountsListAdapter 64 mContext = context; 96 text1.setText(accountType.getDisplayLabel(mContext)); 103 icon.setImageDrawable(accountType.getDisplayIcon(mContext));
|
/packages/apps/Dialer/src/com/android/dialer/calllog/ |
H A D | CallDetailHistoryAdapter.java | 40 private final Context mContext; field in class:CallDetailHistoryAdapter 65 mContext = context; 148 CharSequence dateValue = DateUtils.formatDateRange(mContext, details.date, details.date, 173 return mContext.getString(R.string.callDetailsDurationFormat, minutes, seconds);
|
/packages/apps/Email/src/com/android/email/ |
H A D | EmailConnectivityManager.java | 57 private final Context mContext; field in class:EmailConnectivityManager 70 mContext = context; 76 mContext.registerReceiver(this, new IntentFilter(ConnectivityManager.CONNECTIVITY_ACTION)); 109 mContext.unregisterReceiver(this);
|
/packages/apps/Email/src/com/android/email/activity/ |
H A D | MailboxFragmentAdapter.java | 513 private final Context mContext; field in class:MailboxFragmentAdapter.MailboxFragmentLoader 525 mContext = context; 556 final Cursor systemMailboxCursor = mContext.getContentResolver().query( 562 final String name = mContext.getString(R.string.mailbox_list_user_mailboxes); 566 boolean useTwoPane = UiUtilities.useTwoPane(mContext); 568 recentList = RecentMailboxManager.getInstance(mContext) 572 final String name = mContext.getString(R.string.mailbox_list_recent_mailboxes); 575 final Mailbox mailbox = Mailbox.restoreMailboxWithId(mContext, mailboxId); 577 final int messageCount = Utility.getFirstRowInt(mContext, 580 final int unreadCount = Utility.getFirstRowInt(mContext, 613 private final Context mContext; field in class:MailboxFragmentAdapter.CombinedMailboxLoader [all...] |