HomeSort by relevance Sort by last modified time
    Searched defs:context (Results 351 - 375 of 5241) sorted by null

<<11121314151617181920>>

  /packages/apps/Calendar/tests/src/com/android/calendar/alerts/
MockAlarmManager.java 20 import android.content.Context;
26 private Context context; field in class:MockAlarmManager
31 MockAlarmManager(Context context) {
32 this.context = context;
47 context, expectedAlarmTime, DateUtils.FORMAT_SHOW_TIME) + ", actual:"
48 + DateUtils.formatDateTime(context, actualAlarmTime,
  /packages/apps/Camera2/src/com/android/camera/settings/
ManagedSwitchPreference.java 21 import android.content.Context;
36 public ManagedSwitchPreference(Context context) {
37 super(context);
40 public ManagedSwitchPreference(Context context, AttributeSet attrs) {
41 super(context, attrs);
44 public ManagedSwitchPreference(Context context, AttributeSet attrs, int defStyle) {
45 super(context, attrs, defStyle)
88 Context context = getContext(); local
    [all...]
  /packages/apps/Car/Radio/src/com/android/car/radio/
RadioFabButton.java 19 import android.content.Context;
34 public RadioFabButton(Context context) {
35 super(context);
38 public RadioFabButton(Context context, AttributeSet attrs) {
39 super(context, attrs);
42 public RadioFabButton(Context context, AttributeSet attrs, int defStyleAttrs) {
43 super(context, attrs, defStyleAttrs)
52 Context context = getContext(); external variable declarations
    [all...]
  /packages/apps/Car/Settings/src/com/android/car/settings/datetime/
SetDateLineItem.java 19 import android.content.Context;
36 private final Context mContext;
39 public SetDateLineItem(Context context, BaseFragment.FragmentController fragmentController) {
40 super(context);
41 mContext = context;
43 setTitle(context.getString(R.string.date_time_set_date));
SetTimeLineItem.java 19 import android.content.Context;
36 private final Context mContext;
39 public SetTimeLineItem(Context context, BaseFragment.FragmentController fragmentController) {
40 super(context);
41 mContext = context;
43 setTitle(context.getString(R.string.date_time_set_time));
SetTimeZoneLineItem.java 19 import android.content.Context;
37 private final Context mContext;
40 public SetTimeZoneLineItem(Context context, BaseFragment.FragmentController fragmentController) {
41 super(context);
42 mContext = context;
44 setTitle(context.getString(R.string.date_time_set_timezone));
  /packages/apps/Car/Settings/src/com/android/car/settings/display/
BrightnessLineItem.java 21 import android.content.Context;
37 private final Context mContext;
61 public BrightnessLineItem(Context context) {
62 super(context);
63 mContext = context;
65 setProgress(getSeekbarValue(context));
67 setText(context.getString(R.string.brightness));
70 private static int getSeekbarValue(Context context) {
    [all...]
  /packages/apps/Car/libs/car-list/src/com/android/car/list/
SimpleIconLineItem.java 21 import android.content.Context;
29 private final Context mContext;
36 Context context,
38 super(context.getText(title));
40 mContext = context;
  /packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
CellBroadcastAreaInfoReceiver.java 20 import android.content.Context;
33 public void onReceive(Context context, Intent intent) {
47 context.sendBroadcastAsUser(areaInfoIntent, UserHandle.ALL,
49 context.sendBroadcastAsUser(areaInfoIntent, UserHandle.ALL,
  /packages/apps/Contacts/src/com/android/contacts/dialog/
ClearFrequentsDialog.java 24 import android.content.Context;
46 final Context context = getActivity().getApplicationContext(); local
51 if (!PermissionsUtil.hasContactsPermissions(context)) {
  /packages/apps/Contacts/src/com/android/contacts/util/
NotifyingAsyncQueryHandler.java 20 import android.content.Context;
31 * {@link Context} objects.
43 public NotifyingAsyncQueryHandler(Context context, AsyncQueryListener listener) {
44 super(context.getContentResolver());
  /packages/apps/DeskClock/src/com/android/deskclock/
StopwatchTextController.java 19 import android.content.Context;
65 final Context context = mMainTextView.getContext(); local
66 final String time = Utils.getTimeString(context, hours, minutes, seconds);
  /packages/apps/Dialer/java/com/android/contacts/common/dialog/
ClearFrequentsDialog.java 25 import android.content.Context;
45 final Context context = getActivity().getApplicationContext(); local
51 if (!PermissionsUtil.hasContactsReadPermissions(context)) {
  /packages/apps/Dialer/java/com/android/dialer/about/
AboutPhoneFragment.java 19 import android.content.Context;
52 Context context = getContext(); local
54 return context.getPackageManager().getPackageInfo(context.getPackageName(), 0).versionName;
61 public Context getContext() {
LicenseLoader.java 19 import android.content.Context;
28 LicenseLoader(Context context) {
29 // This must only pass the application context to avoid leaking a pointer to the Activity.
30 super(context.getApplicationContext());
  /packages/apps/Dialer/java/com/android/dialer/app/calllog/
BlockReportSpamListener.java 20 import android.content.Context;
36 private final Context context; field in class:BlockReportSpamListener
43 Context context,
47 this.context = context;
51 spam = SpamComponent.get(context).spam();
67 Logger.get(context)
80 Logger.get(context)
    [all...]
  /packages/apps/Dialer/java/com/android/dialer/assisteddialing/
Constraints.java 20 import android.content.Context;
41 private final Context context; field in class:Constraints
47 * @param context The context used to determine whether or not a number is an emergency number.
50 public Constraints(@NonNull Context context, @NonNull CountryCodeProvider countryCodeProvider) {
51 if (context == null) {
52 throw new NullPointerException("Provided context cannot be null");
54 this.context = context
    [all...]
  /packages/apps/Dialer/java/com/android/dialer/callcomposer/
CopyAndResizeImageWorker.java 20 import android.content.Context;
44 private final Context context; field in class:CopyAndResizeImageWorker
46 CopyAndResizeImageWorker(@NonNull Context context) {
47 this.context = Assert.isNotNull(context);
68 try (InputStream inputStream = context.getContentResolver().openInputStream(input)) {
72 File outputFile = DialerUtils.createShareableFile(context);
  /packages/apps/Dialer/java/com/android/dialer/contactsfragment/
AddContactViewHolder.java 19 import android.content.Context;
29 private final Context context; field in class:AddContactViewHolder
34 context = view.getContext();
40 context, IntentUtil.getNewContactIntent(), R.string.add_contact_not_available);
  /packages/apps/Dialer/java/com/android/dialer/feedback/stub/
CallFeedbackListenerStub.java 19 import android.content.Context;
32 @NonNull private final Context context; field in class:CallFeedbackListenerStub
35 public CallFeedbackListenerStub(@ApplicationContext @NonNull Context context) {
36 this.context = Assert.isNotNull(context);
  /packages/apps/Dialer/java/com/android/dialer/historyitemactions/
IntentModule.java 19 import android.content.Context;
36 private final Context context; field in class:IntentModule
41 public IntentModule(Context context, Intent intent, @StringRes int text, @DrawableRes int image) {
42 this.context = context;
60 DialerUtils.startActivityWithErrorToast(context, intent);
65 Context context,
    [all...]
  /packages/apps/Dialer/java/com/android/dialer/shortcuts/
ShortcutRefresher.java 19 import android.content.Context;
36 public static void refresh(@NonNull Context context, List<ContactEntry> contacts) {
38 Assert.isNotNull(context);
44 if (!Shortcuts.areDynamicShortcutsEnabled(context)) {
48 DialerExecutorComponent.get(context)
50 .createNonUiTaskBuilder(new RefreshWorker(context))
56 private final Context context; field in class:ShortcutRefresher.RefreshWorker
58 RefreshWorker(Context context)
    [all...]
  /packages/apps/Dialer/java/com/android/incallui/answerproximitysensor/
PseudoProximityWakeLock.java 19 import android.content.Context;
33 private final Context context; field in class:PseudoProximityWakeLock
40 public PseudoProximityWakeLock(Context context, PseudoScreenState pseudoScreenState) {
41 this.context = context;
45 context.getSystemService(SensorManager.class).getDefaultSensor(Sensor.TYPE_PROXIMITY);
51 context
59 context.getSystemService(SensorManager.class).unregisterListener(this)
    [all...]
  /packages/apps/Dialer/java/com/android/voicemail/impl/sms/
StatusSmsFetcher.java 23 import android.content.Context;
63 private final Context context; field in class:StatusSmsFetcher
66 public StatusSmsFetcher(Context context, PhoneAccountHandle phoneAccountHandle) {
67 this.context = context;
71 context.registerReceiver(this, filter);
76 context.unregisterReceiver(this);
89 intent.setPackage(context.getPackageName())
    [all...]
  /packages/apps/DocumentsUI/src/com/android/documentsui/
IconUtils.java 19 import android.content.Context;
27 public static Drawable loadPackageIcon(Context context, String authority, int icon) {
30 final PackageManager pm = context.getPackageManager();
36 return context.getDrawable(icon);
43 Context context, String mimeType, String authority, String docId, int mode) {
45 return context.getDrawable(R.drawable.ic_doc_folder);
48 return loadMimeIcon(context, mimeType);
51 public static Drawable loadMimeIcon(Context context, String mimeType)
    [all...]

Completed in 898 milliseconds

<<11121314151617181920>>