Searched defs:context (Results 101 - 125 of 1194) sorted by relevance

1234567891011>>

/frameworks/base/core/java/android/accounts/
H A DAccountAuthenticatorCache.java47 public AccountAuthenticatorCache(Context context) { argument
48 super(context, AccountManager.ACTION_AUTHENTICATOR_INTENT,
/frameworks/base/core/java/android/app/backup/
H A DAbsoluteFileBackupHelper.java42 * @param context
45 public AbsoluteFileBackupHelper(Context context, String... files) { argument
46 super(context);
48 mContext = context;
H A DBackupManager.java75 * @param context The {@link android.content.Context} that was provided when
79 public BackupManager(Context context) { argument
80 mContext = context;
H A DFileBackupHelper.java50 * @param context The backup agent's Context object
53 public FileBackupHelper(Context context, String... files) { argument
54 super(context);
56 mContext = context;
57 mFilesDir = context.getFilesDir();
H A DSharedPreferencesBackupHelper.java81 * @param context The application {@link android.content.Context}
85 public SharedPreferencesBackupHelper(Context context, String... prefGroups) { argument
86 super(context);
88 mContext = context;
97 Context context = mContext;
108 files[i] = context.getSharedPrefsFile(prefGroups[i]).getAbsolutePath();
120 Context context = mContext;
126 File f = context.getSharedPrefsFile(key).getAbsoluteFile();
/frameworks/base/core/java/android/appwidget/
H A DAppWidgetProvider.java53 * @param context The Context in which the receiver is running.
57 public void onReceive(Context context, Intent intent) { argument
66 this.onUpdate(context, AppWidgetManager.getInstance(context), appWidgetIds);
74 this.onDeleted(context, new int[] { appWidgetId });
83 this.onAppWidgetOptionsChanged(context, AppWidgetManager.getInstance(context),
88 this.onEnabled(context);
91 this.onDisabled(context);
103 * @param context Th
113 onUpdate(Context context, AppWidgetManager appWidgetManager, int[] appWidgetIds) argument
131 onAppWidgetOptionsChanged(Context context, AppWidgetManager appWidgetManager, int appWidgetId, Bundle newOptions) argument
148 onDeleted(Context context, int[] appWidgetIds) argument
167 onEnabled(Context context) argument
182 onDisabled(Context context) argument
[all...]
/frameworks/base/core/java/android/hardware/
H A DSerialManager.java43 public SerialManager(Context context, ISerialManager service) { argument
44 mContext = context;
/frameworks/base/core/java/android/net/http/
H A DHttpConnection.java37 HttpConnection(Context context, HttpHost host, argument
39 super(context, host, requestFeeder);
/frameworks/base/core/java/android/preference/
H A DSeekBarDialogPreference.java35 public SeekBarDialogPreference(Context context, AttributeSet attrs) { argument
36 super(context, attrs);
/frameworks/base/core/java/android/service/dreams/
H A DSandman.java54 public static boolean shouldStartDockApp(Context context, Intent intent) { argument
55 ComponentName name = intent.resolveActivity(context.getPackageManager());
62 public static void startDreamByUserRequest(Context context) { argument
63 startDream(context, false);
70 public static void startDreamWhenDockedIfAppropriate(Context context) { argument
71 if (!isScreenSaverEnabled(context)
72 || !isScreenSaverActivatedOnDock(context)) {
77 startDream(context, true);
80 private static void startDream(Context context, boolean docked) { argument
94 (PowerManager)context
108 isScreenSaverEnabled(Context context) argument
116 isScreenSaverActivatedOnDock(Context context) argument
[all...]
/frameworks/base/core/java/android/text/format/
H A DFormatter.java31 * @param context Context to use to load the localized units
35 public static String formatFileSize(Context context, long number) { argument
36 return formatFileSize(context, number, false);
43 public static String formatShortFileSize(Context context, long number) { argument
44 return formatFileSize(context, number, true);
47 private static String formatFileSize(Context context, long number, boolean shorter) { argument
48 if (context == null) {
92 return context.getResources().
94 value, context.getString(suffix));
/frameworks/base/core/java/android/view/animation/
H A DAccelerateInterpolator.java50 public AccelerateInterpolator(Context context, AttributeSet attrs) { argument
52 context.obtainStyledAttributes(attrs, com.android.internal.R.styleable.AccelerateInterpolator);
H A DAlphaAnimation.java36 * @param context Application context to use
39 public AlphaAnimation(Context context, AttributeSet attrs) { argument
40 super(context, attrs);
43 context.obtainStyledAttributes(attrs, com.android.internal.R.styleable.AlphaAnimation);
H A DAnticipateOvershootInterpolator.java58 public AnticipateOvershootInterpolator(Context context, AttributeSet attrs) { argument
59 TypedArray a = context.obtainStyledAttributes(attrs, AnticipateOvershootInterpolator);
/frameworks/base/core/java/android/webkit/
H A DCertTool.java52 static String getSignedPublicKey(Context context, int index, String challenge) { argument
63 Credentials.getInstance().install(context, pair);
71 static void addCertificate(Context context, String type, byte[] value) { argument
72 Credentials.getInstance().install(context, type, value);
H A DDateSorter.java50 * @param context Application context
52 public DateSorter(Context context) { argument
53 Resources resources = context.getResources();
81 mLabels[3] = context.getString(com.android.internal.R.string.last_month);
82 mLabels[4] = context.getString(com.android.internal.R.string.older);
H A DKeyStoreHandler.java51 public void installCert(Context context) { argument
73 CertTool.addCertificate(context, type, cert);
H A DPluginList.java109 public synchronized void pluginClicked(Context context, int position) { argument
112 plugin.dispatchClickEvent(context);
H A DWebViewDatabase.java43 public static WebViewDatabase getInstance(Context context) { argument
44 return WebViewFactory.getProvider().getWebViewDatabase(context);
/frameworks/base/core/java/android/widget/
H A DImageButton.java78 public ImageButton(Context context) { argument
79 this(context, null);
82 public ImageButton(Context context, AttributeSet attrs) { argument
83 this(context, attrs, com.android.internal.R.attr.imageButtonStyle);
86 public ImageButton(Context context, AttributeSet attrs, int defStyle) { argument
87 super(context, attrs, defStyle);
H A DImageSwitcher.java29 public ImageSwitcher(Context context) argument
31 super(context);
34 public ImageSwitcher(Context context, AttributeSet attrs) { argument
35 super(context, attrs);
H A DRadioButton.java54 public RadioButton(Context context) { argument
55 this(context, null);
58 public RadioButton(Context context, AttributeSet attrs) { argument
59 this(context, attrs, com.android.internal.R.attr.radioButtonStyle);
62 public RadioButton(Context context, AttributeSet attrs, int defStyle) { argument
63 super(context, attrs, defStyle);
H A DSpace.java33 public Space(Context context, AttributeSet attrs, int defStyle) { argument
34 super(context, attrs, defStyle);
43 public Space(Context context, AttributeSet attrs) { argument
44 this(context, attrs, 0);
50 public Space(Context context) { argument
52 this(context, null);
H A DTextSwitcher.java39 * @param context the application's environment
41 public TextSwitcher(Context context) { argument
42 super(context);
46 * Creates a new empty TextSwitcher for the given context and with the
49 * @param context the application environment
52 public TextSwitcher(Context context, AttributeSet attrs) { argument
53 super(context, attrs);
H A DTwoLineListItem.java51 public TwoLineListItem(Context context) { argument
52 this(context, null, 0);
55 public TwoLineListItem(Context context, AttributeSet attrs) { argument
56 this(context, attrs, 0);
59 public TwoLineListItem(Context context, AttributeSet attrs, int defStyle) { argument
60 super(context, attrs, defStyle);
62 TypedArray a = context.obtainStyledAttributes(attrs,

Completed in 790 milliseconds

1234567891011>>