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

/packages/apps/Launcher3/src/com/android/launcher3/
H A DLauncherClings.java25 public static void markFirstRunClingDismissed(Context ctx) { argument
26 Utilities.getPrefs(ctx).edit()
H A DLauncherModel.java368 public void addAppsToAllApps(final Context ctx, final ArrayList<AppInfo> allAppsApps) { argument
/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.java41 public static Intent createStartIntent(Context ctx, int quality, argument
43 Intent startIntent = EncryptionInterstitial.createStartIntent(ctx, quality,
45 startIntent.setClass(ctx, SetupEncryptionInterstitial.class);
H A DEncryptionInterstitial.java64 public static Intent createStartIntent(Context ctx, int quality, argument
66 return new Intent(ctx, EncryptionInterstitial.class)
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/
H A DConfig.java87 static void init(Context ctx) { argument
88 if (ctx == null) {
91 Resources resources = ctx.getResources();
99 if (supported && !isProfileDisabled(ctx, PROFILE_SERVICES[i])) {
/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.java108 public static VCardComposer createFilteredVCardComposer(final Context ctx, argument
126 return new VCardComposer(ctx, vType, true);
155 public static final String createProfileVCard(Context ctx, final int vcardType,final byte[] filter) { argument
159 composer = createFilteredVCardComposer(ctx, vcardType, filter);
/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/map/
H A DBluetoothMapAccountLoader.java56 public BluetoothMapAccountLoader(Context ctx) argument
58 mContext = ctx;
/packages/apps/Settings/src/com/android/settings/notification/
H A DRedactionInterstitial.java75 public static Intent createStartIntent(Context ctx, int userId) { argument
76 return new Intent(ctx, RedactionInterstitial.class)
78 Utils.isManagedProfile(UserManager.get(ctx), userId)
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
H A DBluetoothOppNotification.java132 * @param ctx The context to use to obtain access to the Notification
135 BluetoothOppNotification(Context ctx) { argument
136 mContext = ctx;
/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/DeskClock/src/com/android/deskclock/alarms/
H A DAlarmStateManager.java325 * @param ctx application context
330 private static void scheduleInstanceStateChange(Context ctx, Calendar time, argument
332 sStateChangeScheduler.scheduleInstanceStateChange(ctx, time, instance, newState);
338 * @param ctx application context
341 private static void cancelScheduledInstanceStateChange(Context ctx, AlarmInstance instance) { argument
342 sStateChangeScheduler.cancelScheduledInstanceStateChange(ctx, instance);
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/camerafocus/
H A DPieRenderer.java149 private void init(Context ctx) { argument
152 Resources res = ctx.getResources();
179 mTouchSlopSquared = ViewConfiguration.get(ctx).getScaledTouchSlop();
/packages/apps/Camera2/src/com/android/camera/widget/
H A DFilmstripView.java2551 public FilmstripScrollGesture(Context ctx, Handler handler, Listener listener, argument
2555 mScroller = new Scroller(ctx);
/packages/apps/Messaging/build/gcheckstyle/
H A Dgoogle-style-checker_deploy.jarMETA-INF/ META-INF/MANIFEST.MF build-data.properties com/ com/google/ com/google/ ...

Completed in 694 milliseconds