/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/Launcher3/quickstep/src/com/android/quickstep/util/ |
D | SurfaceTransactionApplier.java | 52 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/ |
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/Car/libs/car-ui-lib/car-ui-lib/src/main/java/com/android/car/ui/recyclerview/ |
D | CarUiSnapHelper.java | 70 @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()
|
D | CarUiSmoothScroller.java | 78 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/ |
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/Car/libs/car-ui-lib/car-rotary-lib/src/main/java/com/android/car/ui/ |
D | FocusArea.java | 587 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/ |
D | NotificationSettings.java | 244 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/ |
D | WalletCardCarousel.java | 336 protected void onTargetFound(View targetView, State state, Action action) { 337 int[] snapDistances = calculateDistanceToFinalSnap(layoutManager, targetView);
|
/packages/apps/Messaging/src/com/android/messaging/ui/conversation/ |
D | ConversationFragment.java | 782 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/ |
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 | 615 final View ejectIcon = adapterMenuInfo.targetView.findViewById(R.id.action_icon); in onContextItemSelected()
|