/packages/apps/Contacts/src/com/android/contacts/quickcontact/ |
H A D | QuickContactBroadcastReceiver.java | 32 public void onReceive(Context context, Intent intent) { argument 38 context.startActivity(newIntent);
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/ |
H A D | ContactPresenceIconUtil.java | 32 public static Drawable getPresenceIcon (Context context, int status) { argument 40 return context.getResources().getDrawable(
|
H A D | ContactStatusUtil.java | 30 public static String getStatusString(Context context, int presence) { argument 31 Resources resources = context.getResources();
|
H A D | GeoUtil.java | 43 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 D | ContactUpdateUtils.java | 32 public static void setSuperPrimary(Context context, long dataId) { argument 43 context.getContentResolver().update(
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/extensions/ |
H A D | ExtendedPhoneDirectoriesManager.java | 25 List<DirectoryPartition> getExtendedDirectories(Context context); argument
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/ |
H A D | ContactTileFrequentView.java | 27 public ContactTileFrequentView(Context context, AttributeSet attrs) { argument 28 super(context, attrs);
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/widget/ |
H A D | ActivityTouchLinearLayout.java | 33 public ActivityTouchLinearLayout(Context context, AttributeSet attrs) { argument 34 super(context, attrs);
|
H A D | LayoutSuppressingImageView.java | 31 public LayoutSuppressingImageView(Context context, AttributeSet attrs) { argument 32 super(context, attrs);
|
H A D | LayoutSuppressingQuickContactBadge.java | 31 public LayoutSuppressingQuickContactBadge(Context context, AttributeSet attrs) { argument 32 super(context, attrs);
|
/packages/apps/DeskClock/src/com/android/alarmclock/ |
H A D | AnalogAppWidgetProvider.java | 36 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 D | AlarmAlertWakeLock.java | 29 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 D | AlarmInitReceiver.java | 40 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 D | DeskClockExtensions.java | 14 * @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 D | DontPressWithParentLayout.java | 31 public DontPressWithParentLayout(Context context, AttributeSet attrs) { argument 32 super(context, attrs);
|
/packages/apps/DeskClock/src/com/android/deskclock/widget/ |
H A D | EllipsizeLayout.java | 37 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 D | CallLogListItemView.java | 27 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 D | CallLogNotificationsHelper.java | 28 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 D | CallLogReceiver.java | 35 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 D | Device.java | 43 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 D | EmailBroadcastReceiver.java | 28 public void onReceive(Context context, Intent intent) { argument 29 EmailBroadcastProcessorService.processBroadcastIntent(context, intent);
|
H A D | EmailUpgradeBroadcastReceiver.java | 14 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 D | IntentHelper.java | 23 public static Intent getCameraIntent(Context context) { argument 28 public static Intent getGalleryIntent(Context context) { argument
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
H A D | PagedViewWidgetImageView.java | 27 public PagedViewWidgetImageView(Context context, AttributeSet attrs) { argument 28 super(context, attrs);
|
/packages/apps/Launcher3/WallpaperPicker/src/com/android/launcher3/ |
H A D | AlphaDisableableButton.java | 28 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);
|