Searched defs:targetView (Results 1 - 22 of 22) sorted by relevance

/frameworks/support/car/src/main/java/androidx/car/widget/
H A DPagedSmoothScroller.java53 protected void onTargetFound(View targetView, RecyclerView.State state, Action action) { argument
54 int dy = calculateDyToMakeVisible(targetView, SNAP_TO_START);
H A DPagedSnapHelper.java69 @NonNull View targetView) {
73 ? getHorizontalHelper(layoutManager).getDecoratedStart(targetView)
77 ? getVerticalHelper(layoutManager).getDecoratedStart(targetView)
68 calculateDistanceToFinalSnap(@onNull RecyclerView.LayoutManager layoutManager, @NonNull View targetView) argument
/frameworks/support/v7/recyclerview/src/androidTest/java/androidx/recyclerview/widget/
H A DRecyclerViewSmoothScrollerTest.java81 protected void onTargetFound(View targetView, RecyclerView.State state, argument
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/
H A DSyncRtSurfaceTransactionApplier.java37 * @param targetView The view in the surface that acts as synchronization anchor.
39 public SyncRtSurfaceTransactionApplier(View targetView) { argument
40 mTargetViewRootImpl = targetView != null ? targetView.getViewRootImpl() : null;
/frameworks/support/v7/recyclerview/src/main/java/androidx/recyclerview/widget/
H A DLinearSnapHelper.java45 @NonNull RecyclerView.LayoutManager layoutManager, @NonNull View targetView) {
48 out[0] = distanceToCenter(layoutManager, targetView,
55 out[1] = distanceToCenter(layoutManager, targetView,
142 @NonNull View targetView, OrientationHelper helper) {
143 final int childCenter = helper.getDecoratedStart(targetView)
144 + (helper.getDecoratedMeasurement(targetView) / 2);
44 calculateDistanceToFinalSnap( @onNull RecyclerView.LayoutManager layoutManager, @NonNull View targetView) argument
141 distanceToCenter(@onNull RecyclerView.LayoutManager layoutManager, @NonNull View targetView, OrientationHelper helper) argument
H A DPagerSnapHelper.java51 @NonNull View targetView) {
54 out[0] = distanceToCenter(layoutManager, targetView,
61 out[1] = distanceToCenter(layoutManager, targetView,
130 protected void onTargetFound(View targetView, RecyclerView.State state, Action action) {
132 targetView);
154 @NonNull View targetView, OrientationHelper helper) {
155 final int childCenter = helper.getDecoratedStart(targetView)
156 + (helper.getDecoratedMeasurement(targetView) / 2);
50 calculateDistanceToFinalSnap(@onNull RecyclerView.LayoutManager layoutManager, @NonNull View targetView) argument
153 distanceToCenter(@onNull RecyclerView.LayoutManager layoutManager, @NonNull View targetView, OrientationHelper helper) argument
H A DSnapHelper.java229 protected void onTargetFound(View targetView, RecyclerView.State state, Action action) {
235 targetView);
260 * @param targetView the target view that is chosen as the view to snap
268 @NonNull View targetView);
267 calculateDistanceToFinalSnap(@onNull RecyclerView.LayoutManager layoutManager, @NonNull View targetView) argument
H A DLinearSmoothScroller.java109 protected void onTargetFound(View targetView, RecyclerView.State state, Action action) { argument
110 final int dx = calculateDxToMakeVisible(targetView, getHorizontalSnapPreference());
111 final int dy = calculateDyToMakeVisible(targetView, getVerticalSnapPreference());
H A DRecyclerView.java11723 * @param targetView The view element which render the target position.
11726 * towards the targetView
11728 protected abstract void onTargetFound(@NonNull View targetView, @NonNull State state, argument
/frameworks/base/core/java/android/ddm/
H A DDdmHandleViewDebug.java136 final View targetView = getTargetView(rootView, in);
137 if (targetView == null) {
144 return captureView(rootView, targetView);
146 return dumpDisplayLists(rootView, targetView);
148 return profileView(rootView, targetView);
150 return invokeViewMethod(rootView, targetView, in);
152 return setLayoutParameter(rootView, targetView, in);
279 private Chunk captureView(View rootView, View targetView) { argument
282 ViewDebug.capture(rootView, b, targetView);
293 private Chunk dumpDisplayLists(final View rootView, final View targetView) { argument
319 invokeViewMethod(final View rootView, final View targetView, ByteBuffer in) argument
400 setLayoutParameter(final View rootView, final View targetView, ByteBuffer in) argument
416 profileView(View rootView, final View targetView) argument
[all...]
/frameworks/base/core/java/com/android/internal/widget/
H A DLinearSmoothScroller.java111 protected void onTargetFound(View targetView, RecyclerView.State state, Action action) { argument
112 final int dx = calculateDxToMakeVisible(targetView, getHorizontalSnapPreference());
113 final int dy = calculateDyToMakeVisible(targetView, getVerticalSnapPreference());
H A DRecyclerView.java10820 * @param targetView The view element which render the target position.
10823 * towards the targetView
10825 protected abstract void onTargetFound(View targetView, State state, Action action); argument
/frameworks/base/core/java/android/view/inputmethod/
H A DBaseInputConnection.java70 public BaseInputConnection(View targetView, boolean fullEditor) { argument
71 mIMM = (InputMethodManager)targetView.getContext().getSystemService(
73 mTargetView = targetView;
H A DInputMethodManager.java1992 * @param targetView the default target view. If {@code null} is specified, then this method
1996 public void dispatchKeyEventFromInputMethod(@Nullable View targetView, argument
1999 ViewRootImpl viewRootImpl = targetView != null ? targetView.getViewRootImpl() : null;
/frameworks/support/leanback/src/main/java/androidx/leanback/transition/
H A DTransitionHelper.java234 public static void exclude(Object transition, View targetView, boolean exclude) { argument
236 ((Transition) transition).excludeTarget(targetView, exclude);
246 public static void excludeChildren(Object transition, View targetView, boolean exclude) { argument
248 ((Transition) transition).excludeChildren(targetView, exclude);
258 public static void include(Object transition, View targetView) { argument
260 ((Transition) transition).addTarget(targetView);
/frameworks/base/core/java/android/view/
H A DNotificationHeaderView.java164 private int shrinkViewForOverflow(int heightSpec, int overFlow, View targetView, argument
166 final int oldWidth = targetView.getMeasuredWidth();
167 if (overFlow > 0 && targetView.getVisibility() != GONE && oldWidth > minimumWidth) {
171 targetView.measure(childWidthSpec, heightSpec);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DKeyButtonRipple.java77 public KeyButtonRipple(Context ctx, View targetView) { argument
79 mTargetView = targetView;
/frameworks/base/core/java/android/widget/
H A DAdapterView.java429 public AdapterContextMenuInfo(View targetView, int position, long id) { argument
430 this.targetView = targetView;
439 public View targetView; field in class:AdapterView.AdapterContextMenuInfo
H A DExpandableListView.java1252 public ExpandableListContextMenuInfo(View targetView, long packedPosition, long id) { argument
1253 this.targetView = targetView;
1262 public View targetView; field in class:ExpandableListView.ExpandableListContextMenuInfo
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DKeyguardAffordanceHelper.java133 View targetView = getIconAtPosition(x, y);
134 if (targetView == null || (mTargetedView != null && mTargetedView != targetView)) {
143 startSwiping(targetView);
189 private void startSwiping(View targetView) { argument
190 mCallback.onSwipingStarted(targetView == mRightIcon);
192 mTargetedView = targetView;
247 final KeyguardAffordanceView targetView = right ? mRightIcon : mLeftIcon;
272 mTargetedView = targetView;
296 final KeyguardAffordanceView targetView
409 updateIconsFromTranslation(KeyguardAffordanceView targetView) argument
[all...]
/frameworks/support/leanback/src/main/java/androidx/leanback/widget/
H A DGridLayoutManager.java222 View targetView = findViewByPosition(getTargetPosition());
223 if (targetView == null) {
237 targetView.requestFocus();
258 protected void onTargetFound(View targetView, argument
260 if (getScrollPosition(targetView, null, sTwoInts)) {
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/
H A DNotificationStackScrollLayout.java2678 private void transformTouchEvent(MotionEvent ev, View sourceView, View targetView) { argument
2680 ev.offsetLocation(-targetView.getX(), -targetView.getY());

Completed in 225 milliseconds