Home
last modified time | relevance | path

Searched refs:targetView (Results 1 – 9 of 9) 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/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/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/Messaging/src/com/android/messaging/ui/conversation/
DConversationFragment.java775 final View targetView = getActivity().findViewById(R.id.action_call); in onOptionsItemSelected() local
777 if (targetView != null) { in onOptionsItemSelected()
779 targetView.getLocationOnScreen(screenLocation); in onOptionsItemSelected()
780 final int centerX = screenLocation[0] + targetView.getWidth() / 2; in onOptionsItemSelected()
781 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.java489 final View ejectIcon = adapterMenuInfo.targetView.findViewById(R.id.action_icon); in onContextItemSelected()