Home
last modified time | relevance | path

Searched refs:targetView (Results 1 – 25 of 25) sorted by relevance

/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/animation/back/
H A DBackTransformationTest.kt17 private val targetView: View = mock()
32 transformation.applyTo(targetView = targetView)
34 verify(targetView).translationX = 0f
36 verify(targetView).scaleX = 1f
37 verify(targetView).scaleY = 1f
45 transformation.applyTo(targetView = targetView)
55 transformation.applyTo(targetView = targetView)
65 transformation.applyTo(targetView = targetView)
67 verify(targetView).scaleX = 3f
68 verify(targetView).scaleY = 3f
[all …]
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/
H A DRoundableTest.kt22 private val targetView: View = mock()
24 private val roundable = FakeRoundable(targetView = targetView, featureFlags = featureFlags)
38 verify(targetView, times(1)).invalidate()
46 verify(targetView, times(1)).invalidate()
54 verify(targetView, times(1)).invalidate()
154 whenever(targetView.height).thenReturn(10)
163 whenever(targetView.height).thenReturn(5)
172 whenever(targetView.height).thenReturn(5)
181 whenever(targetView.height).thenReturn(100)
194 targetView: View,
[all …]
/aosp14/frameworks/base/packages/SystemUI/animation/src/com/android/systemui/animation/back/
H A DBackTransformation.kt32 fun BackTransformation.applyTo(targetView: View) {
33 if (translateX.isFinite()) targetView.translationX = translateX
34 if (translateY.isFinite()) targetView.translationY = translateY
36 targetView.scaleX = scale
37 targetView.scaleY = scale
/aosp14/frameworks/base/core/java/android/view/
H A DSyncRtSurfaceTransactionApplier.java50 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()
H A DNotificationTopLineView.java422 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()
/aosp14/frameworks/base/core/java/android/ddm/
H A DDdmHandleViewDebug.java142 final View targetView = getTargetView(rootView, in); in handleChunk() local
143 if (targetView == null) { in handleChunk()
150 return captureView(rootView, targetView); in handleChunk()
152 return dumpDisplayLists(rootView, targetView); in handleChunk()
154 return profileView(rootView, targetView); in handleChunk()
156 return invokeViewMethod(rootView, targetView, in); in handleChunk()
285 private Chunk captureView(View rootView, View targetView) { in captureView() argument
288 ViewDebug.capture(rootView, b, targetView); in captureView()
303 ViewDebug.outputDisplayList(rootView, targetView); in dumpDisplayLists()
405 ViewDebug.setLayoutParameter(targetView, param, value); in setLayoutParameter()
[all …]
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
H A DRoundable.kt136 animate = roundableState.targetView.isShown
205 animate = roundableState.targetView.isShown
259 animate = roundableState.targetView.isShown,
289 requestRoundnessReset(sourceType = sourceType, animate = roundableState.targetView.isShown)
295 roundableState.targetView.invalidate()
335 internal val targetView: View,
406 internal fun isTopAnimating() = PropertyAnimator.isAnimating(targetView, topAnimatable)
409 internal fun isBottomAnimating() = PropertyAnimator.isAnimating(targetView, bottomAnimatable)
416 PropertyAnimator.setProperty(targetView, topAnimatable, value, DURATION, animated)
424 PropertyAnimator.setProperty(targetView, bottomAnimatable, value, DURATION, animated)
/aosp14/frameworks/base/packages/SystemUI/animation/src/com/android/systemui/util/
H A DDialog.kt39 targetView: View,
42 displayMetrics = targetView.resources.displayMetrics,
45 targetView.registerOnBackInvokedCallbackOnViewAttached(
50 displayMetrics = targetView.resources.displayMetrics,
51 onBackProgressed = { backTransformation -> backTransformation.applyTo(targetView) },
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/magnetictarget/
H A DMagnetizedObject.kt567 val targetAreaWidth = target.targetView.width * flingToTargetWidthPercent
586 ViewConfiguration.get(associatedTargets[0].targetView.context).scaledTouchSlop
599 val targetView: View,
607 targetView.post {
608 targetView.getLocationOnScreen(tempLoc)
613 tempLoc[0] + targetView.width / 2f - targetView.translationX,
614 tempLoc[1] + targetView.height / 2f - targetView.translationY)
/aosp14/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/common/magnetictarget/
H A DMagnetizedObjectTest.kt55 private lateinit var targetView: View
95 targetView = mock(View::class.java)
96 `when`(targetView.context).thenReturn(context)
100 `when`(targetView.width).thenReturn(targetSize) // width = 200
101 `when`(targetView.height).thenReturn(targetSize) // height = 200
108 }.`when`(targetView).getLocationOnScreen(ArgumentMatchers.any())
112 }.`when`(targetView).post(ArgumentMatchers.any())
113 `when`(targetView.context).thenReturn(context)
115 magneticTarget = MagnetizedObject.MagneticTarget(targetView, magneticFieldRadius)
/aosp14/frameworks/base/core/java/com/android/internal/widget/
H A DLinearSmoothScroller.java111 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()
H A DRecyclerView.java10948 protected abstract void onTargetFound(View targetView, State state, Action action);
/aosp14/frameworks/base/core/java/android/widget/
H A DZoomButtonsController.java557 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()
H A DAdapterView.java441 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
H A DExpandableListView.java1284 public ExpandableListContextMenuInfo(View targetView, long packedPosition, long id) { in ExpandableListContextMenuInfo() argument
1285 this.targetView = targetView; in ExpandableListContextMenuInfo()
1294 public View targetView; field in ExpandableListView.ExpandableListContextMenuInfo
/aosp14/frameworks/base/core/java/android/inputmethodservice/navigationbar/
H A DKeyButtonRipple.java93 KeyButtonRipple(Context ctx, View targetView, @DimenRes int maxWidthResource) { in KeyButtonRipple() argument
96 mTargetView = targetView; in KeyButtonRipple()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/wallet/ui/
H A DWalletCardCarousel.java356 protected void onTargetFound(View targetView, State state, Action action) {
357 int[] snapDistances = calculateDistanceToFinalSnap(layoutManager, targetView);
/aosp14/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/navigationbar/buttons/
H A DKeyButtonRipple.java95 public KeyButtonRipple(Context ctx, View targetView, @DimenRes int maxWidthResource) { in KeyButtonRipple() argument
98 mTargetView = targetView; in KeyButtonRipple()
/aosp14/frameworks/base/core/tests/coretests/src/android/view/
H A DListContextMenu.java127 String text = ((TextView) info.targetView).getText().toString(); in onCreateContextMenu()
/aosp14/frameworks/base/core/java/android/view/inputmethod/
H A DBaseInputConnection.java87 public BaseInputConnection(@NonNull View targetView, boolean fullEditor) { in BaseInputConnection() argument
88 mIMM = (InputMethodManager)targetView.getContext().getSystemService( in BaseInputConnection()
90 mTargetView = targetView; in BaseInputConnection()
H A DInputMethodManager.java3642 public void dispatchKeyEventFromInputMethod(@Nullable View targetView, in dispatchKeyEventFromInputMethod() argument
3645 final InputMethodManager fallbackImm = getFallbackInputMethodManagerIfNecessary(targetView); in dispatchKeyEventFromInputMethod()
3647 fallbackImm.dispatchKeyEventFromInputMethod(targetView, event); in dispatchKeyEventFromInputMethod()
3652 ViewRootImpl viewRootImpl = targetView != null ? targetView.getViewRootImpl() : null; in dispatchKeyEventFromInputMethod()
/aosp14/frameworks/base/packages/SystemUI/animation/src/com/android/systemui/animation/
H A DDialogLaunchAnimator.kt713 dialog.registerAnimationOnBackInvoked(targetView = dialogContentWithBackground)
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/
H A DBubbleStackView.java2691 private void animateDismissBubble(View targetView, boolean applyAlpha) { in animateDismissBubble() argument
2692 mViewBeingDismissed = targetView; in animateDismissBubble()
/aosp14/frameworks/base/tools/aapt2/integration-tests/CommandTests/
H A Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
/aosp14/frameworks/base/core/api/
H A Dcurrent.txt58034 field public android.view.View targetView;
58608 field public android.view.View targetView;