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

12

/packages/apps/Settings/src/com/android/settings/
H A DMultiLinePreference.java28 public MultiLinePreference(Context ctx, AttributeSet attrs, int defStyle) { argument
29 super(ctx, attrs, defStyle);
32 public MultiLinePreference(Context ctx, AttributeSet attrs) { argument
33 super(ctx, attrs);
36 public MultiLinePreference(Context ctx) { argument
37 super(ctx);
H A DSetupEncryptionInterstitial.java34 public static Intent createStartIntent(Context ctx, int quality, argument
36 Intent startIntent = EncryptionInterstitial.createStartIntent(ctx, quality,
38 startIntent.setClass(ctx, SetupEncryptionInterstitial.class);
H A DEncryptionInterstitial.java61 public static Intent createStartIntent(Context ctx, int quality, argument
63 return new Intent(ctx, EncryptionInterstitial.class)
/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/Bluetooth/src/com/android/bluetooth/pbap/
H A DBluetoothPbapConfig.java29 public static void init(Context ctx) { argument
30 Resources r = ctx.getResources();
H A DBluetoothPbapUtils.java162 public static VCardComposer createFilteredVCardComposer(final Context ctx, argument
171 return new VCardComposer(ctx, vType, true);
200 public static final String createProfileVCard(Context ctx, final int vcardType,final byte[] filter) { argument
204 composer = createFilteredVCardComposer(ctx, vcardType, filter);
253 protected static void savePbapParams(Context ctx, long primaryCounter, long secondaryCounter, argument
256 SharedPreferences pref = PreferenceManager.getDefaultSharedPreferences(ctx);
277 protected static void fetchPbapParams(Context ctx) { argument
278 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/Gallery2/src/com/android/gallery3d/util/
H A DAccessibilityUtils.java39 Context ctx = view.getContext();
40 AccessibilityManager am = (AccessibilityManager) ctx.getSystemService(
/packages/apps/Launcher3/src/com/android/launcher3/notification/
H A DFlingAnimationUtils.java54 public FlingAnimationUtils(Context ctx, float maxLengthSeconds) { argument
55 this(ctx, maxLengthSeconds, 0.0f);
64 public FlingAnimationUtils(Context ctx, float maxLengthSeconds, float speedUpFactor) { argument
65 this(ctx, maxLengthSeconds, speedUpFactor, -1.0f, 1.0f);
77 public FlingAnimationUtils(Context ctx, float maxLengthSeconds, float speedUpFactor, float x2, argument
91 = MIN_VELOCITY_DP_PER_SECOND * ctx.getResources().getDisplayMetrics().density;
93 = HIGH_VELOCITY_DP_PER_SECOND * ctx.getResources().getDisplayMetrics().density;
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
H A DRealSystemFacade.java114 SSLContext ctx = SSLContext.getInstance("TLS");
115 ctx.init(null, new TrustManager[] {appConfig.getTrustManager()}, null);
116 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/Bluetooth/src/com/android/bluetooth/btservice/
H A DConfig.java75 static void init(Context ctx) { argument
76 if (ctx == null) {
79 Resources resources = ctx.getResources();
87 if (supported && !isProfileDisabled(ctx, PROFILE_SERVICES[i])) {
/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.java73 public static Intent createStartIntent(Context ctx, int userId) { argument
74 return new Intent(ctx, RedactionInterstitial.class)
76 UserManager.get(ctx).isManagedProfile(userId)
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
H A DBluetoothMapAccountLoader.java51 public BluetoothMapAccountLoader(Context ctx) argument
53 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();
/packages/apps/Gallery/src/com/android/camera/
H A DHighlightView.java48 public HighlightView(View ctx) { argument
49 mContext = ctx;
/packages/services/BuiltInPrintService/jni/plugins/
H A Dlib_pwg.c140 static ssize_t _pwg_io_write(void *ctx, unsigned char *buf, size_t bytes) { argument
141 pcl_job_info_t *pwg_job_info = (pcl_job_info_t *) ctx;

Completed in 815 milliseconds

12