Searched defs:context (Results 51 - 75 of 2076) sorted by relevance

1234567891011>>

/packages/apps/Contacts/src/com/android/contacts/quickcontact/
H A DQuickContactBroadcastReceiver.java32 public void onReceive(Context context, Intent intent) { argument
38 context.startActivity(newIntent);
/packages/apps/ContactsCommon/src/com/android/contacts/common/
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();
H A DGeoUtil.java43 public static String getCurrentCountryIso(Context context) { argument
45 return CountryDetector.getInstance(context).getCurrentCountryIso();
48 public static String getGeocodedLocationFor(Context context, String phoneNumber) { argument
53 phoneNumberUtil.parse(phoneNumber, getCurrentCountryIso(context));
54 final Locale locale = context.getResources().getConfiguration().locale;
/packages/apps/ContactsCommon/src/com/android/contacts/common/database/
H A DContactUpdateUtils.java32 public static void setSuperPrimary(Context context, long dataId) { argument
43 context.getContentResolver().update(
/packages/apps/ContactsCommon/src/com/android/contacts/common/extensions/
H A DExtendedPhoneDirectoriesManager.java25 List<DirectoryPartition> getExtendedDirectories(Context context); argument
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/
H A DContactTileFrequentView.java27 public ContactTileFrequentView(Context context, AttributeSet attrs) { argument
28 super(context, attrs);
/packages/apps/ContactsCommon/src/com/android/contacts/common/widget/
H A DActivityTouchLinearLayout.java33 public ActivityTouchLinearLayout(Context context, AttributeSet attrs) { argument
34 super(context, attrs);
H A DLayoutSuppressingImageView.java31 public LayoutSuppressingImageView(Context context, AttributeSet attrs) { argument
32 super(context, attrs);
H A DLayoutSuppressingQuickContactBadge.java31 public LayoutSuppressingQuickContactBadge(Context context, AttributeSet attrs) { argument
32 super(context, attrs);
/packages/apps/DeskClock/src/com/android/alarmclock/
H A DAnalogAppWidgetProvider.java36 public void onReceive(Context context, Intent intent) { argument
40 RemoteViews views = new RemoteViews(context.getPackageName(),
44 PendingIntent.getActivity(context, 0,
45 new Intent(context, DeskClock.class), 0));
50 AppWidgetManager gm = AppWidgetManager.getInstance(context);
/packages/apps/DeskClock/src/com/android/deskclock/
H A DAlarmAlertWakeLock.java29 public static PowerManager.WakeLock createPartialWakeLock(Context context) { argument
30 PowerManager pm = (PowerManager) context.getSystemService(Context.POWER_SERVICE);
34 public static void acquireCpuWakeLock(Context context) { argument
39 sCpuWakeLock = createPartialWakeLock(context);
43 public static void acquireScreenCpuWakeLock(Context context) { argument
47 PowerManager pm = (PowerManager) context.getSystemService(Context.POWER_SERVICE);
H A DAlarmInitReceiver.java40 public void onReceive(final Context context, Intent intent) { argument
45 final WakeLock wl = AlarmAlertWakeLock.createPartialWakeLock(context);
50 AlarmStateManager.updateGloablIntentId(context);
57 PreferenceManager.getDefaultSharedPreferences(context);
70 AlarmStateManager.fixAlarmInstances(context);
H A DDeskClockExtensions.java14 * @param context the application context.
17 public void addAlarm(Context context, Alarm newAlarm); argument
23 * @param context the application context.
26 public void deleteAlarm(Context context, long alarmId); argument
H A DDontPressWithParentLayout.java31 public DontPressWithParentLayout(Context context, AttributeSet attrs) { argument
32 super(context, attrs);
/packages/apps/DeskClock/src/com/android/deskclock/widget/
H A DEllipsizeLayout.java37 public EllipsizeLayout(Context context) { argument
38 this(context, null);
41 public EllipsizeLayout(Context context, AttributeSet attrs) { argument
42 super(context, attrs);
/packages/apps/Dialer/src/com/android/dialer/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 DCallLogNotificationsHelper.java28 public static void removeMissedCallNotifications(Context context) { argument
30 context.getSystemService(Context.TELECOM_SERVICE);
35 public static void updateVoicemailNotifications(Context context) { argument
36 Intent serviceIntent = new Intent(context, CallLogNotificationsService.class);
38 context.startService(serviceIntent);
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);
/packages/apps/Email/emailcommon/src/com/android/emailcommon/
H A DDevice.java43 static public synchronized String getDeviceId(Context context) throws IOException { argument
45 sDeviceId = getDeviceIdInternal(context);
50 static private String getDeviceIdInternal(Context context) throws IOException { argument
51 if (context == null) {
54 File f = context.getFileStreamPath("deviceName");
80 final String consistentDeviceId = getConsistentDeviceId(context);
95 public static String getConsistentDeviceId(Context context) { argument
99 (TelephonyManager) context.getSystemService(Context.TELEPHONY_SERVICE);
/packages/apps/Email/src/com/android/email/service/
H A DEmailBroadcastReceiver.java28 public void onReceive(Context context, Intent intent) { argument
29 EmailBroadcastProcessorService.processBroadcastIntent(context, intent);
H A DEmailUpgradeBroadcastReceiver.java14 public void onReceive(final Context context, final Intent intent) { argument
15 EmailBroadcastProcessorService.processUpgradeBroadcastIntent(context);
/packages/apps/Gallery2/src_pd/com/android/gallery3d/util/
H A DIntentHelper.java23 public static Intent getCameraIntent(Context context) { argument
28 public static Intent getGalleryIntent(Context context) { argument
/packages/apps/Launcher2/src/com/android/launcher2/
H A DPagedViewWidgetImageView.java27 public PagedViewWidgetImageView(Context context, AttributeSet attrs) { argument
28 super(context, attrs);
/packages/apps/Launcher3/WallpaperPicker/src/com/android/launcher3/
H A DAlphaDisableableButton.java28 public AlphaDisableableButton(Context context) { argument
29 this(context, null);
32 public AlphaDisableableButton(Context context, AttributeSet attrs) { argument
33 this(context, attrs, 0);
36 public AlphaDisableableButton(Context context, AttributeSet attrs, int defStyleAttr) { argument
37 super(context, attrs, defStyleAttr);

Completed in 2482 milliseconds

1234567891011>>