/frameworks/base/core/java/android/preference/ |
H A D | GenericInflater.java | 77 * @param context The context the item is being created in. 81 public T onCreateItem(String name, Context context, AttributeSet attrs); argument 92 public T onCreateItem(String name, Context context, AttributeSet attrs) { argument 93 T v = mF1.onCreateItem(name, context, attrs); 95 return mF2.onCreateItem(name, context, attrs); 103 * @param context The Context in which this inflater will 108 protected GenericInflater(Context context) { argument 109 mContext = context; 161 * Return the context w [all...] |
H A D | ListPreference.java | 45 public ListPreference(Context context, AttributeSet attrs) { argument 46 super(context, attrs); 48 TypedArray a = context.obtainStyledAttributes(attrs, 57 a = context.obtainStyledAttributes(attrs, 63 public ListPreference(Context context) { argument 64 this(context, null);
|
H A D | MultiCheckPreference.java | 44 public MultiCheckPreference(Context context, AttributeSet attrs) { argument 45 super(context, attrs); 47 TypedArray a = context.obtainStyledAttributes(attrs, 60 a = context.obtainStyledAttributes(attrs, 66 public MultiCheckPreference(Context context) { argument 67 this(context, null);
|
H A D | MultiSelectListPreference.java | 48 public MultiSelectListPreference(Context context, AttributeSet attrs) { argument 49 super(context, attrs); 51 TypedArray a = context.obtainStyledAttributes(attrs, 58 public MultiSelectListPreference(Context context) { argument 59 this(context, null);
|
H A D | Preference.java | 198 * @param context The Context this is associated with, through which it can 209 public Preference(Context context, AttributeSet attrs, int defStyle) { argument 210 mContext = context; 212 TypedArray a = context.obtainStyledAttributes(attrs, 290 * @param context The Context this is associated with, through which it can 297 public Preference(Context context, AttributeSet attrs) { argument 298 this(context, attrs, com.android.internal.R.attr.preferenceStyle); 304 * @param context The Context in which to store Preference values. 306 public Preference(Context context) { argument 307 this(context, nul [all...] |
H A D | PreferenceActivity.java | 257 public HeaderAdapter(Context context, List<Header> objects) { argument 258 super(context, 0, objects); 259 mInflater = (LayoutInflater)context.getSystemService(Context.LAYOUT_INFLATER_SERVICE);
|
H A D | PreferenceCategory.java | 38 public PreferenceCategory(Context context, AttributeSet attrs, int defStyle) { argument 39 super(context, attrs, defStyle); 42 public PreferenceCategory(Context context, AttributeSet attrs) { argument 43 this(context, attrs, com.android.internal.R.attr.preferenceCategoryStyle); 46 public PreferenceCategory(Context context) { argument 47 this(context, null);
|
H A D | PreferenceFrameLayout.java | 40 public PreferenceFrameLayout(Context context) { argument 41 this(context, null); 44 public PreferenceFrameLayout(Context context, AttributeSet attrs) { argument 45 this(context, attrs, com.android.internal.R.attr.preferenceFrameLayoutStyle); 48 public PreferenceFrameLayout(Context context, AttributeSet attrs, int defStyle) { argument 49 super(context, attrs, defStyle); 50 TypedArray a = context.obtainStyledAttributes(attrs, 53 float density = context.getResources().getDisplayMetrics().density;
|
H A D | PreferenceGroup.java | 59 public PreferenceGroup(Context context, AttributeSet attrs, int defStyle) { argument 60 super(context, attrs, defStyle); 64 TypedArray a = context.obtainStyledAttributes(attrs, 71 public PreferenceGroup(Context context, AttributeSet attrs) { argument 72 this(context, attrs, 0);
|
H A D | PreferenceInflater.java | 48 public PreferenceInflater(Context context, PreferenceManager preferenceManager) { argument 49 super(context);
|
H A D | PreferenceManager.java | 68 * The context to use. This should always be set. 156 private PreferenceManager(Context context) { argument 157 init(context); 160 private void init(Context context) { argument 161 mContext = context; 163 setSharedPreferencesName(getDefaultSharedPreferencesName(context)); 228 final Context context; 230 context = mContext.createPackageContext(activityInfo.packageName, 0); 232 Log.w(TAG, "Could not create context for " + activityInfo.packageName + ": " 237 final PreferenceInflater inflater = new PreferenceInflater(context, thi 263 inflateFromResource(Context context, int resId, PreferenceScreen rootPreferences) argument 278 createPreferenceScreen(Context context) argument 365 getDefaultSharedPreferences(Context context) argument 370 getDefaultSharedPreferencesName(Context context) argument 438 setDefaultValues(Context context, int resId, boolean readAgain) argument 473 setDefaultValues(Context context, String sharedPreferencesName, int sharedPreferencesMode, int resId, boolean readAgain) argument [all...] |
H A D | PreferenceScreen.java | 100 public PreferenceScreen(Context context, AttributeSet attrs) { argument 101 super(context, attrs, com.android.internal.R.attr.preferenceScreenStyle); 160 Context context = getContext(); 166 context.getSystemService(Context.LAYOUT_INFLATER_SERVICE); 174 Dialog dialog = mDialog = new Dialog(context, context.getThemeResId());
|
H A D | RingtonePreference.java | 53 public RingtonePreference(Context context, AttributeSet attrs, int defStyle) { argument 54 super(context, attrs, defStyle); 56 TypedArray a = context.obtainStyledAttributes(attrs, 67 public RingtonePreference(Context context, AttributeSet attrs) { argument 68 this(context, attrs, com.android.internal.R.attr.ringtonePreferenceStyle); 71 public RingtonePreference(Context context) { argument 72 this(context, null);
|
H A D | SeekBarDialogPreference.java | 35 public SeekBarDialogPreference(Context context, AttributeSet attrs) { argument 36 super(context, attrs);
|
H A D | SeekBarPreference.java | 40 Context context, AttributeSet attrs, int defStyle) { 41 super(context, attrs, defStyle); 42 TypedArray a = context.obtainStyledAttributes(attrs, 49 public SeekBarPreference(Context context, AttributeSet attrs) { argument 50 this(context, attrs, 0); 53 public SeekBarPreference(Context context) { argument 54 this(context, null); 39 SeekBarPreference( Context context, AttributeSet attrs, int defStyle) argument
|
H A D | SwitchPreference.java | 61 * @param context The Context that will style this preference 65 public SwitchPreference(Context context, AttributeSet attrs, int defStyle) { argument 66 super(context, attrs, defStyle); 68 TypedArray a = context.obtainStyledAttributes(attrs, 84 * @param context The Context that will style this preference 87 public SwitchPreference(Context context, AttributeSet attrs) { argument 88 this(context, attrs, com.android.internal.R.attr.switchPreferenceStyle); 94 * @param context The Context that will style this preference 96 public SwitchPreference(Context context) { argument 97 this(context, nul [all...] |
H A D | TwoStatePreference.java | 45 public TwoStatePreference(Context context, AttributeSet attrs, int defStyle) { argument 46 super(context, attrs, defStyle); 49 public TwoStatePreference(Context context, AttributeSet attrs) { argument 50 this(context, attrs, 0); 53 public TwoStatePreference(Context context) { argument 54 this(context, null);
|
H A D | VolumePreference.java | 51 public VolumePreference(Context context, AttributeSet attrs) { argument 52 super(context, attrs); 54 TypedArray a = context.obtainStyledAttributes(attrs, 248 public SeekBarVolumizer(Context context, SeekBar seekBar, int streamType) { argument 249 this(context, seekBar, streamType, null); 252 public SeekBarVolumizer(Context context, SeekBar seekBar, int streamType, Uri defaultUri) { argument 253 mContext = context; 254 mAudioManager = (AudioManager) context.getSystemService(Context.AUDIO_SERVICE);
|
/frameworks/base/core/java/android/provider/ |
H A D | Browser.java | 194 * @param context the context used to start the activity 197 public static final void sendString(Context context, String string) { argument 198 sendString(context, string, context.getString(com.android.internal.R.string.sendText));
|
H A D | BrowserContract.java | 719 static public boolean isSyncEnabled(Context context) { argument 722 cursor = context.getContentResolver().query(CONTENT_URI, new String[] { VALUE }, 736 static public void setSyncEnabled(Context context, boolean enabled) { argument 740 context.getContentResolver().insert(CONTENT_URI, values);
|
H A D | CalendarContract.java | 2306 * @param context the Context 2311 Context context, AlarmManager manager) { 2343 scheduleAlarm(context, manager, newAlarmTime); 2360 * @param context A context for referencing system resources 2366 public static void scheduleAlarm(Context context, AlarmManager manager, long alarmTime) { argument 2375 manager = (AlarmManager) context.getSystemService(Context.ALARM_SERVICE); 2381 PendingIntent pi = PendingIntent.getBroadcast(context, 0, intent, 0); 2310 rescheduleMissedAlarms(ContentResolver cr, Context context, AlarmManager manager) argument
|
H A D | CallLog.java | 268 * @param context the context used to get the ContentResolver 278 public static Uri addCall(CallerInfo ci, Context context, String number, argument 280 final ContentResolver resolver = context.getContentResolver(); 357 removeExpiredEntries(context); 364 * @param context Used to get the content resolver. 368 public static String getLastOutgoingCall(Context context) { argument 369 final ContentResolver resolver = context.getContentResolver(); 387 private static void removeExpiredEntries(Context context) { argument 388 final ContentResolver resolver = context [all...] |
H A D | Contacts.java | 626 * @param context the Context 634 public static Bitmap loadContactPhoto(Context context, Uri person, argument 637 return loadPlaceholderPhoto(placeholderImageResource, context, options); 640 InputStream stream = openContactPhotoInputStream(context.getContentResolver(), person); 643 bm = loadPlaceholderPhoto(placeholderImageResource, context, options); 648 private static Bitmap loadPlaceholderPhoto(int placeholderImageResource, Context context, argument 653 return BitmapFactory.decodeResource(context.getResources(), 960 public static final CharSequence getDisplayLabel(Context context, int type, argument 966 : context.getResources().getTextArray( 985 public static final CharSequence getDisplayLabel(Context context, in argument 1397 getDisplayLabel(Context context, int kind, int type, CharSequence label) argument 1451 addPostalLocation(Context context, long postalId, double latitude, double longitude) argument 1762 getDisplayLabel(Context context, int type, CharSequence label) argument [all...] |
H A D | ContactsContract.java | 481 * The type of directory captured as a resource ID in the context of the 3869 * commands to the content provider saves a lot of time on context switching 4175 * context. 5476 public static final CharSequence getDisplayLabel(Context context, int type, argument 5478 return getTypeLabel(context.getResources(), type, label); 5486 public static final CharSequence getDisplayLabel(Context context, int type, argument 5488 return getTypeLabel(context.getResources(), type, label); 7666 public static Intent composeQuickContactsIntent(Context context, View target, Uri lookupUri, argument 7670 final float appScale = context.getResources().getCompatibilityInfo().applicationScale; 7680 return composeQuickContactsIntent(context, rec 7687 composeQuickContactsIntent(Context context, Rect target, Uri lookupUri, int mode, String[] excludeMimes) argument 7733 showQuickContact(Context context, View target, Uri lookupUri, int mode, String[] excludeMimes) argument 7767 showQuickContact(Context context, Rect target, Uri lookupUri, int mode, String[] excludeMimes) argument [all...] |
H A D | Downloads.java | 799 Context context, String notification_package, String notification_class) { 800 context.getContentResolver().delete(Impl.CONTENT_URI, QUERY_WHERE_CLAUSE, 798 removeAllDownloadsByPackage( Context context, String notification_package, String notification_class) argument
|