/frameworks/support/car/src/main/java/androidx/car/widget/ |
H A D | PagedSmoothScroller.java | 53 protected void onTargetFound(View targetView, RecyclerView.State state, Action action) { argument 54 int dy = calculateDyToMakeVisible(targetView, SNAP_TO_START);
|
H A D | PagedSnapHelper.java | 69 @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 D | RecyclerViewSmoothScrollerTest.java | 81 protected void onTargetFound(View targetView, RecyclerView.State state, argument
|
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/ |
H A D | SyncRtSurfaceTransactionApplier.java | 37 * @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 D | LinearSnapHelper.java | 45 @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 D | PagerSnapHelper.java | 51 @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 D | SnapHelper.java | 229 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 D | LinearSmoothScroller.java | 109 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 D | RecyclerView.java | 11723 * @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 D | DdmHandleViewDebug.java | 136 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 D | LinearSmoothScroller.java | 111 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 D | RecyclerView.java | 10820 * @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 D | BaseInputConnection.java | 70 public BaseInputConnection(View targetView, boolean fullEditor) { argument 71 mIMM = (InputMethodManager)targetView.getContext().getSystemService( 73 mTargetView = targetView;
|
H A D | InputMethodManager.java | 1992 * @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 D | TransitionHelper.java | 234 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 D | NotificationHeaderView.java | 164 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 D | KeyButtonRipple.java | 77 public KeyButtonRipple(Context ctx, View targetView) { argument 79 mTargetView = targetView;
|
/frameworks/base/core/java/android/widget/ |
H A D | AdapterView.java | 429 public AdapterContextMenuInfo(View targetView, int position, long id) { argument 430 this.targetView = targetView; 439 public View targetView; field in class:AdapterView.AdapterContextMenuInfo
|
H A D | ExpandableListView.java | 1252 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 D | KeyguardAffordanceHelper.java | 133 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 D | GridLayoutManager.java | 222 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 D | NotificationStackScrollLayout.java | 2678 private void transformTouchEvent(MotionEvent ev, View sourceView, View targetView) { argument 2680 ev.offsetLocation(-targetView.getX(), -targetView.getY());
|