Searched defs:context (Results 1 - 25 of 1208) sorted by relevance

1234567891011>>

/packages/apps/Calculator/src/com/android/calculator2/
H A DCalculatorViewPager.java24 public CalculatorViewPager(Context context) { argument
25 super(context);
28 public CalculatorViewPager(Context context, AttributeSet attrs) { argument
29 super(context, attrs);
/packages/apps/Camera/src/com/android/camera/
H A DCameraButtonIntentReceiver.java36 public void onReceive(Context context, Intent intent) { argument
39 ComboPreferences pref = new ComboPreferences(context);
47 i.setClass(context, Camera.class);
51 context.startActivity(i);
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
H A DPrivilegedCellBroadcastReceiver.java30 public void onReceive(Context context, Intent intent) { argument
33 onReceiveWithPrivilege(context, intent, true);
H A DCellBroadcastAlertWakeLock.java31 static void acquireCpuWakeLock(Context context) { argument
37 (PowerManager) context.getSystemService(Context.POWER_SERVICE);
/packages/apps/Contacts/src/com/android/contacts/
H A DContactPresenceIconUtil.java32 public static Drawable getPresenceIcon (Context context, int status) { argument
40 return context.getResources().getDrawable(
H A DContactStatusUtil.java30 public static String getStatusString(Context context, int presence) { argument
31 Resources resources = context.getResources();
/packages/apps/DeskClock/src/com/android/deskclock/
H A DAlarmInitReceiver.java31 public void onReceive(final Context context, Intent intent) { argument
36 final WakeLock wl = AlarmAlertWakeLock.createPartialWakeLock(context);
42 Alarms.saveSnoozeAlert(context, Alarms.INVALID_ALARM_ID, -1);
45 Alarms.disableExpiredAlarms(context);
46 Alarms.setNextAlert(context);
/packages/apps/Email/src/com/android/email/provider/
H A DAccountBackupRestore.java47 public static void backup(Context context) { argument
48 ContentResolver resolver = context.getContentResolver();
/packages/apps/Exchange/src/com/android/exchange/
H A DMailboxAlarmReceiver.java31 public void onReceive(Context context, Intent intent) { argument
35 context.startService(new Intent(context, ExchangeService.class));
37 ExchangeService.alert(context, mailboxId);
/packages/apps/KeyChain/src/com/android/keychain/
H A DKeyChainBroadcastReceiver.java10 public void onReceive(final Context context, final Intent intent) { argument
11 intent.setClass(context, KeyChainService.class);
12 context.startService(intent);
/packages/apps/PackageInstaller/src/com/android/packageinstaller/
H A DRemoveReceiver.java28 public void onReceive(Context context, Intent intent) { argument
33 SharedPreferences prefs = context.getSharedPreferences(
/packages/apps/Settings/src/com/android/settings/
H A DTestingSettingsBroadcastReceiver.java19 public void onReceive(Context context, Intent intent) { argument
22 i.setClass(context, TestingSettings.class);
24 context.startActivity(i);
/packages/apps/Stk/src/com/android/stk/
H A DBootCompletedReceiver.java31 public void onReceive(Context context, Intent intent) { argument
38 context.startService(new Intent(context, StkAppService.class)
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
H A DBluetoothOppReceiver.java60 public void onReceive(Context context, Intent intent) { argument
68 context.startService(new Intent(context, BluetoothOppService.class));
73 if (BluetoothOppManager.getInstance(context).mSendingFlag) {
75 BluetoothOppManager.getInstance(context).mSendingFlag = false;
87 context.startActivity(in1);
92 BluetoothOppManager mOppManager = BluetoothOppManager.getInstance(context);
106 toastMsg = context.getString(R.string.bt_toast_5, Integer.toString(batchSize),
109 toastMsg = context.getString(R.string.bt_toast_4, deviceName);
111 Toast.makeText(context, toastMs
[all...]
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/
H A DBluetoothPbapReceiver.java48 public void onReceive(Context context, Intent intent) { argument
53 in.setClass(context, BluetoothPbapService.class);
72 context.startService(in);
/packages/apps/Browser/src/com/android/browser/
H A DAddNewBookmark.java35 * @param context The application context for the item.
37 AddNewBookmark(Context context) { argument
38 super(context);
41 LayoutInflater factory = LayoutInflater.from(context);
H A DBrowserYesNoPreference.java27 public BrowserYesNoPreference(Context context, AttributeSet attrs) { argument
28 super(context, attrs);
/packages/apps/Browser/src/com/android/browser/search/
H A DSearchEnginePreference.java36 public SearchEnginePreference(Context context, AttributeSet attrs) { argument
37 super(context, attrs);
42 SearchEngine defaultSearchEngine = SearchEngines.getDefaultSearchEngine(context);
49 for (SearchEngineInfo searchEngineInfo : SearchEngines.getSearchEngineInfos(context)) {
/packages/apps/Browser/src/com/android/browser/widget/
H A DBookmarkWidgetProxy.java31 public void onReceive(Context context, Intent intent) { argument
33 BookmarkThumbnailWidgetService.changeFolder(context, intent);
35 startActivity(context,
37 null, context, BrowserActivity.class));
41 startActivity(context, view);
45 void startActivity(Context context, Intent intent) { argument
48 context.startActivity(intent);
/packages/apps/Calendar/src/com/android/calendar/
H A DRecipientAdapter.java25 public RecipientAdapter(Context context) { argument
26 super(context);
/packages/apps/Camera/src/com/android/camera/ui/
H A DExpandedGridView.java24 public ExpandedGridView(Context context, AttributeSet attrs) { argument
25 super(context, attrs);
H A DInLineSettingRestore.java29 public InLineSettingRestore(Context context, AttributeSet attrs) { argument
30 super(context, attrs);
/packages/apps/Contacts/src/com/android/contacts/activities/
H A DDialtactsViewPager.java24 public DialtactsViewPager(Context context) { argument
25 super(context);
28 public DialtactsViewPager(Context context, AttributeSet attrs) { argument
29 super(context, attrs);
/packages/apps/Contacts/src/com/android/contacts/calllog/
H A DCallLogListItemView.java27 public CallLogListItemView(Context context) { argument
28 super(context);
31 public CallLogListItemView(Context context, AttributeSet attrs) { argument
32 super(context, attrs);
35 public CallLogListItemView(Context context, AttributeSet attrs, int defStyle) { argument
36 super(context, attrs, defStyle);
H A DCallLogReceiver.java35 public void onReceive(Context context, Intent intent) { argument
37 Intent serviceIntent = new Intent(context, CallLogNotificationsService.class);
41 context.startService(serviceIntent);
43 Intent serviceIntent = new Intent(context, CallLogNotificationsService.class);
45 context.startService(serviceIntent);

Completed in 5787 milliseconds

1234567891011>>