• Home
  • Raw
  • Download

Lines Matching refs:mContext

103     private Context mContext;  field in NotificationMgr
134 mContext = app; in NotificationMgr()
268 mQueryHandler = new QueryHandler(mContext.getContentResolver()); in updateNotificationsAtStartup()
393 0, mContext, personUri, this, n); in onQueryComplete()
480 mContext); in notifyMissedCall()
515 callName = mContext.getString(R.string.unknown); in notifyMissedCall()
526 expandedText = mContext.getString(R.string.notification_missedCallsMsg, in notifyMissedCall()
530 Notification.Builder builder = new Notification.Builder(mContext); in notifyMissedCall()
532 .setTicker(mContext.getString(R.string.notification_missedCallTicker, callName)) in notifyMissedCall()
534 .setContentTitle(mContext.getText(titleResId)) in notifyMissedCall()
551 mContext.getString(R.string.notification_missedCall_call_back), in notifyMissedCall()
552 PhoneGlobals.getCallBackPendingIntent(mContext, number)); in notifyMissedCall()
555 mContext.getString(R.string.notification_missedCall_message), in notifyMissedCall()
556 PhoneGlobals.getSendSmsFromNotificationPendingIntent(mContext, number)); in notifyMissedCall()
576 Intent intent = new Intent(mContext, ClearMissedCallsService.class); in createClearMissedCallsIntent()
578 return PendingIntent.getService(mContext, 0, intent, 0); in createClearMissedCallsIntent()
595 mContext.getString(R.string.accessibility_speakerphone_enabled)); in notifySpeakerphone()
619 AudioManager audioManager = (AudioManager) mContext.getSystemService(Context.AUDIO_SERVICE); in updateSpeakerNotification()
661 mContext.getString(R.string.accessibility_call_muted)); in notifyMute()
726 String notificationTitle = mContext.getString(R.string.notification_voicemail_title); in updateMwi()
773 … String titleFormat = mContext.getString(R.string.notification_voicemail_title_count); in updateMwi()
779 notificationText = mContext.getString( in updateMwi()
783 mContext.getString(R.string.notification_voicemail_text_format), in updateMwi()
789 PendingIntent pendingIntent = PendingIntent.getActivity(mContext, 0, intent, 0); in updateMwi()
791 SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(mContext); in updateMwi()
801 Notification.Builder builder = new Notification.Builder(mContext); in updateMwi()
857 mContext, // context in updateCfi()
858 mContext.getString(R.string.labelCF), // expandedTitle in updateCfi()
859 mContext.getString(R.string.sum_cfu_enabled_indicator), // expandedText in updateCfi()
860 PendingIntent.getActivity(mContext, 0, intent, 0)); // contentIntent in updateCfi()
888 Intent intent = new Intent(mContext, com.android.phone.MobileNetworkSettings.class); in showDataDisconnectedRoaming()
890 final CharSequence contentText = mContext.getText(R.string.roaming_reenable_message); in showDataDisconnectedRoaming()
892 final Notification.Builder builder = new Notification.Builder(mContext); in showDataDisconnectedRoaming()
894 builder.setContentTitle(mContext.getText(R.string.roaming)); in showDataDisconnectedRoaming()
896 builder.setContentIntent(PendingIntent.getActivity(mContext, 0, intent, 0)); in showDataDisconnectedRoaming()
919 String titleText = mContext.getString( in showNetworkSelection()
921 String expandedText = mContext.getString( in showNetworkSelection()
937 PendingIntent pi = PendingIntent.getActivity(mContext, 0, intent, 0); in showNetworkSelection()
939 notification.setLatestEventInfo(mContext, titleText, expandedText, pi); in showNetworkSelection()
963 PreferenceManager.getDefaultSharedPreferences(mContext); in updateNetworkSelection()
994 mToast = Toast.makeText(mContext, msg, Toast.LENGTH_LONG); in postTransientNotification()