Searched refs:ctx (Results 151 - 175 of 191) sorted by last modified time

12345678

/frameworks/base/packages/Keyguard/src/com/android/keyguard/
H A DObscureSpeechDelegate.java79 final Context ctx = host.getContext();
82 ctx.getString(R.string.keyboard_password_character_no_headset));
/frameworks/base/packages/SystemUI/src/com/android/systemui/
H A DDessertCaseView.java273 final Context ctx = getContext();
283 final ImageView v = new ImageView(ctx);
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/
H A DRecentsActivity.java488 ViewAnimation.TaskViewEnterContext ctx = new ViewAnimation.TaskViewEnterContext(t);
489 mRecentsView.startEnterRecentsAnimation(ctx);
494 ctx.postAnimationTrigger.addLastDecrementRunnable(new Runnable() {
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/
H A DRecentsView.java206 public void startEnterRecentsAnimation(ViewAnimation.TaskViewEnterContext ctx) { argument
209 ctx.postAnimationTrigger.increment();
216 stackView.startEnterRecentsAnimation(ctx);
219 ctx.postAnimationTrigger.decrement();
223 public void startExitToHomeAnimation(ViewAnimation.TaskViewExitContext ctx) { argument
226 ctx.postAnimationTrigger.increment();
232 stackView.startExitToHomeAnimation(ctx);
235 ctx.postAnimationTrigger.decrement();
H A DTaskStackView.java735 public void startEnterRecentsAnimation(ViewAnimation.TaskViewEnterContext ctx) { argument
739 mStartEnterAnimationContext = ctx;
760 ctx.currentTaskTransform = new TaskViewTransform();
761 ctx.currentStackViewIndex = i;
762 ctx.currentStackViewCount = childCount;
763 ctx.currentTaskRect = mLayoutAlgorithm.mTaskRect;
764 ctx.currentTaskOccludesLaunchTarget = (launchTargetTask != null) &&
766 ctx.updateListener = mRequestUpdateClippingListener;
767 mLayoutAlgorithm.getStackTransform(task, mStackScroller.getStackScroll(), ctx.currentTaskTransform, null);
768 tv.startEnterRecentsAnimation(ctx);
804 startExitToHomeAnimation(ViewAnimation.TaskViewExitContext ctx) argument
[all...]
H A DTaskView.java265 void startEnterRecentsAnimation(final ViewAnimation.TaskViewEnterContext ctx) { argument
266 final TaskViewTransform transform = ctx.currentTaskTransform;
280 ctx.postAnimationTrigger.decrementOnAnimationEnd());
287 ctx.postAnimationTrigger.decrementOnAnimationEnd());
289 ctx.postAnimationTrigger.increment();
296 if (ctx.currentTaskOccludesLaunchTarget) {
309 ctx.postAnimationTrigger.decrement();
313 ctx.postAnimationTrigger.increment();
320 int frontIndex = (ctx.currentStackViewCount - ctx
372 startExitToHomeAnimation(ViewAnimation.TaskViewExitContext ctx) argument
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DFlingAnimationUtils.java54 public FlingAnimationUtils(Context ctx, float maxLengthSeconds) { argument
58 = AnimationUtils.loadInterpolator(ctx, android.R.interpolator.fast_out_slow_in);
60 = AnimationUtils.loadInterpolator(ctx, android.R.interpolator.fast_out_linear_in);
62 = MIN_VELOCITY_DP_PER_SECOND * ctx.getResources().getDisplayMetrics().density;
64 = HIGH_VELOCITY_DP_PER_SECOND * ctx.getResources().getDisplayMetrics().density;
H A DNotificationMediaViewWrapper.java27 protected NotificationMediaViewWrapper(Context ctx, View view) { argument
28 super(ctx, view);
H A DNotificationTemplateViewWrapper.java59 protected NotificationTemplateViewWrapper(Context ctx, View view) { argument
61 mIconDarkAlpha = ctx.getResources().getInteger(R.integer.doze_small_icon_alpha);
63 ctx.getResources().getColor(R.color.doze_small_icon_background_color);
64 mLinearOutSlowInInterpolator = AnimationUtils.loadInterpolator(ctx,
H A DNotificationViewWrapper.java32 public static NotificationViewWrapper wrap(Context ctx, View v) { argument
36 return new NotificationMediaViewWrapper(ctx, v);
38 return new NotificationTemplateViewWrapper(ctx, v);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DUnlockMethodCache.java46 private UnlockMethodCache(Context ctx) { argument
47 mLockPatternUtils = new LockPatternUtils(ctx);
48 mKeyguardUpdateMonitor = KeyguardUpdateMonitor.getInstance(ctx);
49 KeyguardUpdateMonitor.getInstance(ctx).registerCallback(mCallback);
H A DVelocityTrackerFactory.java33 public static VelocityTrackerInterface obtain(Context ctx) { argument
34 String tracker = ctx.getResources().getString(R.string.velocity_tracker_impl);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DKeyButtonRipple.java69 public KeyButtonRipple(Context ctx, View targetView) { argument
70 mMaxWidth = ctx.getResources().getDimensionPixelSize(R.dimen.key_button_ripple_max_width);
H A DPreviewInflater.java108 public static boolean wouldLaunchResolverActivity(Context ctx, Intent intent, argument
110 PackageManager packageManager = ctx.getPackageManager();
/frameworks/base/rs/java/android/renderscript/
H A DRenderScript.java1181 RenderScript(Context ctx) { argument
1183 if (ctx != null) {
1184 mApplicationContext = ctx.getApplicationContext();
1208 public static RenderScript create(Context ctx, int sdkVersion) { argument
1209 return create(ctx, sdkVersion, ContextType.NORMAL, CREATE_FLAG_NONE);
1216 * @param ctx The context.
1219 public static RenderScript create(Context ctx, int sdkVersion, ContextType ct, int flags) { argument
1229 RenderScript rs = new RenderScript(ctx);
1245 * @param ctx The context.
1248 public static RenderScript create(Context ctx) { argument
1260 create(Context ctx, ContextType ct) argument
1274 create(Context ctx, ContextType ct, int flags) argument
[all...]
H A DRenderScriptGL.java169 * @param ctx The context.
172 public RenderScriptGL(Context ctx, SurfaceConfig sc) { argument
173 super(ctx);
176 int sdkVersion = ctx.getApplicationInfo().targetSdkVersion;
181 int dpi = ctx.getResources().getDisplayMetrics().densityDpi;
/frameworks/base/services/backup/java/com/android/server/backup/
H A DFullBackupJob.java37 public static void schedule(Context ctx, long minDelay) { argument
38 JobScheduler js = (JobScheduler) ctx.getSystemService(Context.JOB_SCHEDULER_SERVICE);
/frameworks/base/services/core/java/com/android/server/am/
H A DServiceRecord.java451 Context ctx = null;
453 ctx = ams.mContext.createPackageContext(
464 localForegroundNoti.setLatestEventInfo(ctx,
/frameworks/base/services/core/java/com/android/server/location/
H A DCountryDetectorBase.java39 public CountryDetectorBase(Context ctx) { argument
40 mContext = ctx;
H A DLocationBasedCountryDetector.java66 public LocationBasedCountryDetector(Context ctx) { argument
67 super(ctx);
68 mLocationManager = (LocationManager) ctx.getSystemService(Context.LOCATION_SERVICE);
/frameworks/base/services/core/java/com/android/server/notification/
H A DNotificationIntrusivenessExtractor.java35 public void initialize(Context ctx) { argument
H A DPackagePriorityExtractor.java27 public void initialize(Context ctx) { argument
H A DPackageVisibilityExtractor.java27 public void initialize(Context ctx) { argument
/frameworks/base/services/tests/servicestests/src/com/android/server/
H A DLockSettingsStorageTests.java49 final Context ctx = getContext();
50 setContext(new ContextWrapper(ctx) {
54 return new UserManager(ctx, null) {
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/samples/simplecamera/
H A DCamera2Source.java114 Context ctx = context.getApplicationContext();
115 mCameraManager = (CameraManager) ctx.getSystemService(Context.CAMERA_SERVICE);

Completed in 432 milliseconds

12345678