HomeSort by relevance Sort by last modified time
    Searched refs:LayoutManager (Results 1 - 25 of 91) sorted by null

1 2 3 4

  /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));
Widget.java 42 private LayoutManager layoutManager;
44 public Widget(LayoutManager layoutManager, SizeMetric heightMetric, SizeMetric widthMetric) {
45 this(layoutManager, new SizeMetrics(heightMetric, widthMetric));
48 public Widget(LayoutManager layoutManager, SizeMetrics sizeMetrics) {
49 this.layoutManager = layoutManager;
90 layoutManager.addToTop(this);
    [all...]
  /frameworks/support/v7/recyclerview/tests/src/android/support/v7/recyclerview/test/
CustomLayoutManager.java 32 public static class LayoutManager extends RecyclerView.LayoutManager {
PrivateLayoutManager.java 23 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/android/support/v7/widget/
SnapHelper.java 21 import android.support.v7.widget.RecyclerView.LayoutManager;
32 * {@link RecyclerView.LayoutManager} must implement the {@link ScrollVectorProvider} interface or
66 LayoutManager layoutManager = mRecyclerView.getLayoutManager();
67 if (layoutManager == null) {
76 && snapFromFling(layoutManager, velocityX, velocityY);
149 * @param layoutManager The {@link LayoutManager} associated with the attached
156 private boolean snapFromFling(@NonNull LayoutManager layoutManager, int velocityX
    [all...]
LinearSnapHelper.java 36 // Orientation helpers are lazily created per LayoutManager.
44 @NonNull RecyclerView.LayoutManager layoutManager, @NonNull View targetView) {
46 if (layoutManager.canScrollHorizontally()) {
47 out[0] = distanceToCenter(layoutManager, targetView,
48 getHorizontalHelper(layoutManager));
53 if (layoutManager.canScrollVertically()) {
54 out[1] = distanceToCenter(layoutManager, targetView,
55 getVerticalHelper(layoutManager));
63 public int findTargetSnapPosition(RecyclerView.LayoutManager layoutManager, int velocityX
    [all...]
PagerSnapHelper.java 40 // Orientation helpers are lazily created per LayoutManager.
48 public int[] calculateDistanceToFinalSnap(@NonNull RecyclerView.LayoutManager layoutManager,
51 if (layoutManager.canScrollHorizontally()) {
52 out[0] = distanceToCenter(layoutManager, targetView,
53 getHorizontalHelper(layoutManager));
58 if (layoutManager.canScrollVertically()) {
59 out[1] = distanceToCenter(layoutManager, targetView,
60 getVerticalHelper(layoutManager));
69 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 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...]
LinearSmoothScroller.java 33 * If the {@link RecyclerView.LayoutManager} you are using does not implement the
302 final RecyclerView.LayoutManager layoutManager = getLayoutManager();
303 if (layoutManager == null || !layoutManager.canScrollVertically()) {
308 final int top = layoutManager.getDecoratedTop(view) - params.topMargin;
309 final int bottom = layoutManager.getDecoratedBottom(view) + params.bottomMargin;
310 final int start = layoutManager.getPaddingTop();
311 final int end = layoutManager.getHeight() - layoutManager.getPaddingBottom()
    [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...]
LinearSmoothScroller.java 33 * If the {@link RecyclerView.LayoutManager} you are using does not implement the
302 final RecyclerView.LayoutManager layoutManager = getLayoutManager();
303 if (layoutManager == null || !layoutManager.canScrollVertically()) {
308 final int top = layoutManager.getDecoratedTop(view) - params.topMargin;
309 final int bottom = layoutManager.getDecoratedBottom(view) + params.bottomMargin;
310 final int start = layoutManager.getPaddingTop();
311 final int end = layoutManager.getHeight() - layoutManager.getPaddingBottom()
    [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/tests/src/android/support/v7/widget/
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 145 RecyclerView.LayoutManager createLayoutManager() {
150 protected int getVerticalGravity(RecyclerView.LayoutManager layoutManager) {
155 protected int getHorizontalGravity(RecyclerView.LayoutManager layoutManager) {
CacheUtils.java 30 RecyclerView.LayoutManager.LayoutPrefetchRegistry layoutPrefetchRegistry =
31 mock(RecyclerView.LayoutManager.LayoutPrefetchRegistry.class);
BaseWrapContentTest.java 52 RecyclerView.LayoutManager mLayoutManager;
66 abstract RecyclerView.LayoutManager createLayoutManager();
71 RecyclerView.LayoutManager layoutManager = createLayoutManager();
81 rv.setLayoutManager(layoutManager);
148 RecyclerView.LayoutManager layoutManager = scenario.createLayoutManager();
151 recyclerView.setLayoutManager(layoutManager);
153 mLayoutManager = layoutManager;
224 abstract protected int getVerticalGravity(RecyclerView.LayoutManager layoutManager)
    [all...]
GridLayoutManagerWrapContentTest.java 66 RecyclerView.LayoutManager createLayoutManager() {
218 protected int getVerticalGravity(RecyclerView.LayoutManager layoutManager) {
223 protected int getHorizontalGravity(RecyclerView.LayoutManager layoutManager) {
  /frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
RecyclerViewParallax.java 19 import static android.support.v7.widget.RecyclerView.LayoutManager;
226 LayoutManager.Properties properties = mRecylerView.getLayoutManager()
  /frameworks/support/v17/leanback/tests/java/android/support/v17/leanback/widget/
GridWidgetPrefetchTest.java 45 RecyclerView.LayoutManager.LayoutPrefetchRegistry registry
46 = mock(RecyclerView.LayoutManager.LayoutPrefetchRegistry.class);
232 RecyclerView.LayoutManager.LayoutPrefetchRegistry registry
233 = mock(RecyclerView.LayoutManager.LayoutPrefetchRegistry.class);
  /packages/apps/PackageInstaller/src/android/support/wearable/view/
WearableListView.java 188 setLayoutManager(new LayoutManager());
270 setLayoutManager(new LayoutManager());
593 LayoutManager layoutManager = (LayoutManager) getLayoutManager();
594 layoutManager.setCustomSmoothScroller(smoothScroller);
596 layoutManager.clearCustomSmoothScroller();
796 LayoutManager layoutManager = (LayoutManager) getLayoutManager()
    [all...]

Completed in 810 milliseconds

1 2 3 4