Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DKeyguardAffordanceHelper.java131 View targetView = getIconAtPosition(x, y); in onTouchEvent() local
132 if (targetView == null || (mTargetedView != null && mTargetedView != targetView)) { in onTouchEvent()
141 startSwiping(targetView); in onTouchEvent()
187 private void startSwiping(View targetView) { in startSwiping() argument
188 mCallback.onSwipingStarted(targetView == mRightIcon); in startSwiping()
190 mTargetedView = targetView; in startSwiping()
245 final KeyguardAffordanceView targetView = right ? mRightIcon : mLeftIcon; in startHintAnimationPhase1() local
270 mTargetedView = targetView; in startHintAnimationPhase1()
294 final KeyguardAffordanceView targetView = right ? mRightIcon : mLeftIcon; in getAnimatorToRadius() local
295 ValueAnimator animator = ValueAnimator.ofFloat(targetView.getCircleRadius(), radius); in getAnimatorToRadius()
[all …]
/frameworks/base/core/java/android/ddm/
DDdmHandleViewDebug.java136 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/core/java/android/view/
DSyncRtSurfaceTransactionApplier.java50 public SyncRtSurfaceTransactionApplier(View targetView) { in SyncRtSurfaceTransactionApplier() argument
51 mTargetViewRootImpl = targetView != null ? targetView.getViewRootImpl() : null; in SyncRtSurfaceTransactionApplier()
136 public static void create(final View targetView, in create() argument
138 if (targetView == null) { in create()
141 } else if (targetView.getViewRootImpl() != null) { in create()
143 callback.accept(new SyncRtSurfaceTransactionApplier(targetView)); in create()
146 targetView.addOnAttachStateChangeListener(new View.OnAttachStateChangeListener() { in create()
149 targetView.removeOnAttachStateChangeListener(this); in create()
150 callback.accept(new SyncRtSurfaceTransactionApplier(targetView)); in create()
DNotificationTopLineView.java419 OverflowAdjuster adjust(View targetView, View targetDivider, int minimumWidth) { in adjust() argument
420 if (mOverflow <= 0 || targetView == null || targetView.getVisibility() == View.GONE) { in adjust()
423 final int oldWidth = targetView.getMeasuredWidth(); in adjust()
430 && mRegrowView != null && mRegrowView != targetView) { in adjust()
437 targetView.measure(childWidthSpec, mHeightSpec); in adjust()
441 mViewsToDisappear.add(targetView); in adjust()
442 mOverflow -= getHorizontalMargins(targetView); in adjust()
464 mRegrowView = targetView; in adjust()
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/
DSyncRtSurfaceTransactionApplierCompat.java65 public SyncRtSurfaceTransactionApplierCompat(View targetView) { in SyncRtSurfaceTransactionApplierCompat() argument
66 mTargetViewRootImpl = targetView != null ? targetView.getViewRootImpl() : null; in SyncRtSurfaceTransactionApplierCompat()
165 public static void create(final View targetView, in create() argument
167 if (targetView == null) { in create()
170 } else if (targetView.getViewRootImpl() != null) { in create()
172 callback.accept(new SyncRtSurfaceTransactionApplierCompat(targetView)); in create()
175 targetView.addOnAttachStateChangeListener(new View.OnAttachStateChangeListener() { in create()
178 targetView.removeOnAttachStateChangeListener(this); in create()
179 callback.accept(new SyncRtSurfaceTransactionApplierCompat(targetView)); in create()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/magnetictarget/
DMagnetizedObject.kt565 val targetAreaWidth = target.targetView.width * flingToTargetWidthPercent in <lambda>()
584 ViewConfiguration.get(associatedTargets[0].targetView.context).scaledTouchSlop in <lambda>()
597 val targetView: View, in <lambda>() constant in com.android.wm.shell.common.magnetictarget.MagnetizedObject.MagneticTarget
605 targetView.post { in <lambda>()
606 targetView.getLocationOnScreen(tempLoc) in <lambda>()
611 tempLoc[0] + targetView.width / 2f - targetView.translationX, in <lambda>()
612 tempLoc[1] + targetView.height / 2f - targetView.translationY) in <lambda>()
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/common/magnetictarget/
DMagnetizedObjectTest.kt55 private lateinit var targetView: View in <lambda>() variable in com.android.wm.shell.common.magnetictarget.MagnetizedObjectTest
95 targetView = mock(View::class.java) in <lambda>()
96 `when`(targetView.context).thenReturn(context) in <lambda>()
100 `when`(targetView.width).thenReturn(targetSize) // width = 200 in <lambda>()
101 `when`(targetView.height).thenReturn(targetSize) // height = 200 in <lambda>()
108 }.`when`(targetView).getLocationOnScreen(ArgumentMatchers.any()) in <lambda>()
112 }.`when`(targetView).post(ArgumentMatchers.any()) in <lambda>()
113 `when`(targetView.context).thenReturn(context) in <lambda>()
115 magneticTarget = MagnetizedObject.MagneticTarget(targetView, magneticFieldRadius) in <lambda>()
/frameworks/base/core/java/com/android/internal/widget/
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()
DRecyclerView.java10948 protected abstract void onTargetFound(View targetView, State state, Action action);
/frameworks/base/core/java/android/widget/
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()
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
DExpandableListView.java1265 public ExpandableListContextMenuInfo(View targetView, long packedPosition, long id) { in ExpandableListContextMenuInfo() argument
1266 this.targetView = targetView; in ExpandableListContextMenuInfo()
1275 public View targetView; field in ExpandableListView.ExpandableListContextMenuInfo
/frameworks/base/packages/SystemUI/src/com/android/systemui/navigationbar/buttons/
DKeyButtonRipple.java89 public KeyButtonRipple(Context ctx, View targetView) { in KeyButtonRipple() argument
91 mTargetView = targetView; in KeyButtonRipple()
/frameworks/base/packages/SystemUI/src/com/android/systemui/wallet/ui/
DWalletCardCarousel.java341 protected void onTargetFound(View targetView, State state, Action action) {
342 int[] snapDistances = calculateDistanceToFinalSnap(layoutManager, targetView);
/frameworks/base/core/tests/coretests/src/android/view/
DListContextMenu.java127 String text = ((TextView) info.targetView).getText().toString(); in onCreateContextMenu()
/frameworks/base/core/java/android/view/inputmethod/
DBaseInputConnection.java79 public BaseInputConnection(View targetView, boolean fullEditor) { in BaseInputConnection() argument
80 mIMM = (InputMethodManager)targetView.getContext().getSystemService( in BaseInputConnection()
82 mTargetView = targetView; in BaseInputConnection()
DInputMethodManager.java2630 public void dispatchKeyEventFromInputMethod(@Nullable View targetView, in dispatchKeyEventFromInputMethod() argument
2633 final InputMethodManager fallbackImm = getFallbackInputMethodManagerIfNecessary(targetView); in dispatchKeyEventFromInputMethod()
2635 fallbackImm.dispatchKeyEventFromInputMethod(targetView, event); in dispatchKeyEventFromInputMethod()
2640 ViewRootImpl viewRootImpl = targetView != null ? targetView.getViewRootImpl() : null; in dispatchKeyEventFromInputMethod()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/
DBubbleStackView.java2272 private void animateDismissBubble(View targetView, boolean applyAlpha) { in animateDismissBubble() argument
2273 mViewBeingDismissed = targetView; in animateDismissBubble()
/frameworks/base/core/api/
Dcurrent.txt54060 field public android.view.View targetView;
54632 field public android.view.View targetView;
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt36844 field public android.view.View targetView;
37368 field public android.view.View targetView;