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

12

/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/
H A DConfig.java79 static void init(Context ctx) { argument
80 if (ctx == null) {
83 Resources resources = ctx.getResources();
/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/Browser/src/com/android/browser/view/
H A DPieListView.java33 public PieListView(Context ctx) { argument
35 mBgPaint.setColor(ctx.getResources().getColor(R.color.qcMenuBackground));
H A DPieStackView.java39 public PieStackView(Context ctx) { argument
40 mMinHeight = (int) ctx.getResources()
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
H A DBluetoothMapAccountLoader.java56 public BluetoothMapAccountLoader(Context ctx) argument
58 mContext = ctx;
/packages/apps/Browser/src/com/android/browser/
H A DPageProgressView.java71 private void init(Context ctx) { argument
H A DGoogleAccountLogin.java254 private static Account[] getAccounts(Context ctx) { argument
255 return AccountManager.get(ctx).getAccountsByType(GOOGLE);
H A DNavScreen.java213 public TabAdapter(Context ctx, TabControl tc) { argument
214 context = ctx;
H A DTabScrollView.java65 private void init(Context ctx) { argument
66 mAnimationDuration = ctx.getResources().getInteger(
68 mTabOverlap = (int) ctx.getResources().getDimension(R.dimen.tab_overlap);
71 mContentView = new TabLayout(ctx);
76 (int) ctx.getResources().getDimension(R.dimen.tab_first_padding_left),
H A DWebStorageSizeManager.java185 * @param ctx is the application context
190 public WebStorageSizeManager(Context ctx, DiskInfo diskInfo, argument
192 mContext = ctx.getApplicationContext();
/packages/apps/Settings/src/com/android/settings/
H A DSetupEncryptionInterstitial.java40 public static Intent createStartIntent(Context ctx, int quality, argument
42 Intent startIntent = EncryptionInterstitial.createStartIntent(ctx, quality,
44 startIntent.setClass(ctx, SetupEncryptionInterstitial.class);
H A DSetupRedactionInterstitial.java41 public static Intent createStartIntent(Context ctx) { argument
42 Intent startIntent = RedactionInterstitial.createStartIntent(ctx);
44 startIntent.setClass(ctx, SetupRedactionInterstitial.class);
H A DEncryptionInterstitial.java61 public static Intent createStartIntent(Context ctx, int quality, argument
63 return new Intent(ctx, EncryptionInterstitial.class)
66 .putExtra(EXTRA_PREFS_SET_NEXT_TEXT, ctx.getString(
/packages/apps/Launcher3/src/com/android/launcher3/
H A DLauncherClings.java256 public static void synchonouslyMarkFirstRunClingDismissed(Context ctx) { argument
257 SharedPreferences prefs = ctx.getSharedPreferences(
/packages/apps/Settings/src/com/android/settings/notification/
H A DRedactionInterstitial.java54 public static Intent createStartIntent(Context ctx) { argument
55 if (isSecureNotificationsDisabled(ctx)) {
59 return new Intent(ctx, RedactionInterstitial.class)
62 .putExtra(EXTRA_PREFS_SET_NEXT_TEXT, ctx.getString(
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
H A DBluetoothOppNotification.java130 * @param ctx The context to use to obtain access to the Notification
133 BluetoothOppNotification(Context ctx) { argument
134 mContext = ctx;
/packages/apps/Camera/src/com/android/camera/
H A DPreviewGestures.java74 public PreviewGestures(CameraActivity ctx, CameraModule module, argument
76 mActivity = ctx;
81 mScale = new ScaleGestureDetector(ctx, this);
82 mSlop = (int) ctx.getResources().getDimension(R.dimen.pie_touch_slop);
/packages/apps/Camera/src/com/android/camera/ui/
H A DZoomRenderer.java58 public ZoomRenderer(Context ctx) { argument
59 Resources res = ctx.getResources();
71 mDetector = new ScaleGestureDetector(ctx, this);
/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();

Completed in 499 milliseconds

12