/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 56 LayoutManager layoutManager = mRecyclerView.getLayoutManager(); 57 if (layoutManager == null) { 66 && snapFromFling(layoutManager, velocityX, velocityY); 139 * @param layoutManager The {@link LayoutManager} associated with the attached 146 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...] |
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/tests/UiBench/src/com/android/test/uibench/recyclerview/ |
RvCompatListActivity.java | 35 RecyclerView.LayoutManager layoutManager; 44 recyclerView.setLayoutManager(layoutManager); 57 fragment.layoutManager = createLayoutManager(this); 63 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) {
|
BaseWrapContentTest.java | 61 RecyclerView.LayoutManager mLayoutManager; 75 abstract RecyclerView.LayoutManager createLayoutManager(); 80 RecyclerView.LayoutManager layoutManager = createLayoutManager(); 90 rv.setLayoutManager(layoutManager); 157 RecyclerView.LayoutManager layoutManager = scenario.createLayoutManager(); 160 recyclerView.setLayoutManager(layoutManager); 162 mLayoutManager = layoutManager; 233 abstract protected int getVerticalGravity(RecyclerView.LayoutManager layoutManager) [all...] |
TestResizingRelayoutWithAutoMeasure.java | 47 private final RecyclerView.LayoutManager mLayoutManager; 52 RecyclerView.LayoutManager layoutManager, float widthMultiplier, 54 mLayoutManager = layoutManager;
|
GridLayoutManagerWrapContentTest.java | 65 RecyclerView.LayoutManager createLayoutManager() { 217 protected int getVerticalGravity(RecyclerView.LayoutManager layoutManager) { 222 protected int getHorizontalGravity(RecyclerView.LayoutManager layoutManager) {
|
ScrollToPositionWithAutoMeasure.java | 63 public void test(final RecyclerView.LayoutManager llm,
|
/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...] |
/developers/build/prebuilts/gradle/RecyclerView/Application/src/main/java/com/example/android/recyclerview/ |
RecyclerViewFragment.java | 36 private static final String KEY_LAYOUT_MANAGER = "layoutManager"; 52 protected RecyclerView.LayoutManager mLayoutManager; 74 // to the way ListView would layout elements. The RecyclerView.LayoutManager defines how 112 * Set RecyclerView's LayoutManager to the one given.
|
/developers/samples/android/ui/views/RecyclerView/Application/src/main/java/com/example/android/recyclerview/ |
RecyclerViewFragment.java | 36 private static final String KEY_LAYOUT_MANAGER = "layoutManager"; 52 protected RecyclerView.LayoutManager mLayoutManager; 74 // to the way ListView would layout elements. The RecyclerView.LayoutManager defines how 112 * Set RecyclerView's LayoutManager to the one given.
|
/development/samples/browseable/RecyclerView/src/com.example.android.recyclerview/ |
RecyclerViewFragment.java | 36 private static final String KEY_LAYOUT_MANAGER = "layoutManager"; 52 protected RecyclerView.LayoutManager mLayoutManager; 74 // to the way ListView would layout elements. The RecyclerView.LayoutManager defines how 112 * Set RecyclerView's LayoutManager to the one given.
|
/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/ui/ |
LayoutManager.java | 27 public class LayoutManager extends ZLinkedList<Widget>
71 public LayoutManager() {
|
/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/xy/ |
XYLegendWidget.java | 20 import com.androidplot.ui.LayoutManager;
69 public XYLegendWidget(LayoutManager layoutManager, XYPlot plot,
73 super(layoutManager, widgetSizeMetrics);
|
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/test/ |
RecyclerViewTest.java | 84 RecyclerView.LayoutManager layoutManager = view.getLayoutManager(); 85 assertNotNull("LayoutManager not created.", layoutManager); 86 assertEquals("Incorrect LayoutManager created", 87 layoutManager.getClass().getName(), GridLayoutManager.class.getName()); 88 GridLayoutManager gridLayoutManager = ((GridLayoutManager) layoutManager); 95 layoutManager = view.getLayoutManager(); 96 assertNotNull("LayoutManager not created.", layoutManager); [all...] |