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

1234567891011>>

/packages/apps/ContactsCommon/src/com/android/contacts/common/list/
H A DContactTileStarredView.java27 public ContactTileStarredView(Context context, AttributeSet attrs) { argument
28 super(context, attrs);
/packages/apps/ContactsCommon/src/com/android/contacts/common/widget/
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.java43 public void onReceive(final Context context, Intent intent) { argument
48 final WakeLock wl = AlarmAlertWakeLock.createPartialWakeLock(context);
53 AlarmStateManager.updateGloablIntentId(context);
60 PreferenceManager.getDefaultSharedPreferences(context);
73 AlarmStateManager.fixAlarmInstances(context);
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.java50 public static void updateVoicemailNotifications(Context context) { argument
51 Intent serviceIntent = new Intent(context, CallLogNotificationsService.class);
53 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/emailsync/src/com/android/emailsync/
H A DEmailSyncAlarmReceiver.java55 public void onReceive(final Context context, Intent intent) { argument
59 handleReceive(context);
64 private void handleReceive(Context context) { argument
66 ContentResolver cr = context.getContentResolver();
/packages/apps/Email/src/com/android/email/
H A DMessagingExceptionStrings.java27 public static String getErrorString(Context context, MessagingException e) { argument
28 return context.getResources().getString(getErrorStringResourceId(e));
H A DRequireManualSyncDialog.java28 public RequireManualSyncDialog(Context context, Account account) { argument
29 super(context);
30 setMessage(context.getResources().getString(R.string.require_manual_sync_message));
31 setButton(DialogInterface.BUTTON_POSITIVE, context.getString(android.R.string.ok), this);
32 Preferences.getPreferences(context).setHasShownRequireManualSync(account, true);
/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);
H A DPreloadReceiver.java33 public void onReceive(Context context, Intent intent) { argument
34 final LauncherApplication app = (LauncherApplication) context.getApplicationContext();
39 ? context.getResources().getIdentifier(name, "xml", "com.android.launcher") : 0;
/packages/apps/Launcher3/src/com/android/launcher3/
H A DLauncherBackupAgentHelper.java32 * @param context application context
34 public static void dataChanged(Context context) { argument
36 sBackupManager = new BackupManager(context);
H A DPagedViewWidgetImageView.java27 public PagedViewWidgetImageView(Context context, AttributeSet attrs) { argument
28 super(context, attrs);
H A DPreloadReceiver.java33 public void onReceive(Context context, Intent intent) { argument
38 ? context.getResources().getIdentifier(name, "xml", "com.android.launcher3") : 0;
H A DScrimView.java29 public ScrimView(Context context) { argument
30 this(context, null, 0);
33 public ScrimView(Context context, AttributeSet attrs) { argument
34 this(context, attrs, 0);
37 public ScrimView(Context context, AttributeSet attrs, int defStyle) { argument
38 super(context, attrs, defStyle);
H A DWallpaperRootView.java26 public WallpaperRootView(Context context, AttributeSet attrs) { argument
27 super(context, attrs);
28 a = (WallpaperPickerActivity) context;
30 public WallpaperRootView(Context context, AttributeSet attrs, int defStyle) { argument
31 super(context, attrs, defStyle);
32 a = (WallpaperPickerActivity) context;

Completed in 247 milliseconds

1234567891011>>