/packages/apps/Email/src/com/android/email/mail/store/ |
H A D | ExchangeStore.java | 53 return EmailServiceUtils.getExchangeService(mContext, null);
|
/packages/apps/Gallery2/src/com/android/camera/ |
H A D | SoundClips.java | 118 private Context mContext; field in class:SoundClips.SoundPoolPlayer 128 mContext = context; 138 mSoundIDs[i] = mSoundPool.load(mContext, SOUND_RES[i], 1); 161 mSoundIDs[index] = mSoundPool.load(mContext, SOUND_RES[index], 1);
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ |
H A D | EventLogLogger.java | 33 private final Context mContext; field in class:EventLogLogger 42 mContext = context; 44 mPackageName = mContext.getPackageName(); 49 return mContext;
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/accessibility/ |
H A D | AccessibilityUtils.java | 47 private Context mContext; field in class:AccessibilityUtils 76 mContext = context; 130 final boolean speakPassword = Settings.Secure.getInt(mContext.getContentResolver(), 196 final CharSequence text = mContext.getText(R.string.spoken_use_headphones);
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
H A D | VoicemailStatusTable.java | 50 private final Context mContext; field in class:VoicemailStatusTable 57 mContext = context; 96 c.setNotificationUri(mContext.getContentResolver(), Status.CONTENT_URI); 125 return new DbModifierWithNotification(mTableName, db, mContext);
|
H A D | DbModifierWithNotification.java | 71 private final Context mContext; field in class:DbModifierWithNotification 90 mContext = context; 94 mVoicemailPermissions = new VoicemailPermissions(mContext); 126 mContext.getContentResolver().notifyChange(Calls.CONTENT_URI, null, false); 202 mContext.getContentResolver().notifyChange(notificationUri, null, true); 225 mContext.sendBroadcast(intent, permissionNeeded); 242 mContext.getPackageManager().queryBroadcastReceivers(intent, 0)) { 258 return Lists.newArrayList(mContext.getPackageManager().getPackagesForUid(caller));
|
/packages/apps/Calendar/src/com/android/calendar/month/ |
H A D | MonthByWeekAdapter.java | 104 mGestureDetector = new GestureDetector(mContext, new CalendarGestureListener()); 105 mController = CalendarController.getInstance(mContext); 106 mHomeTimeZone = Utils.getTimeZone(mContext, null); 213 v = new MonthWeekEventsView(mContext); 219 v = new MonthWeekEventsView(mContext); 279 mFirstDayOfWeek = Utils.getFirstDayOfWeek(mContext); 280 mShowWeekNumber = Utils.getShowWeekNumber(mContext); 281 mHomeTimeZone = Utils.getTimeZone(mContext, null); 282 mOrientation = mContext.getResources().getConfiguration().orientation; 293 mController.sendEvent(mContext, EventTyp [all...] |
/packages/apps/Contacts/src/com/android/contacts/group/ |
H A D | GroupDetailFragment.java | 96 private Context mContext; field in class:GroupDetailFragment 131 mContext = activity; 132 mAccountTypeManager = AccountTypeManager.getInstance(mContext); 145 mContext = null; 174 if (mContext != null) { 176 mPhotoManager = ContactPhotoManager.getInstance(mContext); 241 return new GroupMetaDataLoader(mContext, mGroupUri); 273 return GroupMemberLoader.constructLoaderForGroupDetailQuery(mContext, mGroupId); 327 accountType.getDisplayLabel(mContext)); 364 mGroupSourceView = GroupDetailDisplayUtils.getNewGroupSourceView(mContext); [all...] |
/packages/apps/Email/src/com/android/email/activity/ |
H A D | ActionBarController.java | 75 private final Context mContext; field in class:ActionBarController 213 mContext = context; 218 mAllFoldersLabel = mContext.getResources().getString( 220 mAccountsSelectorAdapter = new AccountSelectorAdapter(mContext); 240 mAccountDropdown = new AccountDropdownPopup(mContext); 264 final LayoutInflater inflater = LayoutInflater.from(mContext); 412 return AccountSelectorAdapter.createLoader(mContext, accountId, mailboxId); 455 mCallback.onAccountSelected(Account.getDefaultAccountId(mContext)); 483 title.setSpan(new TextAppearanceSpan(mContext, R.style.subject_action_bar_title_text), 518 mContext, mCurso [all...] |
/packages/apps/Mms/src/com/android/mms/ui/ |
H A D | SlideView.java | 108 mImageView = new ImageView(mContext); 141 mVideoView = new VideoView(mContext); 218 mAudioPlayer.setDataSource(mContext, audio); 231 mScrollText = new ScrollView(mContext); 240 mTextView = new TextView(mContext); 462 mScrollViewPort = new ScrollView(mContext) { 478 && !((SlideshowActivity) mContext).isFinishing()) { 485 mViewPort = new LinearLayout(mContext); 519 mTextView = new TextView(mContext); 527 mImageView = new ImageView(mContext); [all...] |
/packages/apps/Browser/src/com/android/browser/ |
H A D | PageDialogsHandler.java | 39 private Context mContext; field in class:PageDialogsHandler 60 mContext = context; 90 mHttpAuthenticationDialog = new HttpAuthenticationDialog(mContext, host, realm); 140 final LayoutInflater factory = LayoutInflater.from(mContext); 164 new AlertDialog.Builder(mContext) 344 View certificateView = certificate.inflateCertificateView(mContext); 348 LayoutInflater factory = LayoutInflater.from(mContext); 386 return new AlertDialog.Builder(mContext)
|
H A D | CrashRecoveryHandler.java | 56 private Context mContext; field in class:CrashRecoveryHandler 78 mContext = mController.getActivity().getApplicationContext(); 93 File state = new File(mContext.getCacheDir(), STATE_FILE); 161 File stateFile = new File(mContext.getCacheDir(), STATE_FILE); 230 File stateJournal = new File(mContext.getCacheDir(), 235 File stateFile = new File(mContext.getCacheDir(),
|
/packages/apps/DeskClock/src/com/android/deskclock/worldclock/ |
H A D | WorldClockAdapter.java | 46 private final Context mContext; field in class:WorldClockAdapter 53 mContext = context; 65 SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(mContext); 67 mContext.getResources().getString(R.string.default_clock_style)); 93 SharedPreferences sharedPref = PreferenceManager.getDefaultSharedPreferences(mContext); 96 mContext.getResources().getString(R.string.home_label), homeTZ, null); 117 SharedPreferences sharedPref = PreferenceManager.getDefaultSharedPreferences(mContext); 260 dayOfWeek.setText(mContext.getString(R.string.world_day_of_week_label,
|
/packages/apps/Email/src/com/android/email/activity/setup/ |
H A D | AccountServerBaseFragment.java | 60 protected Context mContext; field in class:AccountServerBaseFragment 177 mContext = activity; 192 (InputMethodManager)mContext.getSystemService(Context.INPUT_METHOD_SERVICE); 222 mContext = getActivity(); 266 InputMethodManager imm = (InputMethodManager)mContext. 338 Account account = Utility.findExistingAccount(mContext, mAccountId, 404 HostAuth sendAuth = account.getOrCreateHostAuthSend(mContext); 407 HostAuth recvAuth = account.getOrCreateHostAuthRecv(mContext);
|
/packages/apps/Mms/tests/src/com/android/mms/util/ |
H A D | SmileyParserUnitTests.java | 58 compareImageSpans(new ImageSpan(mContext, 62 compareImageSpans(new ImageSpan(mContext,
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
H A D | PopupList.java | 58 private final Context mContext; field in class:PopupList 70 mContext = context; 155 PopupWindow popup = new PopupWindow(mContext); 158 popup.setBackgroundDrawable(mContext.getResources().getDrawable( 161 mContentList = new ListView(mContext, null, 198 convertView = LayoutInflater.from(mContext)
|
/packages/apps/Mms/src/com/android/mms/model/ |
H A D | MediaModel.java | 45 protected Context mContext; field in class:MediaModel 69 mContext = context; 84 mContext = context; 217 retriever.setDataSource(mContext, mUri); 232 ContentResolver cr = mContext.getContentResolver(); 302 mContext.sendBroadcast(i);
|
/packages/apps/Calendar/tests/src/com/android/calendar/alerts/ |
H A D | AlertServiceTest.java | 402 AlertService.generateAlerts(mContext, ntm, new MockAlarmManager(mContext), prefs, 411 MockAlarmManager alarmMgr = new MockAlarmManager(mContext); 422 AlertService.generateAlerts(mContext, ntm, alarmMgr, prefs, at.getAlertCursor(), currentTime, 431 AlertService.generateAlerts(mContext, ntm, alarmMgr, prefs, at.getAlertCursor(), currentTime, 439 AlertService.generateAlerts(mContext, ntm, alarmMgr, prefs, at.getAlertCursor(), currentTime, 448 MockAlarmManager alarmMgr = new MockAlarmManager(mContext); 491 AlertService.generateAlerts(mContext, ntm, alarmMgr, prefs, at.getAlertCursor(), 504 AlertService.generateAlerts(mContext, ntm, alarmMgr, prefs, at.getAlertCursor(), 513 AlertService.generateAlerts(mContext, nt [all...] |
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/ |
H A D | BluetoothOppObexServerSession.java | 71 private Context mContext; field in class:BluetoothOppObexServerSession 101 mContext = context; 103 PowerManager pm = (PowerManager)mContext.getSystemService(Context.POWER_SERVICE); 189 boolean isWhitelisted = BluetoothOppManager.getInstance(mContext). 292 Uri contentUri = mContext.getContentResolver().insert(BluetoothShare.CONTENT_URI, values); 298 mContext.sendBroadcast(in); 359 Constants.updateShareStatus(mContext, mInfo.mId, status); 370 mContext.getContentResolver().update(contentUri, updateValues, null, null); 379 Constants.updateShareStatus(mContext, mInfo.mId, status); 416 Constants.updateShareStatus(mContext, mInf [all...] |
/packages/apps/Email/tests/src/com/android/email/ |
H A D | ControllerProviderOpsTests.java | 49 private Context mContext; field in class:ControllerProviderOpsTests 61 mContext = getContext(); 62 mTestController = new TestController(mProviderContext, mContext); 88 assertEquals("", Controller.getMailboxServerName(mContext, -1)); 90 assertEquals("Inbox", Controller.getMailboxServerName(mContext, Mailbox.TYPE_INBOX)); 91 assertEquals("Outbox", Controller.getMailboxServerName(mContext, Mailbox.TYPE_OUTBOX)); 92 assertEquals("Trash", Controller.getMailboxServerName(mContext, Mailbox.TYPE_TRASH)); 93 assertEquals("Sent", Controller.getMailboxServerName(mContext, Mailbox.TYPE_SENT)); 94 assertEquals("Junk", Controller.getMailboxServerName(mContext, Mailbox.TYPE_JUNK)); 99 assertEquals("Inbox", Controller.getMailboxServerName(mContext, Mailbo [all...] |
/packages/apps/Email/src/com/android/email/service/ |
H A D | AttachmentDownloadService.java | 99 /*package*/ Context mContext; field in class:AttachmentDownloadService 354 Cursor c = mContext.getContentResolver().query(lookupUri, AttachmentInfo.PROJECTION, 357 File cacheDir = mContext.getCacheDir(); 362 Account account = Account.restoreAccountWithId(mContext, accountKey); 366 EmailContent.delete(mContext, Attachment.CONTENT_URI, id); 369 AttachmentInfo info = new AttachmentInfo(mContext, c); 371 Attachment att = Attachment.restoreAttachmentWithId(mContext, id); 380 DownloadRequest req = new DownloadRequest(mContext, att); 475 Intent intent = new Intent(mContext, Watchdog.class); 477 PendingIntent.getBroadcast(mContext, [all...] |
/packages/apps/Browser/src/com/android/browser/widget/ |
H A D | BookmarkThumbnailWidgetService.java | 164 private Context mContext; field in class:BookmarkThumbnailWidgetService.BookmarkFactory 171 mContext = context.getApplicationContext(); 177 mPreferences = getWidgetState(mContext, mWidgetId); 189 mPreferences = getWidgetState(mContext, mWidgetId); 212 mContext.getPackageName(), R.layout.bookmarkthumbnailwidget_item); 229 views = new RemoteViews(mContext.getPackageName(), 232 views = new RemoteViews(mContext.getPackageName(), 314 deleteWidgetState(mContext, mWidgetId); 344 mBookmarks = mContext.getContentResolver().query(uri, PROJECTION, 350 Cursor c = mContext [all...] |
/packages/apps/Calendar/src/com/android/calendar/ |
H A D | DeleteEventHelper.java | 65 private Context mContext; field in class:DeleteEventHelper 107 mContext = context; 110 mService = new AsyncQueryService(mContext) { 270 AlertDialog dialog = new AlertDialog.Builder(mContext) 278 mContext.getText(android.R.string.ok), 283 mContext.getText(android.R.string.ok), 292 Resources res = mContext.getResources(); 321 ArrayAdapter<String> adapter = new ArrayAdapter<String>(mContext, 323 AlertDialog dialog = new AlertDialog.Builder(mContext) 325 mContext [all...] |
/packages/apps/Calendar/src/com/android/calendar/widget/ |
H A D | CalendarAppWidgetModel.java | 246 final Context mContext; field in class:CalendarAppWidgetModel 260 mContext = context; 278 String tz = Utils.getTimeZone(mContext, null); 365 whenString.append(Utils.formatDateRange(mContext, start, end, flags)); 368 if (DateFormat.is24HourFormat(mContext)) { 374 whenString.append(Utils.formatDateRange(mContext, start, end, flags)); 391 eventInfo.title = mContext.getString(R.string.no_title_label); 413 label = mContext.getString(R.string.agenda_tomorrow, 414 Utils.formatDateRange(mContext, millis, millis, flags).toString()); 417 label = Utils.formatDateRange(mContext, milli [all...] |
/packages/apps/Contacts/tests/src/com/android/contacts/ |
H A D | RawContactDeltaTests.java | 65 mContext = getContext(); 92 final RawContact before = getRawContact(mContext, TEST_CONTACT_ID, TEST_PHONE_ID); 102 final RawContact before = getRawContact(mContext, TEST_CONTACT_ID, TEST_PHONE_ID); 120 final RawContact before = getRawContact(mContext, TEST_CONTACT_ID, TEST_PHONE_ID); 134 final RawContact before = getRawContact(mContext, TEST_CONTACT_ID, TEST_PHONE_ID); 166 final RawContact before = getRawContact(mContext, TEST_CONTACT_ID, TEST_PHONE_ID); 177 final RawContact before = getRawContact(mContext, TEST_CONTACT_ID, TEST_PHONE_ID); 214 final RawContact before = getRawContact(mContext, TEST_CONTACT_ID, TEST_PHONE_ID); 259 final RawContact before = getRawContact(mContext, TEST_CONTACT_ID, TEST_PHONE_ID); 293 final RawContact before = getRawContact(mContext, TEST_CONTACT_I [all...] |