Searched defs:context (Results 76 - 100 of 2076) sorted by relevance

1234567891011>>

/packages/apps/Launcher3/WallpaperPicker/src/com/android/launcher3/
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;
/packages/apps/Launcher3/src/com/android/launcher3/
H A DPagedViewWidgetImageView.java27 public PagedViewWidgetImageView(Context context, AttributeSet attrs) { argument
28 super(context, attrs);
H A DStartupReceiver.java12 public void onReceive(Context context, Intent intent) { argument
13 context.sendStickyBroadcast(new Intent(SYSTEM_READY));
/packages/apps/LegacyCamera/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/ManagedProvisioning/src/com/android/managedprovisioning/
H A DPreBootListener.java39 public void onReceive(Context context, Intent intent) { argument
40 int currentUserId = context.getUserId();
44 UserManager um = (UserManager) context.getSystemService(
49 PackageManager pm = context.getPackageManager();
60 deleteNonRequiredApps(context, userInfo.id);
71 private void deleteNonRequiredApps(Context context, int userId) { argument
73 context.getSystemService(Context.DEVICE_POLICY_SERVICE);
79 new DeleteNonRequiredAppsTask(context, profileOwner.getPackageName(), userId,
/packages/apps/Mms/src/com/android/mms/transaction/
H A DMessageStatusReceiver.java29 public void onReceive(Context context, Intent intent) { argument
31 intent.setClass(context, MessageStatusService.class);
32 context.startService(intent);
H A DMmsPushOutboxMessages.java36 public void onReceive(Context context, Intent intent) { argument
43 context.startService(new Intent(context, TransactionService.class));
H A DPrivilegedSmsReceiver.java29 public void onReceive(Context context, Intent intent) { argument
32 onReceiveWithPrivilege(context, intent, true);
H A DSimFullReceiver.java38 public void onReceive(Context context, Intent intent) { argument
39 if (Settings.Global.getInt(context.getContentResolver(),
44 context.getSystemService(Context.NOTIFICATION_SERVICE);
46 Intent viewSimIntent = new Intent(context, ManageSimMessages.class);
50 context, 0, viewSimIntent, 0);
54 notification.tickerText = context.getString(R.string.sim_full_title);
58 context, context.getString(R.string.sim_full_title),
59 context.getString(R.string.sim_full_body),
H A DSmsRejectedReceiver.java41 public void onReceive(Context context, Intent intent) { argument
42 if (Settings.Global.getInt(context.getContentResolver(),
54 context.getSystemService(Context.NOTIFICATION_SERVICE);
56 Intent viewConvIntent = new Intent(context, ConversationList.class);
62 context, 0, viewConvIntent, 0);
77 notification.tickerText = context.getString(titleId);
81 context, context.getString(titleId),
82 context.getString(bodyId),
/packages/apps/MusicFX/src/com/android/musicfx/
H A DControlPanelReceiver.java33 public void onReceive(final Context context, final Intent intent) { argument
37 if ((context == null) || (intent == null)) {
67 final boolean isGlobalEnabled = context.getSharedPreferences(packageName,
72 ControlPanelEffect.openSession(context, packageName, audioSession);
78 ControlPanelEffect.closeSession(context, packageName, audioSession);
87 ControlPanelEffect.setParameterBoolean(context, packageName, audioSession,
97 final Boolean value = ControlPanelEffect.getParameterBoolean(context, packageName,
/packages/apps/Nfc/src/com/android/nfc/handover/
H A DMimeTypeUtil.java31 public static String getMimeTypeForUri(Context context, Uri uri) { argument
35 ContentResolver cr = context.getContentResolver();
/packages/apps/OMA-DM/DMService/src/com/android/omadm/service/
H A DDMInjectPackageReceiver.java29 public void onReceive(Context context, Intent intent) { argument
30 if (DMHelper.disableIfSecondaryUser(context)) {
37 context.sendBroadcast(iIntent);
H A DDMWapPushReceiver.java30 public void onReceive(Context context, Intent intent) { argument
31 if (DMHelper.disableIfSecondaryUser(context)) {
39 context.sendBroadcast(iIntent);
/packages/apps/OneTimeInitializer/src/com/android/onetimeinitializer/
H A DOneTimeInitializerReceiver.java34 public void onReceive(Context context, Intent intent) { argument
36 context.startService(new Intent(context, OneTimeInitializerService.class));
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
H A DTextAppearanceFactory.java28 public TextAppearanceFactory(Context context) { argument
29 mContext = context;
/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/
H A DMockIconLoader.java36 public MockIconLoader(Context context) { argument
37 mContext = context;
/packages/apps/Settings/src/com/android/settings/
H A DManagedProfileSetup.java46 public void onReceive(Context context, Intent broadcast) { argument
47 final UserManager um = (UserManager) context.getSystemService(Context.USER_SERVICE);
53 final PackageManager pm = context.getPackageManager();
60 intent.setPackage(context.getPackageName());
82 ComponentName settingsComponentName = new ComponentName(context, Settings.class);
H A DProgressCategoryBase.java24 public ProgressCategoryBase(Context context) { argument
25 this(context, null);
28 public ProgressCategoryBase(Context context, AttributeSet attrs) { argument
29 this(context, attrs, 0);
32 public ProgressCategoryBase(Context context, AttributeSet attrs, int defStyleAttr) { argument
33 super(context, attrs, defStyleAttr, 0);
36 public ProgressCategoryBase(Context context, AttributeSet attrs, int defStyleAttr, argument
38 super(context, attrs, defStyleAttr, defStyleRes);
H A DWarnedListPreference.java24 public WarnedListPreference(Context context, AttributeSet attrs) { argument
25 super(context, attrs);
/packages/apps/Settings/src/com/android/settings/accessibility/
H A DAccessibilityUtils.java39 static Set<ComponentName> getEnabledServicesFromSettings(Context context) { argument
41 context.getContentResolver(), Settings.Secure.ENABLED_ACCESSIBILITY_SERVICES);
65 static CharSequence getTextForLocale(Context context, Locale locale, int resId) { argument
66 final Resources res = context.getResources();
H A DLocalePreference.java37 public LocalePreference(Context context, AttributeSet attrs) { argument
38 super(context, attrs);
39 init(context);
42 public LocalePreference(Context context) { argument
43 super(context);
44 init(context);
47 public void init(Context context) { argument
48 List<LocalePicker.LocaleInfo> locales = LocalePicker.getAllAssetLocales(context,
54 entries[0] = context.getResources().getString(R.string.locale_default);
/packages/apps/Settings/src/com/android/settings/bluetooth/
H A DBluetoothDiscoveryReceiver.java38 public void onReceive(Context context, Intent intent) { argument
44 LocalBluetoothPreferences.persistDiscoveringTimestamp(context);
H A DBluetoothPairingRequest.java43 public void onReceive(Context context, Intent intent) { argument
52 pairingIntent.setClass(context, BluetoothPairingDialog.class);
66 (PowerManager)context.getSystemService(Context.POWER_SERVICE);
69 LocalBluetoothPreferences.shouldShowDialogInForeground(context, deviceAddress)) {
72 context.startActivity(pairingIntent);
75 Resources res = context.getResources();
76 Notification.Builder builder = new Notification.Builder(context)
80 PendingIntent pending = PendingIntent.getActivity(context, 0,
86 context.getString(android.R.string.unknownName);
98 context
[all...]

Completed in 387 milliseconds

1234567891011>>