Searched refs:context (Results 1 - 25 of 600) sorted by relevance

1234567891011>>

/frameworks/base/core/java/android/widget/
H A DCheckBox.java57 public CheckBox(Context context) { argument
58 this(context, null);
61 public CheckBox(Context context, AttributeSet attrs) { argument
62 this(context, attrs, com.android.internal.R.attr.checkboxStyle);
65 public CheckBox(Context context, AttributeSet attrs, int defStyle) { argument
66 super(context, attrs, defStyle);
H A DRadioButton.java50 public RadioButton(Context context) { argument
51 this(context, null);
54 public RadioButton(Context context, AttributeSet attrs) { argument
55 this(context, attrs, com.android.internal.R.attr.radioButtonStyle);
58 public RadioButton(Context context, AttributeSet attrs, int defStyle) { argument
59 super(context, attrs, defStyle);
H A DButton.java99 public Button(Context context) { argument
100 this(context, null);
103 public Button(Context context, AttributeSet attrs) { argument
104 this(context, attrs, com.android.internal.R.attr.buttonStyle);
107 public Button(Context context, AttributeSet attrs, int defStyle) { argument
108 super(context, attrs, defStyle);
H A DImageButton.java76 public ImageButton(Context context) { argument
77 this(context, null);
80 public ImageButton(Context context, AttributeSet attrs) { argument
81 this(context, attrs, com.android.internal.R.attr.imageButtonStyle);
84 public ImageButton(Context context, AttributeSet attrs, int defStyle) { argument
85 super(context, attrs, defStyle);
H A DSeekBar.java72 public SeekBar(Context context) { argument
73 this(context, null);
76 public SeekBar(Context context, AttributeSet attrs) { argument
77 this(context, attrs, com.android.internal.R.attr.seekBarStyle);
80 public SeekBar(Context context, AttributeSet attrs, int defStyle) { argument
81 super(context, attrs, defStyle);
H A DResourceCursorTreeAdapter.java39 * @param context The context where the ListView associated with this
51 public ResourceCursorTreeAdapter(Context context, Cursor cursor, int collapsedGroupLayout, argument
53 super(cursor, context);
60 mInflater = (LayoutInflater)context.getSystemService(Context.LAYOUT_INFLATER_SERVICE);
66 * @param context The context where the ListView associated with this
76 public ResourceCursorTreeAdapter(Context context, Cursor cursor, int collapsedGroupLayout, argument
78 this(context, cursor, collapsedGroupLayout, expandedGroupLayout, childLayout, childLayout);
84 * @param context Th
92 ResourceCursorTreeAdapter(Context context, Cursor cursor, int groupLayout, int childLayout) argument
98 newChildView(Context context, Cursor cursor, boolean isLastChild, ViewGroup parent) argument
104 newGroupView(Context context, Cursor cursor, boolean isExpanded, ViewGroup parent) argument
[all...]
H A DResourceCursorAdapter.java40 * @param context The context where the ListView associated with this
46 public ResourceCursorAdapter(Context context, int layout, Cursor c) { argument
47 super(context, c);
49 mInflater = (LayoutInflater) context.getSystemService(Context.LAYOUT_INFLATER_SERVICE);
55 * @param context The context where the ListView associated with this
65 public ResourceCursorAdapter(Context context, int layout, Cursor c, boolean autoRequery) { argument
66 super(context, c, autoRequery);
68 mInflater = (LayoutInflater) context
78 newView(Context context, Cursor cursor, ViewGroup parent) argument
83 newDropDownView(Context context, Cursor cursor, ViewGroup parent) argument
[all...]
/frameworks/base/tests/appwidgets/AppWidgetHostTest/src/com/android/tests/appwidgethost/
H A DAppWidgetContainerView.java25 public AppWidgetContainerView(Context context) { argument
26 super(context);
29 public AppWidgetContainerView(Context context, AttributeSet attrs) { argument
30 super(context, attrs);
/frameworks/base/core/java/android/inputmethodservice/
H A DExtractButton.java27 public ExtractButton(Context context) { argument
28 super(context, null);
31 public ExtractButton(Context context, AttributeSet attrs) { argument
32 super(context, attrs, com.android.internal.R.attr.buttonStyle);
35 public ExtractButton(Context context, AttributeSet attrs, int defStyle) { argument
36 super(context, attrs, defStyle);
/frameworks/base/core/java/android/preference/
H A DPreferenceCategory.java31 public PreferenceCategory(Context context, AttributeSet attrs, int defStyle) { argument
32 super(context, attrs, defStyle);
35 public PreferenceCategory(Context context, AttributeSet attrs) { argument
36 this(context, attrs, com.android.internal.R.attr.preferenceCategoryStyle);
39 public PreferenceCategory(Context context) { argument
40 this(context, null);
/frameworks/base/core/java/android/view/
H A DOrientationListener.java43 * @param context for the OrientationListener.
45 public OrientationListener(Context context) { argument
46 mOrientationEventLis = new OrientationEventListenerInternal(context);
52 * @param context for the OrientationListener.
58 public OrientationListener(Context context, int rate) { argument
59 mOrientationEventLis = new OrientationEventListenerInternal(context, rate);
63 OrientationEventListenerInternal(Context context) { argument
64 super(context);
67 OrientationEventListenerInternal(Context context, int rate) { argument
68 super(context, rat
[all...]
/frameworks/base/core/java/android/webkit/
H A DPluginStub.java33 * @param context The current application's Context.
36 public abstract View getEmbeddedView(int NPP, Context context); argument
43 * @param context The current application's Context.
46 public abstract View getFullScreenView(int NPP, Context context); argument
/frameworks/base/core/jni/
H A Dandroid_message_digest_sha1.cpp33 jfieldID context; member in struct:fields_t
39 SHA_CTX* context; local
45 context = (SHA_CTX *)malloc(sizeof(SHA_CTX));
46 SHA1_Init(context);
48 env->SetIntField(clazz, fields.context, (int)context);
53 SHA_CTX *context = (SHA_CTX *)env->GetIntField(clazz, fields.context); local
54 if (context != NULL) {
56 printf("sha1.native_reset: free context\
71 SHA_CTX *context = (SHA_CTX *)env->GetIntField(clazz, fields.context); local
102 SHA_CTX *context = (SHA_CTX *)env->GetIntField(clazz, fields.context); local
[all...]
H A Dandroid_security_Md5MessageDigest.cpp28 jfieldID context; member in struct:android::fields_t
34 MD5_CTX* context = (MD5_CTX *)malloc(sizeof(MD5_CTX)); local
35 MD5_Init(context);
37 env->SetIntField(clazz, fields.context, (int)context);
42 MD5_CTX *context = (MD5_CTX *)env->GetIntField(clazz, fields.context); local
43 if (context != NULL) {
44 free(context);
45 env->SetIntField(clazz, fields.context,
53 MD5_CTX *context = (MD5_CTX *)env->GetIntField(clazz, fields.context); local
78 MD5_CTX *context = (MD5_CTX *)env->GetIntField(clazz, fields.context); local
[all...]
/frameworks/base/core/java/com/android/internal/widget/
H A DPasswordEntryKeyboardView.java31 public PasswordEntryKeyboardView(Context context, AttributeSet attrs) { argument
32 super(context, attrs);
35 public PasswordEntryKeyboardView(Context context, AttributeSet attrs, int defStyle) { argument
36 super(context, attrs, defStyle);
/frameworks/base/core/java/android/appwidget/
H A DAppWidgetProvider.java48 * @param context The Context in which the receiver is running.
52 public void onReceive(Context context, Intent intent) { argument
61 this.onUpdate(context, AppWidgetManager.getInstance(context), appWidgetIds);
69 this.onDeleted(context, new int[] { appWidgetId });
73 this.onEnabled(context);
76 this.onDisabled(context);
88 * @param context The {@link android.content.Context Context} in which this receiver is
98 public void onUpdate(Context context, AppWidgetManager appWidgetManager, int[] appWidgetIds) { argument
108 * @param context Th
114 onDeleted(Context context, int[] appWidgetIds) argument
133 onEnabled(Context context) argument
148 onDisabled(Context context) argument
[all...]
/frameworks/base/core/java/android/app/admin/
H A DDeviceAdminReceiver.java163 public DevicePolicyManager getManager(Context context) { argument
167 mManager = (DevicePolicyManager)context.getSystemService(
177 public ComponentName getWho(Context context) { argument
181 mWho = new ComponentName(context, getClass());
189 * @param context The running context as per {@link #onReceive}.
192 public void onEnabled(Context context, Intent intent) { argument
201 * @param context The running context as per {@link #onReceive}.
206 public CharSequence onDisableRequested(Context context, Inten argument
218 onDisabled(Context context, Intent intent) argument
230 onPasswordChanged(Context context, Intent intent) argument
241 onPasswordFailed(Context context, Intent intent) argument
252 onPasswordSucceeded(Context context, Intent intent) argument
261 onReceive(Context context, Intent intent) argument
[all...]
/frameworks/base/core/tests/coretests/src/android/widget/layout/linear/
H A DExceptionTextView.java36 public ExceptionTextView(Context context) { argument
37 super(context);
40 public ExceptionTextView(Context context, AttributeSet attrs) { argument
41 super(context, attrs);
44 public ExceptionTextView(Context context, AttributeSet attrs, int defStyle) { argument
45 super(context, attrs, defStyle);
/frameworks/base/tools/layoutlib/bridge/src/com/google/android/maps/
H A DMapView.java38 * @param context A Context object used to access application assets.
40 public MapView(Context context) { argument
41 this(context, null);
46 * @param context A Context object used to access application assets.
49 public MapView(Context context, AttributeSet attrs) { argument
50 this(context, attrs, com.android.internal.R.attr.mapViewStyle);
55 * @param context A Context object used to access application assets.
59 public MapView(Context context, AttributeSet attrs, int defStyle) { argument
60 super(context, attrs, defStyle);
/frameworks/base/services/java/com/android/server/am/
H A DFactoryErrorDialog.java24 public FactoryErrorDialog(Context context, CharSequence msg) { argument
25 super(context);
27 setTitle(context.getText(com.android.internal.R.string.factorytest_failed));
29 setButton(context.getText(com.android.internal.R.string.factorytest_reboot),
/frameworks/base/test-runner/src/android/test/
H A DTestCase.java40 public void setUp(Context context); argument
/frameworks/base/core/java/com/google/android/mms/util/
H A DSqliteWrapper.java41 private static boolean isLowMemory(Context context) { argument
42 if (null == context) {
47 context.getSystemService(Context.ACTIVITY_SERVICE);
59 public static void checkSQLiteException(Context context, SQLiteException e) { argument
61 Toast.makeText(context, com.android.internal.R.string.low_memory,
68 public static Cursor query(Context context, ContentResolver resolver, Uri uri, argument
74 checkSQLiteException(context, e);
79 public static boolean requery(Context context, Cursor cursor) { argument
84 checkSQLiteException(context, e);
88 public static int update(Context context, ContentResolve argument
99 delete(Context context, ContentResolver resolver, Uri uri, String where, String[] selectionArgs) argument
110 insert(Context context, ContentResolver resolver, Uri uri, ContentValues values) argument
[all...]
/frameworks/base/core/java/android/app/
H A DApplication.java33 * more modular way. If your singleton needs a global context (for example
76 /* package */ final void attach(Context context) { argument
77 attachBaseContext(context);
/frameworks/base/core/java/android/nfc/
H A DNfcManager.java40 public NfcManager(Context context) { argument
43 adapter = new NfcAdapter(context);
/frameworks/base/core/java/com/android/internal/policy/
H A DIPolicy.java31 public Window makeNewWindow(Context context); argument
33 public LayoutInflater makeNewLayoutInflater(Context context); argument

Completed in 727 milliseconds

1234567891011>>