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

1234567891011>>

/frameworks/support/v4/kitkat/android/support/v4/content/
H A DContextCompatKitKat.java24 public static File[] getExternalCacheDirs(Context context) { argument
25 return context.getExternalCacheDirs();
28 public static File[] getExternalFilesDirs(Context context, String type) { argument
29 return context.getExternalFilesDirs(type);
32 public static File[] getObbDirs(Context context) { argument
33 return context.getObbDirs();
/frameworks/base/core/java/android/nfc/
H A DNfcManager.java46 public NfcManager(Context context) { argument
48 context = context.getApplicationContext();
49 if (context == null) {
51 "context not associated with any application (using a mock context?)");
54 adapter = NfcAdapter.getNfcAdapter(context);
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/date/
H A DSimpleDayPickerView.java27 public SimpleDayPickerView(Context context, AttributeSet attrs) { argument
28 super(context, attrs);
31 public SimpleDayPickerView(Context context, DatePickerController controller) { argument
32 super(context, controller);
36 public MonthAdapter createMonthAdapter(Context context, DatePickerController controller) { argument
37 return new SimpleMonthAdapter(context, controller);
H A DSimpleMonthAdapter.java26 public SimpleMonthAdapter(Context context, DatePickerController controller) { argument
27 super(context, controller);
31 public MonthView createMonthView(Context context) { argument
32 final MonthView monthView = new SimpleMonthView(context);
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
H A DNonOverlappingFrameLayout.java22 public NonOverlappingFrameLayout(Context context) { argument
23 this(context, null);
26 public NonOverlappingFrameLayout(Context context, AttributeSet attrs) { argument
27 super(context, attrs, 0);
30 public NonOverlappingFrameLayout(Context context, AttributeSet attrs, int defStyle) { argument
31 super(context, attrs, defStyle);
H A DNonOverlappingLinearLayout.java22 public NonOverlappingLinearLayout(Context context) { argument
23 this(context, null);
26 public NonOverlappingLinearLayout(Context context, AttributeSet attrs) { argument
27 this(context, attrs, 0);
30 public NonOverlappingLinearLayout(Context context, AttributeSet attrs, int defStyle) { argument
31 super(context, attrs, defStyle);
H A DRowHeaderView.java26 public RowHeaderView(Context context) { argument
27 this(context, null);
30 public RowHeaderView(Context context, AttributeSet attrs) { argument
31 this(context, attrs, R.attr.rowHeaderStyle);
34 public RowHeaderView(Context context, AttributeSet attrs, int defStyle) { argument
35 super(context, attrs, defStyle);
/frameworks/support/v4/api21/android/support/v4/content/
H A DContextCompatApi21.java25 public static Drawable getDrawable(Context context, int id) { argument
26 return context.getDrawable(id);
29 public static File getNoBackupFilesDir(Context context) { argument
30 return context.getNoBackupFilesDir();
33 public static File getCodeCacheDir(Context context) { argument
34 return context.getCodeCacheDir();
/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 defStyleAttr) { argument
36 this(context, attrs, defStyleAttr, 0);
39 public ExtractButton(Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes) { argument
40 super(context, attrs, defStyleAttr, defStyleRes);
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
H A DLocalPreferences.java26 public static boolean getDisplayAdvancedDevices(Context context) { argument
27 return PreferenceManager.getDefaultSharedPreferences(context)
31 public static boolean getDisplayFileSize(Context context) { argument
32 return PreferenceManager.getDefaultSharedPreferences(context)
36 public static void setDisplayAdvancedDevices(Context context, boolean display) { argument
37 PreferenceManager.getDefaultSharedPreferences(context).edit()
41 public static void setDisplayFileSize(Context context, boolean display) { argument
42 PreferenceManager.getDefaultSharedPreferences(context).edit()
/frameworks/base/packages/Keyguard/src/com/android/keyguard/
H A DAlphaOptimizedLinearLayout.java30 public AlphaOptimizedLinearLayout(Context context) { argument
31 super(context);
34 public AlphaOptimizedLinearLayout(Context context, AttributeSet attrs) { argument
35 super(context, attrs);
38 public AlphaOptimizedLinearLayout(Context context, AttributeSet attrs, int defStyleAttr) { argument
39 super(context, attrs, defStyleAttr);
42 public AlphaOptimizedLinearLayout(Context context, AttributeSet attrs, int defStyleAttr, argument
44 super(context, attrs, defStyleAttr, defStyleRes);
H A DKeyguardLinearLayout.java29 public KeyguardLinearLayout(Context context) { argument
30 this(context, null, 0);
33 public KeyguardLinearLayout(Context context, AttributeSet attrs) { argument
34 this(context, attrs, 0);
37 public KeyguardLinearLayout(Context context, AttributeSet attrs, int defStyle) { argument
38 super(context, attrs, defStyle);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DAlphaImageView.java28 public AlphaImageView(Context context) { argument
29 super(context);
32 public AlphaImageView(Context context, AttributeSet attrs) { argument
33 super(context, attrs);
36 public AlphaImageView(Context context, AttributeSet attrs, int defStyleAttr) { argument
37 super(context, attrs, defStyleAttr);
40 public AlphaImageView(Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes) { argument
41 super(context, attrs, defStyleAttr, defStyleRes);
H A DAlphaOptimizedFrameLayout.java30 public AlphaOptimizedFrameLayout(Context context) { argument
31 super(context);
34 public AlphaOptimizedFrameLayout(Context context, AttributeSet attrs) { argument
35 super(context, attrs);
38 public AlphaOptimizedFrameLayout(Context context, AttributeSet attrs, int defStyleAttr) { argument
39 super(context, attrs, defStyleAttr);
42 public AlphaOptimizedFrameLayout(Context context, AttributeSet attrs, int defStyleAttr, argument
44 super(context, attrs, defStyleAttr, defStyleRes);
H A DAlphaOptimizedView.java29 public AlphaOptimizedView(Context context) { argument
30 super(context);
33 public AlphaOptimizedView(Context context, AttributeSet attrs) { argument
34 super(context, attrs);
37 public AlphaOptimizedView(Context context, AttributeSet attrs, int defStyleAttr) { argument
38 super(context, attrs, defStyleAttr);
41 public AlphaOptimizedView(Context context, AttributeSet attrs, int defStyleAttr, argument
43 super(context, attrs, defStyleAttr, defStyleRes);
/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/support/v4/froyo/android/support/v4/content/
H A DContextCompatFroyo.java24 public static File getExternalCacheDir(Context context) { argument
25 return context.getExternalCacheDir();
28 public static File getExternalFilesDir(Context context, String type) { argument
29 return context.getExternalFilesDir(type);
/frameworks/support/v4/honeycomb/android/support/v4/content/
H A DContextCompatHoneycomb.java25 * Implementation of context compatibility that can call Honeycomb APIs.
29 static void startActivities(Context context, Intent[] intents) { argument
30 context.startActivities(intents);
33 public static File getObbDir(Context context) { argument
34 return context.getObbDir();
/frameworks/base/packages/SystemUI/src/com/android/systemui/settings/
H A DToggleSeekBar.java25 public ToggleSeekBar(Context context) { argument
26 super(context);
29 public ToggleSeekBar(Context context, AttributeSet attrs) { argument
30 super(context, attrs);
33 public ToggleSeekBar(Context context, AttributeSet attrs, int defStyleAttr) { argument
34 super(context, attrs, defStyleAttr);
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/
H A DContentFrameLayout.java29 public ContentFrameLayout(Context context) { argument
30 this(context, null);
33 public ContentFrameLayout(Context context, AttributeSet attrs) { argument
34 this(context, attrs, 0);
37 public ContentFrameLayout(Context context, AttributeSet attrs, int defStyleAttr) { argument
38 super(context, attrs, defStyleAttr);
/frameworks/base/core/java/android/preference/
H A DPreferenceCategory.java37 Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes) {
38 super(context, attrs, defStyleAttr, defStyleRes);
41 public PreferenceCategory(Context context, AttributeSet attrs, int defStyleAttr) { argument
42 this(context, attrs, defStyleAttr, 0);
45 public PreferenceCategory(Context context, AttributeSet attrs) { argument
46 this(context, attrs, com.android.internal.R.attr.preferenceCategoryStyle);
49 public PreferenceCategory(Context context) { argument
50 this(context, null);
36 PreferenceCategory( Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes) argument
/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/java/android/widget/
H A DButton.java98 public Button(Context context) { argument
99 this(context, null);
102 public Button(Context context, AttributeSet attrs) { argument
103 this(context, attrs, com.android.internal.R.attr.buttonStyle);
106 public Button(Context context, AttributeSet attrs, int defStyleAttr) { argument
107 this(context, attrs, defStyleAttr, 0);
110 public Button(Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes) { argument
111 super(context, attrs, defStyleAttr, defStyleRes);
H A DCheckBox.java59 public CheckBox(Context context) { argument
60 this(context, null);
63 public CheckBox(Context context, AttributeSet attrs) { argument
64 this(context, attrs, com.android.internal.R.attr.checkboxStyle);
67 public CheckBox(Context context, AttributeSet attrs, int defStyleAttr) { argument
68 this(context, attrs, defStyleAttr, 0);
71 public CheckBox(Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes) { argument
72 super(context, attrs, defStyleAttr, defStyleRes);

Completed in 1373 milliseconds

1234567891011>>