Searched defs:ctx (Results 1 - 25 of 28) 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/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/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/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/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/Bluetooth/src/com/android/bluetooth/map/
H A DBluetoothMapAccountLoader.java51 public BluetoothMapAccountLoader(Context ctx) argument
53 mContext = ctx;
/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/opp/
H A DBluetoothOppNotification.java139 * @param ctx The context to use to obtain access to the Notification
142 BluetoothOppNotification(Context ctx) { argument
143 mContext = ctx;
/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/Gallery/src/com/android/camera/
H A DHighlightView.java48 public HighlightView(View ctx) { argument
49 mContext = 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 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 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 DColorOpacityView.java61 public ColorOpacityView(Context ctx, AttributeSet attrs) { argument
62 super(ctx, attrs);
63 DisplayMetrics metrics = ctx.getResources().getDisplayMetrics();
72 Resources res = ctx.getResources();
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);
/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/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;
/packages/apps/DeskClock/src/com/android/deskclock/alarms/
H A DAlarmStateManager.java326 * @param ctx application context
331 private static void scheduleInstanceStateChange(Context ctx, Calendar time, argument
333 sStateChangeScheduler.scheduleInstanceStateChange(ctx, time, instance, newState);
339 * @param ctx application context
342 private static void cancelScheduledInstanceStateChange(Context ctx, AlarmInstance instance) { argument
343 sStateChangeScheduler.cancelScheduledInstanceStateChange(ctx, instance);
/packages/apps/Dialer/java/com/android/dialer/callcomposer/camera/camerafocus/
H A DPieRenderer.java151 private void init(Context ctx) { argument
154 Resources res = ctx.getResources();
181 mTouchSlopSquared = ViewConfiguration.get(ctx).getScaledTouchSlop();

Completed in 551 milliseconds

12