Searched refs:ctx (Results 1 - 25 of 35) sorted by relevance

12

/packages/apps/Email/src/com/android/email/activity/setup/
H A DPolicyListPreference.java32 public PolicyListPreference(Context ctx, AttributeSet attrs, int defStyle) { argument
33 super(ctx, attrs, defStyle);
36 public PolicyListPreference(Context ctx, AttributeSet attrs) { argument
37 super(ctx, attrs);
/packages/apps/Settings/src/com/android/settings/
H A DSetupEncryptionInterstitial.java33 public static Intent createStartIntent(Context ctx, int quality, argument
35 Intent startIntent = EncryptionInterstitial.createStartIntent(ctx, quality,
37 startIntent.setClass(ctx, SetupEncryptionInterstitial.class);
H A DEncryptionInterstitial.java71 public static Intent createStartIntent(Context ctx, int quality, argument
73 return new Intent(ctx, EncryptionInterstitial.class)
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/
H A DBluetoothPbapConfig.java30 public static void init(Context ctx) { argument
31 Resources r = ctx.getResources();
H A DBluetoothPbapUtils.java113 static VCardComposer createFilteredVCardComposer(final Context ctx, final int vcardType, argument
125 return new VCardComposer(ctx, vType, true);
141 static String createProfileVCard(Context ctx, final int vcardType, final byte[] filter) { argument
145 composer = createFilteredVCardComposer(ctx, vcardType, filter);
163 static void savePbapParams(Context ctx) { argument
164 SharedPreferences pref = PreferenceManager.getDefaultSharedPreferences(ctx);
187 static void fetchPbapParams(Context ctx) { argument
188 SharedPreferences pref = PreferenceManager.getDefaultSharedPreferences(ctx);
/packages/apps/Settings/src/com/android/settings/wifi/
H A DLinkablePreference.java39 public LinkablePreference(Context ctx, AttributeSet attrs, int defStyle) { argument
40 super(ctx, attrs, defStyle);
44 public LinkablePreference(Context ctx, AttributeSet attrs) { argument
45 super(ctx, attrs);
49 public LinkablePreference(Context ctx) { argument
50 super(ctx);
/packages/apps/Settings/tests/anomaly-tester/src/com/android/settings/anomaly/tester/utils/
H A DAnomalyActions.java43 public static void doAction(Context ctx, String actionCode, long durationMs) { argument
50 doUnoptimizedBleScan(ctx, durationMs);
53 doHoldWakelock(ctx, durationMs);
59 private static void doUnoptimizedBleScan(Context ctx, long durationMs) { argument
101 private static void doHoldWakelock(Context ctx, long durationMs) { argument
102 PowerManager powerManager = ctx.getSystemService(PowerManager.class);
/packages/services/Car/tests/carservice_test/src/com/android/car/
H A DSystemActivityMonitoringServiceTest.java125 private static ComponentName toComponentName(Context ctx, Class<?> cls) { argument
126 return ComponentName.createRelative(ctx, cls.getName());
129 private static void startActivity(Context ctx, ComponentName name) { argument
133 ctx.startActivity(intent);
/packages/apps/Gallery2/src/com/android/gallery3d/util/
H A DAccessibilityUtils.java39 Context ctx = view.getContext();
40 AccessibilityManager am = (AccessibilityManager) ctx.getSystemService(
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
H A DRealSystemFacade.java102 SSLContext ctx = SSLContext.getInstance("TLS");
103 ctx.init(null, new TrustManager[] {appConfig.getTrustManager()}, null);
104 return ctx;
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/colorpicker/
H A DColorBrightnessView.java63 public ColorBrightnessView(Context ctx, AttributeSet attrs) { argument
64 super(ctx, attrs);
65 DisplayMetrics metrics = ctx.getResources().getDisplayMetrics();
74 mDotPaint.setColor(ctx.getResources().getColor(R.color.slider_dot_color));
75 mSliderColor = ctx.getResources().getColor(R.color.slider_line_color);
H A DColorHueView.java64 public ColorHueView(Context ctx, AttributeSet attrs) { argument
65 super(ctx, attrs);
66 DisplayMetrics metrics = ctx.getResources().getDisplayMetrics();
74 mDotPaint.setColor(ctx.getResources().getColor(R.color.slider_dot_color));
75 mSliderColor = ctx.getResources().getColor(R.color.slider_line_color);
H A DColorRectView.java67 public ColorRectView(Context ctx, AttributeSet attrs) { argument
68 super(ctx, attrs);
70 DisplayMetrics metrics = ctx.getResources().getDisplayMetrics();
81 mDotPaint.setColor(ctx.getResources().getColor(R.color.slider_dot_color));
82 mSliderColor = ctx.getResources().getColor(R.color.slider_line_color);
H A DColorSVRectView.java62 public ColorSVRectView(Context ctx, AttributeSet attrs) { argument
63 super(ctx, attrs);
65 DisplayMetrics metrics = ctx.getResources().getDisplayMetrics();
78 mDotPaint.setColor(ctx.getResources().getColor(R.color.slider_dot_color));
79 mSliderColor = ctx.getResources().getColor(R.color.slider_line_color);
H A DColorSaturationView.java63 public ColorSaturationView(Context ctx, AttributeSet attrs) { argument
64 super(ctx, attrs);
65 DisplayMetrics metrics = ctx.getResources().getDisplayMetrics();
74 mDotPaint.setColor(ctx.getResources().getColor(R.color.slider_dot_color));
75 mSliderColor = ctx.getResources().getColor(R.color.slider_line_color);
H A DColorValueView.java57 public ColorValueView(Context ctx, AttributeSet attrs) { argument
58 super(ctx, attrs);
59 DisplayMetrics metrics = ctx.getResources().getDisplayMetrics();
69 mDotPaint.setColor(ctx.getResources().getColor(R.color.slider_dot_color));
76 mSliderColor = ctx.getResources().getColor(R.color.slider_line_color);
H A DColorCompareView.java59 public ColorCompareView(Context ctx, AttributeSet attrs) { argument
60 super(ctx, attrs);
61 DisplayMetrics metrics = ctx.getResources().getDisplayMetrics();
66 Resources res = ctx.getResources();
H A DColorOpacityView.java61 public ColorOpacityView(Context ctx, AttributeSet attrs) { argument
62 super(ctx, attrs);
63 DisplayMetrics metrics = ctx.getResources().getDisplayMetrics();
72 Resources res = ctx.getResources();
/packages/apps/Car/Radio/src/com/android/car/radio/platform/
H A DRadioManagerExt.java60 public RadioManagerExt(@NonNull Context ctx) { argument
61 mRadioManager = (RadioManager)ctx.getSystemService(Context.RADIO_SERVICE);
63 mRadioTunerExt = new RadioTunerExt(ctx);
/packages/apps/Car/Radio/libs/android-arch/room/
H A Dcompiler-1.1.0-beta3.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/arch/ android/arch/persistence/ android/arch/persistence/room/ ...
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/
H A DConfig.java108 static void init(Context ctx) { argument
109 if (ctx == null) {
112 Resources resources = ctx.getResources();
120 if (supported && !isProfileDisabled(ctx, config.mMask)) {
/packages/apps/Dialer/java/com/android/incallui/answer/impl/utils/
H A DFlingAnimationUtils.java46 public FlingAnimationUtils(Context ctx, float maxLengthSeconds) { argument
50 MIN_VELOCITY_DP_PER_SECOND * ctx.getResources().getDisplayMetrics().density;
52 HIGH_VELOCITY_DP_PER_SECOND * ctx.getResources().getDisplayMetrics().density;
/packages/apps/Settings/src/com/android/settings/notification/
H A DRedactionInterstitial.java83 public static Intent createStartIntent(Context ctx, int userId) { argument
84 return new Intent(ctx, RedactionInterstitial.class)
86 UserManager.get(ctx).isManagedProfile(userId)
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
H A DBluetoothMapAccountLoader.java50 public BluetoothMapAccountLoader(Context ctx) { argument
51 mContext = ctx;
/packages/apps/PackageInstaller/src/com/android/packageinstaller/television/
H A DUninstallAppProgress.java146 Context ctx = getBaseContext();
147 Toast.makeText(ctx, statusText, Toast.LENGTH_LONG).show();

Completed in 684 milliseconds

12