Home
last modified time | relevance | path

Searched refs:targetView (Results 1 – 8 of 8) 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/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/DocumentsUI/src/com/android/documentsui/
DFocusManager.java270 View targetView = view.focusSearch(searchDir); in findTargetPosition() local
274 if (targetView != null) { in findTargetPosition()
276 if (targetView.getParent() == mScope.view) { in findTargetPosition()
277 return mScope.view.getChildAdapterPosition(targetView); in findTargetPosition()
/packages/services/Car/car-support-lib/src/android/support/car/ui/
DPagedLayoutManager.java136 protected void onTargetFound(View targetView, RecyclerView.State state, Action action) { in onTargetFound() argument
137 int dy = calculateDyToMakeVisible(targetView, SNAP_TO_START); in onTargetFound()
DCarLayoutManager.java1498 protected void onTargetFound(View targetView, RecyclerView.State state, Action action) { in onTargetFound() argument
1499 int dy = calculateDyToMakeVisible(targetView, SNAP_TO_START); in onTargetFound()
/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/services/Telephony/src/com/android/phone/
DSimContacts.java348 TextView textView = (TextView) itemInfo.targetView.findViewById(android.R.id.text1); in onCreateContextMenu()
/packages/apps/DocumentsUI/src/com/android/documentsui/sidebar/
DRootsFragment.java449 final View ejectIcon = adapterMenuInfo.targetView.findViewById(R.id.eject_icon); in onContextItemSelected()