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

1234567891011>>

/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/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/Mms/src/com/android/mms/ui/
H A DChipsRecipientAdapter.java27 public ChipsRecipientAdapter(Context context) { argument
30 super(context, DEFAULT_PREFERRED_MAX_RESULT_COUNT, QUERY_TYPE_PHONE);
/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/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 DProgressCategoryBase.java24 public ProgressCategoryBase(Context context, AttributeSet attrs) { argument
25 super(context, attrs);
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();
/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);
96 context
[all...]
/packages/apps/Settings/src/com/android/settings/inputmethod/
H A DInputMethodDialogReceiver.java26 public void onReceive(Context context, Intent intent) { argument
28 ((InputMethodManager) context.getSystemService(Context.INPUT_METHOD_SERVICE))
H A DSpellCheckersPreference.java26 public SpellCheckersPreference(Context context, AttributeSet attrs) { argument
27 super(context, attrs);
28 mTsm = (TextServicesManager) context.getSystemService(
H A DUserDictionarySettingsUtils.java31 public static String getLocaleDisplayName(Context context, String localeStr) { argument
35 return context.getResources().getString(R.string.user_dict_settings_all_languages);
38 final Locale systemLocale = context.getResources().getConfiguration().locale;
/packages/apps/Settings/src/com/android/settings/print/
H A DSettingsUtils.java37 public static List<ComponentName> readEnabledPrintServices(Context context) { argument
40 String enabledServicesSetting = Settings.Secure.getString(context
60 public static void writeEnabledPrintServices(Context context, argument
71 Settings.Secure.putString(context.getContentResolver(),
/packages/apps/Settings/src/com/android/settings/users/
H A DProfileUpdateReceiver.java38 public void onReceive(final Context context, Intent intent) { argument
42 Utils.copyMeProfilePhoto(context, null);
43 copyProfileName(context);
48 static void copyProfileName(Context context) { argument
49 SharedPreferences prefs = context.getSharedPreferences("profile", Context.MODE_PRIVATE);
55 UserManager um = (UserManager) context.getSystemService(Context.USER_SERVICE);
56 String profileName = Utils.getMeProfileName(context, false /* partial name */);
H A DUserUtils.java28 public static Drawable getUserIcon(Context context, UserManager um, UserInfo user, Resources res) { argument
32 return CircleFramedDrawable.getInstance(context, icon);
/packages/apps/Settings/src/com/android/settings/wifi/
H A DAccessPointCategoryForSetupWizardXL.java26 public AccessPointCategoryForSetupWizardXL(Context context, AttributeSet attrs) { argument
27 super(context, attrs);
H A DSummary.java25 static String get(Context context, String ssid, DetailedState state) { argument
26 String[] formats = context.getResources().getStringArray((ssid == null)
36 static String get(Context context, DetailedState state) { argument
37 return get(context, null, state);

Completed in 328 milliseconds

1234567891011>>