/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/ |
H A D | Config.java | 79 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 D | BluetoothPbapConfig.java | 29 public static void init(Context ctx) { argument 30 Resources r = ctx.getResources();
|
H A D | BluetoothPbapUtils.java | 108 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 D | PolicyListPreference.java | 32 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 D | PieListView.java | 33 public PieListView(Context ctx) { argument 35 mBgPaint.setColor(ctx.getResources().getColor(R.color.qcMenuBackground));
|
H A D | PieStackView.java | 39 public PieStackView(Context ctx) { argument 40 mMinHeight = (int) ctx.getResources()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/map/ |
H A D | BluetoothMapAccountLoader.java | 56 public BluetoothMapAccountLoader(Context ctx) argument 58 mContext = ctx;
|
/packages/apps/Browser/src/com/android/browser/ |
H A D | PageProgressView.java | 71 private void init(Context ctx) { argument
|
H A D | GoogleAccountLogin.java | 254 private static Account[] getAccounts(Context ctx) { argument 255 return AccountManager.get(ctx).getAccountsByType(GOOGLE);
|
H A D | NavScreen.java | 213 public TabAdapter(Context ctx, TabControl tc) { argument 214 context = ctx;
|
H A D | TabScrollView.java | 65 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 D | WebStorageSizeManager.java | 185 * @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 D | SetupEncryptionInterstitial.java | 40 public static Intent createStartIntent(Context ctx, int quality, argument 42 Intent startIntent = EncryptionInterstitial.createStartIntent(ctx, quality, 44 startIntent.setClass(ctx, SetupEncryptionInterstitial.class);
|
H A D | SetupRedactionInterstitial.java | 41 public static Intent createStartIntent(Context ctx) { argument 42 Intent startIntent = RedactionInterstitial.createStartIntent(ctx); 44 startIntent.setClass(ctx, SetupRedactionInterstitial.class);
|
H A D | EncryptionInterstitial.java | 61 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 D | LauncherClings.java | 256 public static void synchonouslyMarkFirstRunClingDismissed(Context ctx) { argument 257 SharedPreferences prefs = ctx.getSharedPreferences(
|
/packages/apps/Settings/src/com/android/settings/notification/ |
H A D | RedactionInterstitial.java | 54 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 D | BluetoothOppNotification.java | 130 * @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 D | PreviewGestures.java | 74 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 D | ZoomRenderer.java | 58 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 D | HighlightView.java | 48 public HighlightView(View ctx) { argument 49 mContext = ctx;
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/colorpicker/ |
H A D | ColorBrightnessView.java | 63 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 D | ColorCompareView.java | 59 public ColorCompareView(Context ctx, AttributeSet attrs) { argument 60 super(ctx, attrs); 61 DisplayMetrics metrics = ctx.getResources().getDisplayMetrics(); 66 Resources res = ctx.getResources();
|
H A D | ColorHueView.java | 64 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 D | ColorOpacityView.java | 61 public ColorOpacityView(Context ctx, AttributeSet attrs) { argument 62 super(ctx, attrs); 63 DisplayMetrics metrics = ctx.getResources().getDisplayMetrics(); 72 Resources res = ctx.getResources();
|