Searched refs:targetView (Results 1 – 9 of 9) sorted by relevance
/packages/apps/Dialer/java/com/android/incallui/answer/impl/affordance/ |
D | SwipeButtonHelper.java | 155 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/ |
D | PagedSnapHelper.java | 54 @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/ |
D | EditorAnimator.java | 152 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/ |
D | PagedSmoothScroller.java | 61 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/ |
D | FocusManager.java | 302 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/ |
D | ConversationFragment.java | 775 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/ |
D | EditTextVariations.java | 329 final View targetView = fields[target]; in onEditorAction() 330 targetView.requestFocus(); in onEditorAction()
|
/packages/services/Telephony/src/com/android/phone/ |
D | SimContacts.java | 347 TextView textView = (TextView) itemInfo.targetView.findViewById(android.R.id.text1); in onCreateContextMenu()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/sidebar/ |
D | RootsFragment.java | 489 final View ejectIcon = adapterMenuInfo.targetView.findViewById(R.id.action_icon); in onContextItemSelected()
|