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

123

/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/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/OMA-DM/engine/dmlib/dmengine/dm_ua/src/
H A DdmLockCtxMgr.cc155 DMLockContext ctx; local
157 if ( m_mapContexts.lookup( nID, ctx ) )
159 if ( eLockType == SYNCML_DM_LOCK_TYPE_EXCLUSIVE && eLockType != ctx.m_eLockType )
224 DMLockContext ctx;
228 if ( m_mapContexts.lookup( nID, ctx ) )
280 DMLockContext ctx; local
282 if ( !m_mapContexts.lookup(nID, ctx ) )
285 dm_stat=ReleaseContext( nID, ctx, command );
316 DMLockContext ctx; local
318 if ( !m_mapContexts.lookup(nID, ctx ) )
352 DMLockContext ctx = m_mapContexts.get_value( nK ); local
391 ReleaseContext(INT32 nLockID, const DMLockContext& ctx, SYNCML_DM_COMMAND_T command) argument
569 DMLockContext ctx; local
[all...]
/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/Camera2/src/com/android/camera/util/
H A DAccessibilityUtils.java21 Context ctx = view.getContext();
22 AccessibilityManager am = (AccessibilityManager) ctx.getSystemService(
/packages/apps/Gallery2/src/com/android/gallery3d/util/
H A DAccessibilityUtils.java39 Context ctx = view.getContext();
40 AccessibilityManager am = (AccessibilityManager) ctx.getSystemService(
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/
H A DConfig.java76 static void init(Context ctx) { argument
77 if (ctx == null) {
80 Resources resources = ctx.getResources();
/packages/apps/Settings/src/com/android/settings/notification/
H A DRedactionInterstitial.java46 public static Intent createStartIntent(Context ctx) { argument
47 return new Intent(ctx, RedactionInterstitial.class)
50 .putExtra(EXTRA_PREFS_SET_NEXT_TEXT, ctx.getString(
/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 DUrlInputView.java93 private void init(Context ctx) { argument
94 mInputManager = (InputMethodManager) ctx.getSystemService(Context.INPUT_METHOD_SERVICE);
96 mAdapter = new SuggestionsAdapter(ctx, this);
99 onConfigurationChanged(ctx.getResources().getConfiguration());
H A DPageProgressView.java71 private void init(Context ctx) { argument
/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 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 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);
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 DColorOpacityView.java61 public ColorOpacityView(Context ctx, AttributeSet attrs) { argument
62 super(ctx, attrs);
63 DisplayMetrics metrics = ctx.getResources().getDisplayMetrics();
72 Resources res = ctx.getResources();
/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/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/OMA-DM/engine/dmlib/dmengine/dm_ua/hdr/
H A DdmLockCtxMgr.h225 * \param ctx [in] - lock context
232 const DMLockContext& ctx,

Completed in 341 milliseconds

123