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

1234567891011>>

/frameworks/base/core/java/android/widget/
H A DCheckBox.java54 public CheckBox(Context context) { argument
55 this(context, null);
58 public CheckBox(Context context, AttributeSet attrs) { argument
59 this(context, attrs, com.android.internal.R.attr.checkboxStyle);
62 public CheckBox(Context context, AttributeSet attrs, int defStyle) { argument
63 super(context, attrs, defStyle);
H A DRadioButton.java47 public RadioButton(Context context) { argument
48 this(context, null);
51 public RadioButton(Context context, AttributeSet attrs) { argument
52 this(context, attrs, com.android.internal.R.attr.radioButtonStyle);
55 public RadioButton(Context context, AttributeSet attrs, int defStyle) { argument
56 super(context, attrs, defStyle);
H A DButton.java60 public Button(Context context) { argument
61 this(context, null);
64 public Button(Context context, AttributeSet attrs) { argument
65 this(context, attrs, com.android.internal.R.attr.buttonStyle);
68 public Button(Context context, AttributeSet attrs, int defStyle) { argument
69 super(context, attrs, defStyle);
H A DImageButton.java73 public ImageButton(Context context) { argument
74 this(context, null);
77 public ImageButton(Context context, AttributeSet attrs) { argument
78 this(context, attrs, com.android.internal.R.attr.imageButtonStyle);
81 public ImageButton(Context context, AttributeSet attrs, int defStyle) { argument
82 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...]
/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/awt/org/apache/harmony/awt/
H A DContextThreadGroup.java25 final ContextStorage context = new ContextStorage(); field in class:ContextThreadGroup
32 context.shutdown();
/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/policies/base/mid/com/android/internal/policy/impl/
H A DPolicy.java34 public MidWindow makeNewWindow(Context context) { argument
35 return new MidWindow(context);
38 public MidLayoutInflater makeNewLayoutInflater(Context context) { argument
39 return new MidLayoutInflater(context);
/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/awt/java/awt/
H A DFontMetrics.java144 * @param context
150 Graphics context) {
151 return font.getLineMetrics(ci, beginIndex, limit, this.getFRCFromGraphics(context));
160 * @param context
165 public LineMetrics getLineMetrics(String str, Graphics context) { argument
166 return font.getLineMetrics(str, this.getFRCFromGraphics(context));
179 * @param context
184 public LineMetrics getLineMetrics(char[] chars, int beginIndex, int limit, Graphics context) { argument
185 return font.getLineMetrics(chars, beginIndex, limit, this.getFRCFromGraphics(context));
198 * @param context
149 getLineMetrics(CharacterIterator ci, int beginIndex, int limit, Graphics context) argument
203 getLineMetrics(String str, int beginIndex, int limit, Graphics context) argument
214 getMaxCharBounds(Graphics context) argument
233 getStringBounds(CharacterIterator ci, int beginIndex, int limit, Graphics context) argument
253 getStringBounds(String str, int beginIndex, int limit, Graphics context) argument
272 getStringBounds(char[] chars, int beginIndex, int limit, Graphics context) argument
287 getStringBounds(String str, Graphics context) argument
456 getFRCFromGraphics(Graphics context) argument
[all...]
/frameworks/base/core/java/android/app/
H A DApplication.java70 /* package */ final void attach(Context context) { argument
71 attachBaseContext(context);

Completed in 2486 milliseconds

1234567891011>>