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

12

/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/Bluetooth/src/com/android/bluetooth/btservice/
H A DConfig.java63 static void init(Context ctx) { argument
64 if (ctx == null) {
67 Resources resources = ctx.getResources();
/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/Gallery2/src/com/android/gallery3d/util/
H A DAccessibilityUtils.java39 Context ctx = view.getContext();
40 AccessibilityManager am = (AccessibilityManager) ctx.getSystemService(
/packages/apps/Browser/src/com/android/browser/
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 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 DUrlInputView.java102 private void init(Context ctx) { argument
103 mInputManager = (InputMethodManager) ctx.getSystemService(Context.INPUT_METHOD_SERVICE);
105 mAdapter = new SuggestionsAdapter(ctx, this);
108 onConfigurationChanged(ctx.getResources().getConfiguration());
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 DPreloadController.java41 public PreloadController(Context ctx) { argument
42 mContext = ctx.getApplicationContext();
H A DWebStorageSizeManager.java185 * @param ctx is the application context
190 public WebStorageSizeManager(Context ctx, DiskInfo diskInfo, argument
192 mContext = ctx.getApplicationContext();
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/colorpicker/
H A DColorOpacityView.java60 public ColorOpacityView(Context ctx, AttributeSet attrs) { argument
61 super(ctx, attrs);
62 DisplayMetrics metrics = ctx.getResources().getDisplayMetrics();
71 mDotPaint.setColor(ctx.getResources().getColor(R.color.slider_dot_color));
72 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 DColorValueView.java55 public ColorValueView(Context ctx, AttributeSet attrs) { argument
56 super(ctx, attrs);
57 DisplayMetrics metrics = ctx.getResources().getDisplayMetrics();
67 mDotPaint.setColor(ctx.getResources().getColor(R.color.slider_dot_color));
74 mSliderColor = ctx.getResources().getColor(R.color.slider_line_color);
/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/Gallery2/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/Gallery2/src/com/android/camera/
H A DOnScreenIndicators.java42 public OnScreenIndicators(Context ctx, View onScreenIndicatorsView) { argument
43 TypedArray iconIds = ctx.getResources().obtainTypedArray(
H A DPreviewGestures.java90 public PreviewGestures(CameraActivity ctx, SingleTapListener tapListener, argument
92 mActivity = ctx;
97 mScale = new ScaleGestureDetector(ctx, this);
98 mSlop = (int) ctx.getResources().getDimension(R.dimen.pie_touch_slop);
H A DCaptureAnimManager.java81 public CaptureAnimManager(Context ctx) { argument
82 mBorder = new NinePatchTexture(ctx, R.drawable.capture_thumbnail_shadow);
83 mResources = ctx.getResources();
/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/Gallery2/src/com/android/gallery3d/filtershow/editors/
H A DEditorDraw.java125 FilterShowActivity ctx = mImageShow.getActivity();
126 final Dialog dialog = new Dialog(ctx);
/packages/apps/PackageInstaller/src/com/android/packageinstaller/
H A DUninstallAppProgress.java81 Context ctx = getBaseContext();
82 Toast.makeText(ctx, statusText, Toast.LENGTH_LONG).show();

Completed in 407 milliseconds

12