/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/animation/back/ |
D | BackTransformationTest.kt | 19 private val targetView: View = mock() constant in com.android.systemui.animation.back.BackTransformationTest 23 whenever(targetView.width).thenReturn(TARGET_VIEW_WIDTH) in setup() 24 whenever(targetView.height).thenReturn(TARGET_VIEW_HEIGHT) in setup() 40 transformation.applyTo(targetView = targetView) in applyTo_targetView_translateX_Y_Scale() 42 verify(targetView).translationX = 0f in applyTo_targetView_translateX_Y_Scale() 43 verify(targetView).translationY = 0f in applyTo_targetView_translateX_Y_Scale() 44 verify(targetView).scaleX = 1f in applyTo_targetView_translateX_Y_Scale() 45 verify(targetView).scaleY = 1f in applyTo_targetView_translateX_Y_Scale() 46 verifyNoMoreInteractions(targetView) in applyTo_targetView_translateX_Y_Scale() 53 transformation.applyTo(targetView = targetView) in applyTo_targetView_translateX() [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/ |
D | RoundableTest.kt | 21 private val targetView: View = mock() constant in com.android.systemui.statusbar.notification.RoundableTest 22 private val roundable = FakeRoundable(targetView = targetView) 36 verify(targetView, times(1)).invalidate() in applyRoundnessAndInvalidate_should_invalidate_targetView() 44 verify(targetView, times(1)).invalidate() in requestTopRoundness_update_and_invalidate_targetView() 52 verify(targetView, times(1)).invalidate() in requestBottomRoundness_update_and_invalidate_targetView() 61 verify(targetView, atLeastOnce()).invalidate() in requestRoundness_update_and_invalidate_targetView() 74 verify(targetView, atLeastOnce()).invalidate() in requestRoundnessReset_update_and_invalidate_targetView() 153 whenever(targetView.height).thenReturn(10) in getCornerRadii_radius_maxed_to_height() 162 whenever(targetView.height).thenReturn(5) in getCornerRadii_topRadius_maxed_to_height() 171 whenever(targetView.height).thenReturn(5) in getCornerRadii_bottomRadius_maxed_to_height() [all …]
|
/frameworks/base/core/java/android/ddm/ |
D | DdmHandleViewDebug.java | 136 final View targetView = getTargetView(rootView, in); in handleChunk() local 137 if (targetView == null) { in handleChunk() 144 return captureView(rootView, targetView); in handleChunk() 146 return dumpDisplayLists(rootView, targetView); in handleChunk() 148 return profileView(rootView, targetView); in handleChunk() 150 return invokeViewMethod(rootView, targetView, in); in handleChunk() 152 return setLayoutParameter(rootView, targetView, in); in handleChunk() 279 private Chunk captureView(View rootView, View targetView) { in captureView() argument 282 ViewDebug.capture(rootView, b, targetView); in captureView() 293 private Chunk dumpDisplayLists(final View rootView, final View targetView) { in dumpDisplayLists() argument [all …]
|
/frameworks/base/packages/SystemUI/animation/src/com/android/systemui/animation/back/ |
D | BackTransformation.kt | 55 fun BackTransformation.applyTo(targetView: View) { in applyTo() 56 if (translateX.isFinite()) targetView.translationX = translateX in applyTo() 57 if (translateY.isFinite()) targetView.translationY = translateY in applyTo() 58 scalePivotPosition?.applyTo(targetView) in applyTo() 60 targetView.scaleX = scale in applyTo() 61 targetView.scaleY = scale in applyTo()
|
/frameworks/base/core/java/android/view/ |
D | SyncRtSurfaceTransactionApplier.java | 50 public SyncRtSurfaceTransactionApplier(View targetView) { in SyncRtSurfaceTransactionApplier() argument 51 mTargetViewRootImpl = targetView != null ? targetView.getViewRootImpl() : null; in SyncRtSurfaceTransactionApplier() 138 public static void create(final View targetView, in create() argument 140 if (targetView == null) { in create() 143 } else if (targetView.getViewRootImpl() != null) { in create() 145 callback.accept(new SyncRtSurfaceTransactionApplier(targetView)); in create() 148 targetView.addOnAttachStateChangeListener(new View.OnAttachStateChangeListener() { in create() 151 targetView.removeOnAttachStateChangeListener(this); in create() 152 callback.accept(new SyncRtSurfaceTransactionApplier(targetView)); in create()
|
D | NotificationTopLineView.java | 422 OverflowAdjuster adjust(View targetView, View targetDivider, int minimumWidth) { in adjust() argument 423 if (mOverflow <= 0 || targetView == null || targetView.getVisibility() == View.GONE) { in adjust() 426 final int oldWidth = targetView.getMeasuredWidth(); in adjust() 433 && mRegrowView != null && mRegrowView != targetView) { in adjust() 440 targetView.measure(childWidthSpec, mHeightSpec); in adjust() 444 mViewsToDisappear.add(targetView); in adjust() 445 mOverflow -= getHorizontalMargins(targetView); in adjust() 467 mRegrowView = targetView; in adjust()
|
D | ViewDebug.java | 1847 View targetView = findView(root, params[0]); 1848 if (targetView == null) { 1855 byte[] result = invokeViewMethod(targetView, method, args); 1879 public static byte[] invokeViewMethod(View targetView, String methodName, ByteBuffer params) 1896 method = targetView.getClass().getMethod(methodName, argTypes); 1905 FutureTask<Object> task = new FutureTask<>(() -> method.invoke(targetView, args)); 1906 targetView.post(task);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/ |
D | Roundable.kt | 126 animate = roundableState.targetView.isShown in <lambda>() 193 animate = roundableState.targetView.isShown in <lambda>() 245 animate = roundableState.targetView.isShown, in <lambda>() 273 requestRoundnessReset(sourceType = sourceType, animate = roundableState.targetView.isShown) in <lambda>() 278 roundableState.targetView.invalidate() in <lambda>() 316 internal val targetView: View, constant in com.android.systemui.statusbar.notification.RoundableState 384 internal fun isTopAnimating() = PropertyAnimator.isAnimating(targetView, topAnimatable) in isTopAnimating() 387 internal fun isBottomAnimating() = PropertyAnimator.isAnimating(targetView, bottomAnimatable) in isTopAnimating() 394 PropertyAnimator.setProperty(targetView, topAnimatable, value, DURATION, animated) in isTopAnimating() 402 PropertyAnimator.setProperty(targetView, bottomAnimatable, value, DURATION, animated) in setBottomRoundness()
|
/frameworks/base/packages/SystemUI/animation/src/com/android/systemui/util/ |
D | Dialog.kt | 39 targetView: View, in <lambda>() 42 displayMetricsProvider = { targetView.resources.displayMetrics }, in <lambda>() 45 targetView.registerOnBackInvokedCallbackOnViewAttached( 50 displayMetrics = targetView.resources.displayMetrics, 51 onBackProgressed = { backTransformation -> backTransformation.applyTo(targetView) }, in backTransformation()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/magnetictarget/ |
D | MagnetizedObject.kt | 572 val targetAreaWidth = target.targetView.width * flingToTargetWidthPercent in <lambda>() 591 ViewConfiguration.get(associatedTargets[0].targetView.context).scaledTouchSlop in <lambda>() 604 val targetView: View, in <lambda>() constant in com.android.wm.shell.common.magnetictarget.MagnetizedObject.MagneticTarget 628 targetView.post { in <lambda>() 629 targetView.getLocationOnScreen(tempLoc) in <lambda>() 634 tempLoc[0] + targetView.width / 2f - targetView.translationX, in <lambda>() 635 tempLoc[1] + targetView.height / 2f - targetView.translationY) in <lambda>()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/bubbles/ |
D | BaseBubblePinController.kt | 141 val targetView = getDropTargetView() ?: createDropTargetView().apply { alpha = 0f } in <lambda>() constant 142 if (targetView.alpha > 0) { in <lambda>() 143 targetView.animateOut { in <lambda>() 145 targetView.animateIn() in <lambda>() 149 targetView.animateIn() in <lambda>()
|
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/common/magnetictarget/ |
D | MagnetizedObjectTest.kt | 56 private lateinit var targetView: View in <lambda>() variable in com.android.wm.shell.common.magnetictarget.MagnetizedObjectTest 96 targetView = mock(View::class.java) in <lambda>() 97 `when`(targetView.context).thenReturn(context) in <lambda>() 101 `when`(targetView.width).thenReturn(targetSize) // width = 200 in <lambda>() 102 `when`(targetView.height).thenReturn(targetSize) // height = 200 in <lambda>() 109 }.`when`(targetView).getLocationOnScreen(ArgumentMatchers.any()) in <lambda>() 113 }.`when`(targetView).post(ArgumentMatchers.any()) in <lambda>() 114 `when`(targetView.context).thenReturn(context) in <lambda>() 116 magneticTarget = MagnetizedObject.MagneticTarget(targetView, magneticFieldRadius) in <lambda>()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | LinearSmoothScroller.java | 111 protected void onTargetFound(View targetView, RecyclerView.State state, Action action) { in onTargetFound() argument 112 final int dx = calculateDxToMakeVisible(targetView, getHorizontalSnapPreference()); in onTargetFound() 113 final int dy = calculateDyToMakeVisible(targetView, getVerticalSnapPreference()); in onTargetFound()
|
/frameworks/base/core/java/android/widget/ |
D | ZoomButtonsController.java | 557 View targetView = mTouchTargetView; in onTouch() local 561 targetView = findViewForTouch((int) event.getRawX(), (int) event.getRawY()); in onTouch() 562 setTouchTargetView(targetView); in onTouch() 571 if (targetView != null) { in onTouch() 592 boolean retValue = targetView.dispatchTouchEvent(containerEvent); in onTouch()
|
D | AdapterView.java | 441 public AdapterContextMenuInfo(View targetView, int position, long id) { in AdapterContextMenuInfo() argument 442 this.targetView = targetView; in AdapterContextMenuInfo() 451 public View targetView; field in AdapterView.AdapterContextMenuInfo
|
D | ExpandableListView.java | 1292 public ExpandableListContextMenuInfo(View targetView, long packedPosition, long id) { in ExpandableListContextMenuInfo() argument 1293 this.targetView = targetView; in ExpandableListContextMenuInfo() 1302 public View targetView; field in ExpandableListView.ExpandableListContextMenuInfo
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | SystemUIDialog.java | 272 View targetView = getWindow().getDecorView(); in onCreate() local 275 /* targetView = */ targetView, in onCreate() 277 () -> targetView.getResources().getDisplayMetrics()) in onCreate()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/ui/controller/ |
D | MediaViewController.kt | 1123 val targetView: View = in <lambda>() constant 1129 val width = targetView.width in <lambda>() 1130 val height = targetView.height in <lambda>() 1149 targetView.context.resources.displayMetrics.density, in <lambda>()
|
/frameworks/base/core/java/android/inputmethodservice/navigationbar/ |
D | KeyButtonRipple.java | 93 KeyButtonRipple(Context ctx, View targetView, @DimenRes int maxWidthResource) { in KeyButtonRipple() argument 96 mTargetView = targetView; in KeyButtonRipple()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/wallet/ui/ |
D | WalletCardCarousel.java | 356 protected void onTargetFound(View targetView, State state, Action action) { 357 int[] snapDistances = calculateDistanceToFinalSnap(layoutManager, targetView);
|
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/navigationbar/ |
D | KeyButtonRipple.java | 100 public KeyButtonRipple(Context ctx, View targetView, @DimenRes int maxWidthResource) { in KeyButtonRipple() argument 103 mTargetView = targetView; in KeyButtonRipple()
|
/frameworks/base/core/tests/coretests/src/android/view/ |
D | ListContextMenu.java | 127 String text = ((TextView) info.targetView).getText().toString(); in onCreateContextMenu()
|
/frameworks/base/core/java/android/view/inputmethod/ |
D | BaseInputConnection.java | 87 public BaseInputConnection(@NonNull View targetView, boolean fullEditor) { in BaseInputConnection() argument 88 mIMM = (InputMethodManager)targetView.getContext().getSystemService( in BaseInputConnection() 90 mTargetView = targetView; in BaseInputConnection()
|
D | InputMethodManager.java | 4164 public void dispatchKeyEventFromInputMethod(@Nullable View targetView, in dispatchKeyEventFromInputMethod() argument 4167 final InputMethodManager fallbackImm = getFallbackInputMethodManagerIfNecessary(targetView); in dispatchKeyEventFromInputMethod() 4169 fallbackImm.dispatchKeyEventFromInputMethod(targetView, event); in dispatchKeyEventFromInputMethod() 4174 ViewRootImpl viewRootImpl = targetView != null ? targetView.getViewRootImpl() : null; in dispatchKeyEventFromInputMethod()
|
/frameworks/base/packages/SystemUI/animation/src/com/android/systemui/animation/ |
D | DialogTransitionAnimator.kt | 721 dialog.registerAnimationOnBackInvoked(targetView = dialogContentWithBackground) in start()
|