/frameworks/base/core/java/android/widget/ |
H A D | CheckBox.java | 54 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 D | RadioButton.java | 47 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 D | Button.java | 60 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 D | ImageButton.java | 73 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 D | SeekBar.java | 72 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 D | ResourceCursorTreeAdapter.java | 39 * @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 D | AppWidgetContainerView.java | 25 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 D | ExtractButton.java | 11 public ExtractButton(Context context) { argument 12 super(context, null); 15 public ExtractButton(Context context, AttributeSet attrs) { argument 16 super(context, attrs, com.android.internal.R.attr.buttonStyle); 19 public ExtractButton(Context context, AttributeSet attrs, int defStyle) { argument 20 super(context, attrs, defStyle);
|
/frameworks/base/core/java/android/preference/ |
H A D | PreferenceCategory.java | 31 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 D | ContextThreadGroup.java | 25 final ContextStorage context = new ContextStorage(); field in class:ContextThreadGroup 32 context.shutdown();
|
/frameworks/base/core/java/android/view/ |
H A D | OrientationListener.java | 43 * @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 D | PluginStub.java | 33 * @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
|
H A D | GoogleLocationSettingManager.java | 75 public void start(Context context) { argument 77 if (context == null || !BROWSER_PACKAGE_NAME.equals(context.getPackageName())) { 87 maybeApplySetting(context); 90 mSettingObserver.observe(context); 109 * @param the Application context 111 private void maybeApplySetting(Context context) { argument 112 int setting = getSystemSetting(context); 113 if (settingChanged(setting, context)) { 120 * @param the Application context 123 getSystemSetting(Context context) argument 137 settingChanged(int setting, Context context) argument 181 observe(Context context) argument [all...] |
/frameworks/base/core/jni/ |
H A D | android_message_digest_sha1.cpp | 33 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 D | android_security_Md5MessageDigest.cpp | 28 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/tests/AndroidTests/src/com/android/unit_tests/ |
H A D | SSLClientSessionCacheFactoryTest.java | 23 private static void setSslSessionCacheValue(Context context, String value) { argument 24 ContentResolver resolver = context.getContentResolver(); 28 private static SSLClientSessionCache getCache(Context context, String type) { argument 29 setSslSessionCacheValue(context, type); 30 return SSLClientSessionCacheFactory.getCache(context); 34 Context context = getContext(); 35 SSLClientSessionCache cache = getCache(context, "db"); 41 Context context = getContext(); 42 SSLClientSessionCache cache = getCache(context, "file"); 50 Context context [all...] |
/frameworks/base/core/java/android/appwidget/ |
H A D | AppWidgetProvider.java | 48 * @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/tests/FrameworkTest/src/com/android/frameworktest/layout/linear/ |
H A D | ExceptionTextView.java | 36 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 D | MapView.java | 38 * @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/ |
H A D | BootReceiver.java | 29 public void onReceive(Context context, Intent intent) argument 31 Intent service = new Intent(context, com.android.server.LoadAverageService.class); 32 ContentResolver res = context.getContentResolver(); 36 context.startService(service);
|
/frameworks/base/services/java/com/android/server/am/ |
H A D | FactoryErrorDialog.java | 24 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/android/test/ |
H A D | TestCase.java | 40 public void setUp(Context context); argument
|
/frameworks/policies/base/mid/com/android/internal/policy/impl/ |
H A D | Policy.java | 34 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 D | SqliteWrapper.java | 41 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 D | FontMetrics.java | 144 * @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...] |