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

1234567891011>>

/frameworks/support/compat/api24/android/support/v4/content/
H A DContextCompatApi24.java24 public static File getDataDir(Context context) { argument
25 return context.getDataDir();
28 public static Context createDeviceProtectedStorageContext(Context context) { argument
29 return context.createDeviceProtectedStorageContext();
32 public static boolean isDeviceProtectedStorage(Context context) { argument
33 return context.isDeviceProtectedStorage();
/frameworks/support/compat/java/android/support/v4/os/
H A DUserManagerCompat.java39 public static boolean isUserRunningAndLocked(Context context) { argument
40 return !isUserUnlocked(context);
53 public static boolean isUserRunningAndUnlocked(Context context) { argument
54 return isUserUnlocked(context);
63 public static boolean isUserUnlocked(Context context) { argument
65 return UserManagerCompatApi24.isUserUnlocked(context);
/frameworks/support/compat/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/base/packages/DocumentsUI/src/com/android/documentsui/
H A DGridItemThumbnail.java27 public GridItemThumbnail(Context context) { argument
28 super(context);
31 public GridItemThumbnail(Context context, AttributeSet attrs) { argument
32 super(context, attrs);
35 public GridItemThumbnail(Context context, AttributeSet attrs, int defStyle) { argument
36 super(context, attrs, defStyle);
/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/compat/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/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 DNonOverlappingRelativeLayout.java22 public NonOverlappingRelativeLayout(Context context) { argument
23 this(context, null);
26 public NonOverlappingRelativeLayout(Context context, AttributeSet attrs) { argument
27 super(context, attrs, 0);
30 public NonOverlappingRelativeLayout(Context context, AttributeSet attrs, int defStyle) { argument
31 super(context, attrs, defStyle);
H A DNonOverlappingView.java24 public NonOverlappingView(Context context) { argument
25 this(context, null);
28 public NonOverlappingView(Context context, AttributeSet attrs) { argument
29 super(context, attrs, 0);
32 public NonOverlappingView(Context context, AttributeSet attrs, int defStyle) { argument
33 super(context, attrs, defStyle);
/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/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 defStyleAttr) { argument
66 this(context, attrs, defStyleAttr, 0);
69 public CheckBox(Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes) { argument
70 super(context, attrs, defStyleAttr, defStyleRes);
/frameworks/base/packages/Keyguard/src/com/android/keyguard/
H A DAlphaOptimizedLinearLayout.java29 public AlphaOptimizedLinearLayout(Context context) { argument
30 super(context);
33 public AlphaOptimizedLinearLayout(Context context, AttributeSet attrs) { argument
34 super(context, attrs);
37 public AlphaOptimizedLinearLayout(Context context, AttributeSet attrs, int defStyleAttr) { argument
38 super(context, attrs, defStyleAttr);
41 public AlphaOptimizedLinearLayout(Context context, AttributeSet attrs, int defStyleAttr, argument
43 super(context, attrs, defStyleAttr, defStyleRes);
/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 DAlphaOptimizedButton.java27 public AlphaOptimizedButton(Context context) { argument
28 super(context);
31 public AlphaOptimizedButton(Context context, AttributeSet attrs) { argument
32 super(context, attrs);
35 public AlphaOptimizedButton(Context context, AttributeSet attrs, int defStyleAttr) { argument
36 super(context, attrs, defStyleAttr);
39 public AlphaOptimizedButton(Context context, AttributeSet attrs, int defStyleAttr, argument
41 super(context, attrs, defStyleAttr, defStyleRes);
H A DAlphaOptimizedFrameLayout.java29 public AlphaOptimizedFrameLayout(Context context) { argument
30 super(context);
33 public AlphaOptimizedFrameLayout(Context context, AttributeSet attrs) { argument
34 super(context, attrs);
37 public AlphaOptimizedFrameLayout(Context context, AttributeSet attrs, int defStyleAttr) { argument
38 super(context, attrs, defStyleAttr);
41 public AlphaOptimizedFrameLayout(Context context, AttributeSet attrs, int defStyleAttr, argument
43 super(context, attrs, defStyleAttr, defStyleRes);
H A DAlphaOptimizedImageView.java29 public AlphaOptimizedImageView(Context context) { argument
30 this(context, null /* attrs */);
33 public AlphaOptimizedImageView(Context context, AttributeSet attrs) { argument
34 this(context, attrs, 0 /* defStyleAttr */);
37 public AlphaOptimizedImageView(Context context, AttributeSet attrs, int defStyleAttr) { argument
38 this(context, attrs, defStyleAttr, 0 /* defStyleRes */);
41 public AlphaOptimizedImageView(Context context, AttributeSet attrs, int defStyleAttr, argument
43 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/tools/layoutlib/bridge/tests/res/testApp/MyApplication/src/main/java/com/android/layoutlib/test/myapplication/
H A DCustomCalendar.java8 public CustomCalendar(Context context) { argument
9 super(context);
13 public CustomCalendar(Context context, AttributeSet attrs) { argument
14 super(context, attrs);
18 public CustomCalendar(Context context, AttributeSet attrs, int defStyleAttr) { argument
19 super(context, attrs, defStyleAttr);
23 public CustomCalendar(Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes) { argument
24 super(context, attrs, defStyleAttr, defStyleRes);
H A DCustomDate.java8 public CustomDate(Context context) { argument
9 super(context);
13 public CustomDate(Context context, AttributeSet attrs) { argument
14 super(context, attrs);
18 public CustomDate(Context context, AttributeSet attrs, int defStyleAttr) { argument
19 super(context, attrs, defStyleAttr);
23 public CustomDate(Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes) { argument
24 super(context, attrs, defStyleAttr, defStyleRes);
/frameworks/data-binding/integration-tests/TestApp/app/src/main/java/android/databinding/testapp/view/
H A DMyTextView.java22 public MyTextView(Context context) { argument
23 super(context);
25 public MyTextView(Context context, AttributeSet attrs) { argument
26 super(context, attrs);
29 public MyTextView(Context context, AttributeSet attrs, int defStyleAttr) { argument
30 super(context, attrs, defStyleAttr);
33 public MyTextView(Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes) { argument
34 super(context, attrs, defStyleAttr, defStyleRes);
/frameworks/support/core-utils/api20/android/support/v4/print/
H A DPrintHelperApi20.java25 PrintHelperApi20(Context context) { argument
26 super(context);
/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);

Completed in 722 milliseconds

1234567891011>>