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

12

/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/
H A DConfig.java66 static void init(Context ctx) { argument
67 if (ctx == null) {
70 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);
153 public static final String createProfileVCard(Context ctx, final int vcardType,final byte[] filter) { argument
157 composer = createFilteredVCardComposer(ctx, vcardType, filter);
/packages/apps/Camera2/src/com/android/camera/app/
H A DAppManagerFactory.java30 public static synchronized AppManagerFactory getInstance(Context ctx) { argument
32 sFactory = new AppManagerFactory(ctx);
41 private AppManagerFactory(Context ctx) { argument
42 mPanoramaStitchingManager = new PanoramaStitchingManager(ctx);
43 mGcamProcessingManager = new PlaceholderManager(ctx);
/packages/apps/Camera2/src_pd/com/android/camera/app/
H A DPanoramaStitchingManager.java26 public PanoramaStitchingManager(Context ctx) { argument
/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/Browser/src/com/android/browser/
H A DDownloadTouchIcon.java61 public DownloadTouchIcon(Tab tab, Context ctx, ContentResolver cr, WebView view) { argument
63 mContext = ctx.getApplicationContext();
78 public DownloadTouchIcon(Context ctx, ContentResolver cr, String url) { argument
80 mContext = ctx.getApplicationContext();
H A DPageProgressView.java71 private void init(Context ctx) { argument
H A DGoogleAccountLogin.java248 private static Account[] getAccounts(Context ctx) { argument
249 return AccountManager.get(ctx).getAccountsByType(GOOGLE);
H A DNavScreen.java211 public TabAdapter(Context ctx, TabControl tc) { argument
212 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/Camera2/src/com/android/camera/
H A DOnScreenIndicators.java45 public OnScreenIndicators(Context ctx, View onScreenIndicatorsView) { argument
46 TypedArray iconIds = ctx.getResources().obtainTypedArray(
H A DPreviewGestures.java101 public PreviewGestures(CameraActivity ctx, SingleTapListener tapListener, argument
107 mScale = new ScaleGestureDetector(ctx, this);
/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/Camera2/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 194 milliseconds

12