/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/ui/widget/ |
EmptyWidget.java | 22 import com.androidplot.ui.LayoutManager;
27 public EmptyWidget(LayoutManager layoutManager, SizeMetrics sizeMetrics) {
28 super(layoutManager, sizeMetrics);
|
TextLabelWidget.java | 41 public TextLabelWidget(LayoutManager layoutManager, SizeMetrics sizeMetrics) {
42 this(layoutManager, sizeMetrics, TextOrientationType.HORIZONTAL);
45 public TextLabelWidget(LayoutManager layoutManager, String title, SizeMetrics sizeMetrics, TextOrientationType orientation) {
46 this(layoutManager, sizeMetrics, orientation);
50 public TextLabelWidget(LayoutManager layoutManager, SizeMetrics sizeMetrics, TextOrientationType orientation) {
51 super(layoutManager, new SizeMetrics(0, SizeLayoutType.ABSOLUTE, 0, SizeLayoutType.ABSOLUTE));
|
/frameworks/support/v7/recyclerview/src/androidTest/java/androidx/recyclerview/test/ |
CustomLayoutManager.java | 33 public static class LayoutManager extends RecyclerView.LayoutManager {
|
PrivateLayoutManager.java | 24 class PrivateLayoutManager extends RecyclerView.LayoutManager {
|
/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/pie/ |
PieWidget.java | 21 import com.androidplot.ui.LayoutManager; 35 public PieWidget(LayoutManager layoutManager, PieChart pieChart, SizeMetrics metrics) { 36 super(layoutManager, metrics);
|
/frameworks/support/v7/recyclerview/src/main/java/androidx/recyclerview/widget/ |
SnapHelper.java | 31 * {@link RecyclerView.LayoutManager} must implement the {@link RecyclerView.SmoothScroller.ScrollVectorProvider} interface or 65 RecyclerView.LayoutManager layoutManager = mRecyclerView.getLayoutManager(); 66 if (layoutManager == null) { 75 && snapFromFling(layoutManager, velocityX, velocityY); 148 * @param layoutManager The {@link RecyclerView.LayoutManager} associated with the attached 155 private boolean snapFromFling(@NonNull RecyclerView.LayoutManager layoutManager, int velocityX, 157 if (!(layoutManager instanceof RecyclerView.SmoothScroller.ScrollVectorProvider)) [all...] |
LinearSnapHelper.java | 37 // Orientation helpers are lazily created per LayoutManager. 45 @NonNull RecyclerView.LayoutManager layoutManager, @NonNull View targetView) { 47 if (layoutManager.canScrollHorizontally()) { 48 out[0] = distanceToCenter(layoutManager, targetView, 49 getHorizontalHelper(layoutManager)); 54 if (layoutManager.canScrollVertically()) { 55 out[1] = distanceToCenter(layoutManager, targetView, 56 getVerticalHelper(layoutManager)); 64 public int findTargetSnapPosition(RecyclerView.LayoutManager layoutManager, int velocityX [all...] |
PagerSnapHelper.java | 42 // Orientation helpers are lazily created per LayoutManager. 50 public int[] calculateDistanceToFinalSnap(@NonNull RecyclerView.LayoutManager layoutManager, 53 if (layoutManager.canScrollHorizontally()) { 54 out[0] = distanceToCenter(layoutManager, targetView, 55 getHorizontalHelper(layoutManager)); 60 if (layoutManager.canScrollVertically()) { 61 out[1] = distanceToCenter(layoutManager, targetView, 62 getVerticalHelper(layoutManager)); 71 public View findSnapView(RecyclerView.LayoutManager layoutManager) [all...] |
ScrollbarHelper.java | 30 View startChild, View endChild, RecyclerView.LayoutManager lm, 61 View startChild, View endChild, RecyclerView.LayoutManager lm, 80 View startChild, View endChild, RecyclerView.LayoutManager lm,
|
OrientationHelper.java | 25 * It is developed to easily support vertical and horizontal orientations in a LayoutManager but 29 * @see #createHorizontalHelper(RecyclerView.LayoutManager) 30 * @see #createVerticalHelper(RecyclerView.LayoutManager) 36 protected final RecyclerView.LayoutManager mLayoutManager; 46 private OrientationHelper(RecyclerView.LayoutManager layoutManager) { 47 mLayoutManager = layoutManager; 51 * Returns the {@link RecyclerView.LayoutManager LayoutManager} that 54 public RecyclerView.LayoutManager getLayoutManager() [all...] |
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/testing/ |
TestRecyclerView.java | 36 private RecyclerView.LayoutManager mLayoutManager; 61 public void setLayoutManager(LayoutManager manager) { 66 public RecyclerView.LayoutManager getLayoutManager() {
|
/frameworks/support/car/src/main/java/androidx/car/widget/ |
PagedSnapHelper.java | 63 // Orientation helpers are lazily created per LayoutManager. 68 public int[] calculateDistanceToFinalSnap(@NonNull RecyclerView.LayoutManager layoutManager, 72 out[0] = layoutManager.canScrollHorizontally() 73 ? getHorizontalHelper(layoutManager).getDecoratedStart(targetView) 76 out[1] = layoutManager.canScrollVertically() 77 ? getVerticalHelper(layoutManager).getDecoratedStart(targetView) 84 * Finds the view to snap to. The view to snap to is the child of the LayoutManager that is 85 * closest to the start of the RecyclerView. The "start" depends on if the LayoutManager 89 * @param layoutManager The current {@link RecyclerView.LayoutManager} for the attache [all...] |
/frameworks/base/core/java/com/android/internal/widget/ |
ScrollbarHelper.java | 31 View startChild, View endChild, RecyclerView.LayoutManager lm, 62 View startChild, View endChild, RecyclerView.LayoutManager lm, 81 View startChild, View endChild, RecyclerView.LayoutManager lm,
|
OrientationHelper.java | 26 * It is developed to easily support vertical and horizontal orientations in a LayoutManager but 30 * @see #createHorizontalHelper(RecyclerView.LayoutManager) 31 * @see #createVerticalHelper(RecyclerView.LayoutManager) 37 protected final RecyclerView.LayoutManager mLayoutManager; 47 private OrientationHelper(RecyclerView.LayoutManager layoutManager) { 48 mLayoutManager = layoutManager; 63 * Make sure you call {@link #onLayoutComplete()} at the end of your LayoutManager's 64 * {@link RecyclerView.LayoutManager#onLayoutChildren(RecyclerView.Recycler, 110 * @see RecyclerView.LayoutManager#getTransformedBoundingBox(View, boolean, Rect [all...] |
/frameworks/base/tests/UiBench/src/com/android/test/uibench/ |
SlowBindRecyclerViewActivity.java | 38 protected RecyclerView.LayoutManager createLayoutManager(Context context) {
|
/frameworks/base/tests/UiBench/src/com/android/test/uibench/recyclerview/ |
RvCompatListActivity.java | 34 RecyclerView.LayoutManager layoutManager; 43 recyclerView.setLayoutManager(layoutManager); 56 fragment.layoutManager = createLayoutManager(this); 62 protected RecyclerView.LayoutManager createLayoutManager(Context context) {
|
/frameworks/support/v7/recyclerview/src/androidTest/java/androidx/recyclerview/widget/ |
RecyclerViewSmoothScrollerTest.java | 41 RecyclerView.LayoutManager layoutManager = mock(RecyclerView.LayoutManager.class); 42 recyclerView.setLayoutManager(layoutManager); 45 mockSmoothScroller.start(recyclerView, layoutManager);
|
LinearLayoutManagerWrapContentTest.java | 146 RecyclerView.LayoutManager createLayoutManager() { 158 protected int getVerticalGravity(RecyclerView.LayoutManager layoutManager) { 169 protected int getHorizontalGravity(RecyclerView.LayoutManager layoutManager) { 170 boolean rtl = layoutManager.getLayoutDirection() == ViewCompat.LAYOUT_DIRECTION_RTL;
|
StaggeredGridLayoutManagerWrapContentTest.java | 148 RecyclerView.LayoutManager createLayoutManager() { 153 protected int getVerticalGravity(RecyclerView.LayoutManager layoutManager) { 158 protected int getHorizontalGravity(RecyclerView.LayoutManager layoutManager) {
|
CacheUtils.java | 30 RecyclerView.LayoutManager.LayoutPrefetchRegistry layoutPrefetchRegistry = 31 mock(RecyclerView.LayoutManager.LayoutPrefetchRegistry.class);
|
BaseWrapContentTest.java | 53 RecyclerView.LayoutManager mLayoutManager; 67 abstract RecyclerView.LayoutManager createLayoutManager(); 72 RecyclerView.LayoutManager layoutManager = createLayoutManager(); 82 rv.setLayoutManager(layoutManager); 151 RecyclerView.LayoutManager layoutManager = scenario.createLayoutManager(); 154 recyclerView.setLayoutManager(layoutManager); 156 mLayoutManager = layoutManager; 227 abstract protected int getVerticalGravity(RecyclerView.LayoutManager layoutManager) [all...] |
/frameworks/support/leanback/src/main/java/androidx/leanback/widget/ |
RecyclerViewParallax.java | 19 import static androidx.recyclerview.widget.RecyclerView.LayoutManager; 227 LayoutManager.Properties properties = mRecylerView.getLayoutManager()
|
/packages/apps/Dialer/java/com/android/dialer/speeddial/ |
SpeedDialAdapter.java | 24 import android.support.v7.widget.RecyclerView.LayoutManager; 116 LayoutManager getLayoutManager(Context context) { 117 GridLayoutManager layoutManager = new GridLayoutManager(context, 3 /* spanCount */); 118 layoutManager.setSpanSizeLookup( 125 return layoutManager;
|
/frameworks/support/leanback/src/androidTest/java/androidx/leanback/widget/ |
GridWidgetPrefetchTest.java | 46 RecyclerView.LayoutManager.LayoutPrefetchRegistry registry 47 = mock(RecyclerView.LayoutManager.LayoutPrefetchRegistry.class); 233 RecyclerView.LayoutManager.LayoutPrefetchRegistry registry 234 = mock(RecyclerView.LayoutManager.LayoutPrefetchRegistry.class);
|
/frameworks/support/recyclerview-selection/src/main/java/androidx/recyclerview/selection/ |
BandPredicate.java | 46 RecyclerView.LayoutManager lm = recyclerView.getLayoutManager();
|