Home
last modified time | relevance | path

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

/packages/apps/Dialer/java/com/android/incallui/answer/impl/affordance/
DSwipeButtonHelper.java155 View targetView = getIconAtPosition(x, y); in onTouchEvent() local
156 if (targetView == null || (targetedView != null && targetedView != targetView)) { in onTouchEvent()
165 startSwiping(targetView); in onTouchEvent()
212 private void startSwiping(View targetView) { in startSwiping() argument
213 callback.onSwipingStarted(targetView == rightIcon); in startSwiping()
215 targetedView = targetView; in startSwiping()
266 final SwipeButtonView targetView = right ? rightIcon : leftIcon; in startHintAnimationPhase1() local
300 targetedView = targetView; in startHintAnimationPhase1()
332 final SwipeButtonView targetView = right ? rightIcon : leftIcon; in getAnimatorToRadius() local
333 if (targetView == null) { in getAnimatorToRadius()
[all …]
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/util/
DSurfaceTransactionApplier.java52 public SurfaceTransactionApplier(View targetView) { in SurfaceTransactionApplier() argument
53 mTargetViewRootImpl = new ViewRootImplCompat(targetView); in SurfaceTransactionApplier()
108 final View targetView, final Consumer<SurfaceTransactionApplier> callback) { in create() argument
109 if (targetView == null) { in create()
112 } else if (new ViewRootImplCompat(targetView).isValid()) { in create()
114 callback.accept(new SurfaceTransactionApplier(targetView)); in create()
117 targetView.addOnAttachStateChangeListener(new View.OnAttachStateChangeListener() { in create()
120 targetView.removeOnAttachStateChangeListener(this); in create()
121 callback.accept(new SurfaceTransactionApplier(targetView)); in create()
/packages/apps/Car/libs/car-apps-common/src/com/android/car/apps/common/widget/
DPagedSnapHelper.java54 @NonNull LayoutManager layoutManager, @NonNull View targetView) { in calculateDistanceToFinalSnap() argument
57 out[0] = distanceToTopMargin(layoutManager, targetView, in calculateDistanceToFinalSnap()
64 out[1] = distanceToTopMargin(layoutManager, targetView, in calculateDistanceToFinalSnap()
91 @NonNull View targetView, OrientationHelper helper) { in distanceToTopMargin() argument
92 final int childTop = helper.getDecoratedStart(targetView); in distanceToTopMargin()
/packages/apps/Car/libs/car-ui-lib/car-ui-lib/src/main/java/com/android/car/ui/recyclerview/
DCarUiSnapHelper.java70 @NonNull LayoutManager layoutManager, @NonNull View targetView) { in calculateDistanceToFinalSnap() argument
79 out[0] = distanceToTopMargin(targetView, getHorizontalHelper(layoutManager)); in calculateDistanceToFinalSnap()
83 out[1] = distanceToTopMargin(targetView, getVerticalHelper(layoutManager)); in calculateDistanceToFinalSnap()
185 private static int distanceToTopMargin(@NonNull View targetView, OrientationHelper helper) { in distanceToTopMargin() argument
186 final int childTop = helper.getDecoratedStart(targetView); in distanceToTopMargin()
DCarUiSmoothScroller.java78 protected void onTargetFound(View targetView, RecyclerView.State state, Action action) { in onTargetFound() argument
79 int dy = calculateDyToMakeVisible(targetView, SNAP_TO_START); in onTargetFound()
/packages/apps/Contacts/src/com/android/contacts/editor/
DEditorAnimator.java152 public void scrollViewToTop(final View targetView) { in scrollViewToTop() argument
153 final ScrollView scrollView = getParentScrollView(targetView); in scrollViewToTop()
157 ScrollView scrollView = getParentScrollView(targetView); in scrollViewToTop()
158 scrollView.smoothScrollTo(0, offsetFromTopOfViewGroup(targetView, scrollView) in scrollViewToTop()
/packages/apps/Car/libs/car-apps-common/src/com/android/car/apps/common/util/
DPagedSmoothScroller.java61 protected void onTargetFound(View targetView, RecyclerView.State state, Action action) { in onTargetFound() argument
62 int dy = calculateDyToMakeVisible(targetView, SNAP_TO_START); in onTargetFound()
/packages/apps/DocumentsUI/src/com/android/documentsui/
DFocusManager.java302 View targetView = view.focusSearch(searchDir); in findTargetPosition() local
306 if (targetView != null) { in findTargetPosition()
308 if (targetView.getParent() == mScope.view) { in findTargetPosition()
309 return mScope.view.getChildAdapterPosition(targetView); in findTargetPosition()
/packages/apps/Car/libs/car-ui-lib/car-rotary-lib/src/main/java/com/android/car/ui/
DFocusArea.java587 View targetView = getSpecifiedShortcut(direction); in nudgeToShortcutView() local
588 if (targetView == null) { in nudgeToShortcutView()
592 if (targetView.isFocused()) { in nudgeToShortcutView()
597 return ViewUtils.requestFocus(targetView); in nudgeToShortcutView()
/packages/apps/Settings/src/com/android/settings/notification/app/
DNotificationSettings.java244 private static AnimatorSet buildAnimatorSet(@NonNull View targetView, in buildAnimatorSet() argument
251 ObjectAnimator.ofFloat(targetView, View.TRANSLATION_Y, startY, endY), in buildAnimatorSet()
252 ObjectAnimator.ofFloat(targetView, View.ALPHA, startAlpha, endAlpha)); in buildAnimatorSet()
/packages/apps/QuickAccessWallet/src/com/android/systemui/plugin/globalactions/wallet/
DWalletCardCarousel.java336 protected void onTargetFound(View targetView, State state, Action action) {
337 int[] snapDistances = calculateDistanceToFinalSnap(layoutManager, targetView);
/packages/apps/Messaging/src/com/android/messaging/ui/conversation/
DConversationFragment.java782 final View targetView = getActivity().findViewById(R.id.action_call); in onOptionsItemSelected() local
784 if (targetView != null) { in onOptionsItemSelected()
786 targetView.getLocationOnScreen(screenLocation); in onOptionsItemSelected()
787 final int centerX = screenLocation[0] + targetView.getWidth() / 2; in onOptionsItemSelected()
788 final int centerY = screenLocation[1] + targetView.getHeight() / 2; in onOptionsItemSelected()
/packages/inputmethods/LatinIME/tools/EditTextVariations/src/com/android/inputmethod/tools/edittextvariations/
DEditTextVariations.java329 final View targetView = fields[target]; in onEditorAction()
330 targetView.requestFocus(); in onEditorAction()
/packages/services/Telephony/src/com/android/phone/
DSimContacts.java347 TextView textView = (TextView) itemInfo.targetView.findViewById(android.R.id.text1); in onCreateContextMenu()
/packages/apps/DocumentsUI/src/com/android/documentsui/sidebar/
DRootsFragment.java615 final View ejectIcon = adapterMenuInfo.targetView.findViewById(R.id.action_icon); in onContextItemSelected()