Lines Matching refs:mContext

60     private final Context mContext;
64 mContext = context;
66 mContext.getSystemService(Context.NOTIFICATION_SERVICE);
118 Notification.Builder builder = new Notification.Builder(mContext)
122 .addAction(R.drawable.stat_notify_cancelling, mContext.getString(R.string.cancel),
132 Notification.Builder builder = new Notification.Builder(mContext)
136 .addAction(R.drawable.stat_notify_cancelling, mContext.getString(R.string.cancel),
138 .addAction(R.drawable.ic_restart, mContext.getString(R.string.restart),
148 Notification.Builder builder = new Notification.Builder(mContext)
152 .addAction(R.drawable.stat_notify_cancelling, mContext.getString(R.string.cancel),
162 Notification.Builder builder = new Notification.Builder(mContext)
174 Notification.Builder builder = new Notification.Builder(mContext)
183 inboxStyle.setBigContentTitle(String.format(mContext.getResources().getQuantityText(
190 builder.setLargeIcon(((BitmapDrawable) mContext.getResources().getDrawable(
208 return mContext.getString(R.string.failed_notification_title_template,
214 return mContext.getString(R.string.blocked_notification_title_template,
217 return mContext.getString(
225 return mContext.getString(R.string.printing_notification_title_template,
228 return mContext.getString(
246 return PendingIntent.getActivity(mContext, 0, intent, 0);
250 Intent intent = new Intent(mContext, NotificationBroadcastReceiver.class);
255 return PendingIntent.getBroadcast(mContext, 0, intent, PendingIntent.FLAG_ONE_SHOT);
259 Intent intent = new Intent(mContext, NotificationBroadcastReceiver.class);
262 return PendingIntent.getBroadcast(mContext, 0, intent, PendingIntent.FLAG_ONE_SHOT);