/packages/apps/Settings/tests/anomaly-tester/src/com/android/settings/anomaly/tester/utils/ |
D | AnomalyActions.java | 43 public static void doAction(Context ctx, String actionCode, long durationMs) { in doAction() argument 50 doUnoptimizedBleScan(ctx, durationMs); in doAction() 53 doHoldWakelock(ctx, durationMs); in doAction() 59 private static void doUnoptimizedBleScan(Context ctx, long durationMs) { in doUnoptimizedBleScan() argument 101 private static void doHoldWakelock(Context ctx, long durationMs) { in doHoldWakelock() argument 102 PowerManager powerManager = ctx.getSystemService(PowerManager.class); in doHoldWakelock()
|
/packages/apps/Settings/src/com/android/settings/wifi/ |
D | LinkablePreference.java | 39 public LinkablePreference(Context ctx, AttributeSet attrs, int defStyle) { in LinkablePreference() argument 40 super(ctx, attrs, defStyle); in LinkablePreference() 44 public LinkablePreference(Context ctx, AttributeSet attrs) { in LinkablePreference() argument 45 super(ctx, attrs); in LinkablePreference() 49 public LinkablePreference(Context ctx) { in LinkablePreference() argument 50 super(ctx); in LinkablePreference()
|
/packages/apps/Email/src/com/android/email/activity/setup/ |
D | PolicyListPreference.java | 32 public PolicyListPreference(Context ctx, AttributeSet attrs, int defStyle) { in PolicyListPreference() argument 33 super(ctx, attrs, defStyle); in PolicyListPreference() 36 public PolicyListPreference(Context ctx, AttributeSet attrs) { in PolicyListPreference() argument 37 super(ctx, attrs); in PolicyListPreference()
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/colorpicker/ |
D | ColorValueView.java | 57 public ColorValueView(Context ctx, AttributeSet attrs) { in ColorValueView() argument 58 super(ctx, attrs); in ColorValueView() 59 DisplayMetrics metrics = ctx.getResources().getDisplayMetrics(); in ColorValueView() 69 mDotPaint.setColor(ctx.getResources().getColor(R.color.slider_dot_color)); in ColorValueView() 76 mSliderColor = ctx.getResources().getColor(R.color.slider_line_color); in ColorValueView()
|
D | ColorSaturationView.java | 63 public ColorSaturationView(Context ctx, AttributeSet attrs) { in ColorSaturationView() argument 64 super(ctx, attrs); in ColorSaturationView() 65 DisplayMetrics metrics = ctx.getResources().getDisplayMetrics(); in ColorSaturationView() 74 mDotPaint.setColor(ctx.getResources().getColor(R.color.slider_dot_color)); in ColorSaturationView() 75 mSliderColor = ctx.getResources().getColor(R.color.slider_line_color); in ColorSaturationView()
|
D | ColorBrightnessView.java | 63 public ColorBrightnessView(Context ctx, AttributeSet attrs) { in ColorBrightnessView() argument 64 super(ctx, attrs); in ColorBrightnessView() 65 DisplayMetrics metrics = ctx.getResources().getDisplayMetrics(); in ColorBrightnessView() 74 mDotPaint.setColor(ctx.getResources().getColor(R.color.slider_dot_color)); in ColorBrightnessView() 75 mSliderColor = ctx.getResources().getColor(R.color.slider_line_color); in ColorBrightnessView()
|
D | ColorHueView.java | 64 public ColorHueView(Context ctx, AttributeSet attrs) { in ColorHueView() argument 65 super(ctx, attrs); in ColorHueView() 66 DisplayMetrics metrics = ctx.getResources().getDisplayMetrics(); in ColorHueView() 74 mDotPaint.setColor(ctx.getResources().getColor(R.color.slider_dot_color)); in ColorHueView() 75 mSliderColor = ctx.getResources().getColor(R.color.slider_line_color); in ColorHueView()
|
D | ColorSVRectView.java | 62 public ColorSVRectView(Context ctx, AttributeSet attrs) { in ColorSVRectView() argument 63 super(ctx, attrs); in ColorSVRectView() 65 DisplayMetrics metrics = ctx.getResources().getDisplayMetrics(); in ColorSVRectView() 78 mDotPaint.setColor(ctx.getResources().getColor(R.color.slider_dot_color)); in ColorSVRectView() 79 mSliderColor = ctx.getResources().getColor(R.color.slider_line_color); in ColorSVRectView()
|
D | ColorRectView.java | 67 public ColorRectView(Context ctx, AttributeSet attrs) { in ColorRectView() argument 68 super(ctx, attrs); in ColorRectView() 70 DisplayMetrics metrics = ctx.getResources().getDisplayMetrics(); in ColorRectView() 81 mDotPaint.setColor(ctx.getResources().getColor(R.color.slider_dot_color)); in ColorRectView() 82 mSliderColor = ctx.getResources().getColor(R.color.slider_line_color); in ColorRectView()
|
D | ColorCompareView.java | 59 public ColorCompareView(Context ctx, AttributeSet attrs) { in ColorCompareView() argument 60 super(ctx, attrs); in ColorCompareView() 61 DisplayMetrics metrics = ctx.getResources().getDisplayMetrics(); in ColorCompareView() 66 Resources res = ctx.getResources(); in ColorCompareView()
|
D | ColorOpacityView.java | 61 public ColorOpacityView(Context ctx, AttributeSet attrs) { in ColorOpacityView() argument 62 super(ctx, attrs); in ColorOpacityView() 63 DisplayMetrics metrics = ctx.getResources().getDisplayMetrics(); in ColorOpacityView() 72 Resources res = ctx.getResources(); in ColorOpacityView()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/ |
D | BluetoothPbapUtils.java | 162 public static VCardComposer createFilteredVCardComposer(final Context ctx, in createFilteredVCardComposer() argument 171 return new VCardComposer(ctx, vType, true); in createFilteredVCardComposer() 200 …public static final String createProfileVCard(Context ctx, final int vcardType,final byte[] filter… in createProfileVCard() argument 204 composer = createFilteredVCardComposer(ctx, vcardType, filter); in createProfileVCard() 253 protected static void savePbapParams(Context ctx, long primaryCounter, long secondaryCounter, in savePbapParams() argument 256 SharedPreferences pref = PreferenceManager.getDefaultSharedPreferences(ctx); in savePbapParams() 277 protected static void fetchPbapParams(Context ctx) { in fetchPbapParams() argument 278 SharedPreferences pref = PreferenceManager.getDefaultSharedPreferences(ctx); in fetchPbapParams()
|
D | BluetoothPbapConfig.java | 29 public static void init(Context ctx) { in init() argument 30 Resources r = ctx.getResources(); in init()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/ |
D | Config.java | 75 static void init(Context ctx) { in init() argument 76 if (ctx == null) { in init() 79 Resources resources = ctx.getResources(); in init() 87 if (supported && !isProfileDisabled(ctx, PROFILE_SERVICES[i])) { in init()
|
/packages/apps/Settings/src/com/android/settings/ |
D | SetupEncryptionInterstitial.java | 33 public static Intent createStartIntent(Context ctx, int quality, in createStartIntent() argument 35 Intent startIntent = EncryptionInterstitial.createStartIntent(ctx, quality, in createStartIntent() 37 startIntent.setClass(ctx, SetupEncryptionInterstitial.class); in createStartIntent()
|
D | EncryptionInterstitial.java | 71 public static Intent createStartIntent(Context ctx, int quality, in createStartIntent() argument 73 return new Intent(ctx, EncryptionInterstitial.class) in createStartIntent()
|
/packages/providers/DownloadProvider/src/com/android/providers/downloads/ |
D | RealSystemFacade.java | 127 SSLContext ctx = SSLContext.getInstance("TLS"); in getSSLContextForPackage() local 128 ctx.init(null, new TrustManager[] {appConfig.getTrustManager()}, null); in getSSLContextForPackage() 129 return ctx; in getSSLContextForPackage()
|
/packages/apps/Dialer/java/com/android/incallui/answer/impl/utils/ |
D | FlingAnimationUtils.java | 46 public FlingAnimationUtils(Context ctx, float maxLengthSeconds) { in FlingAnimationUtils() argument 50 MIN_VELOCITY_DP_PER_SECOND * ctx.getResources().getDisplayMetrics().density; in FlingAnimationUtils() 52 HIGH_VELOCITY_DP_PER_SECOND * ctx.getResources().getDisplayMetrics().density; in FlingAnimationUtils()
|
/packages/apps/Settings/src/com/android/settings/notification/ |
D | RedactionInterstitial.java | 81 public static Intent createStartIntent(Context ctx, int userId) { in createStartIntent() argument 82 return new Intent(ctx, RedactionInterstitial.class) in createStartIntent() 84 UserManager.get(ctx).isManagedProfile(userId) in createStartIntent()
|
/packages/apps/Gallery2/src/com/android/gallery3d/util/ |
D | AccessibilityUtils.java | 39 Context ctx = view.getContext(); in makeAnnouncement() local 40 AccessibilityManager am = (AccessibilityManager) ctx.getSystemService( in makeAnnouncement()
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | LauncherProvider.java | 532 Context ctx = getContext(); in createWorkspaceLoaderFromAppRestriction() local 533 UserManager um = (UserManager) ctx.getSystemService(Context.USER_SERVICE); in createWorkspaceLoaderFromAppRestriction() 534 Bundle bundle = um.getApplicationRestrictions(ctx.getPackageName()); in createWorkspaceLoaderFromAppRestriction() 542 Resources targetResources = ctx.getPackageManager() in createWorkspaceLoaderFromAppRestriction() 544 return AutoInstallsLayout.get(ctx, packageName, targetResources, in createWorkspaceLoaderFromAppRestriction()
|
/packages/apps/DeskClock/src/com/android/deskclock/alarms/ |
D | AlarmStateManager.java | 331 private static void scheduleInstanceStateChange(Context ctx, Calendar time, in scheduleInstanceStateChange() argument 333 sStateChangeScheduler.scheduleInstanceStateChange(ctx, time, instance, newState); in scheduleInstanceStateChange() 342 private static void cancelScheduledInstanceStateChange(Context ctx, AlarmInstance instance) { in cancelScheduledInstanceStateChange() argument 343 sStateChangeScheduler.cancelScheduledInstanceStateChange(ctx, instance); in cancelScheduledInstanceStateChange()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/map/ |
D | BluetoothMapAccountLoader.java | 51 public BluetoothMapAccountLoader(Context ctx) in BluetoothMapAccountLoader() argument 53 mContext = ctx; in BluetoothMapAccountLoader()
|
/packages/apps/Settings/src/com/android/settings/fingerprint/ |
D | FingerprintSettings.java | 926 Context ctx = widget.getContext(); in onClick() local 928 RestrictedLockUtils.sendShowAdminSupportDetailsIntent(ctx, mEnforcedAdmin); in onClick() 930 Intent intent = HelpUtils.getHelpIntent(ctx, getURL(), ctx.getClass().getName()); in onClick()
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
D | LauncherProvider.java | 271 Context ctx = getContext(); in getWorkspaceLayoutIdFromAppRestrictions() local 272 UserManager um = (UserManager) ctx.getSystemService(Context.USER_SERVICE); in getWorkspaceLayoutIdFromAppRestrictions() 273 Bundle bundle = um.getApplicationRestrictions(ctx.getPackageName()); in getWorkspaceLayoutIdFromAppRestrictions() 277 return ctx.getResources().getIdentifier(layoutName, "xml", ctx.getPackageName()); in getWorkspaceLayoutIdFromAppRestrictions()
|