Home | History | Annotate | Download | only in controller

Lines Matching refs:mContext

52     private final Context mContext;
58 mContext = context;
59 mComponentName = new ComponentName(mContext, DeskClock.class);
60 mShortcutManager = mContext.getSystemService(ShortcutManager.class);
61 mUserManager = (UserManager) mContext.getSystemService(Context.USER_SERVICE);
62 Controller.getController().addEventTracker(new ShortcutEventTracker(mContext));
85 .setClass(mContext, HandleApiCalls.class)
90 return new ShortcutInfo.Builder(mContext, setAlarmShortcut)
91 .setIcon(Icon.createWithResource(mContext, R.drawable.shortcut_new_alarm))
93 .setShortLabel(mContext.getString(R.string.shortcut_new_alarm_short))
94 .setLongLabel(mContext.getString(R.string.shortcut_new_alarm_long))
102 .setClass(mContext, HandleApiCalls.class)
107 return new ShortcutInfo.Builder(mContext, setTimerShortcut)
108 .setIcon(Icon.createWithResource(mContext, R.drawable.shortcut_new_timer))
110 .setShortLabel(mContext.getString(R.string.shortcut_new_timer_short))
111 .setLongLabel(mContext.getString(R.string.shortcut_new_timer_long))
122 final ShortcutInfo.Builder shortcut = new ShortcutInfo.Builder(mContext, shortcutId)
123 .setIcon(Icon.createWithResource(mContext, R.drawable.shortcut_stopwatch))
130 shortcut.setShortLabel(mContext.getString(R.string.shortcut_pause_stopwatch_short))
131 .setLongLabel(mContext.getString(R.string.shortcut_pause_stopwatch_long));
135 shortcut.setShortLabel(mContext.getString(R.string.shortcut_start_stopwatch_short))
136 .setLongLabel(mContext.getString(R.string.shortcut_start_stopwatch_long));
138 intent.setClass(mContext, HandleShortcuts.class)
147 .setClass(mContext, ScreensaverActivity.class)
152 return new ShortcutInfo.Builder(mContext, screensaverShortcut)
153 .setIcon(Icon.createWithResource(mContext, R.drawable.shortcut_screensaver))
155 .setShortLabel((mContext.getString(R.string.shortcut_start_screensaver_short)))
156 .setLongLabel((mContext.getString(R.string.shortcut_start_screensaver_long)))