/frameworks/support/v4/java/android/support/v4/widget/ |
AutoScrollHelper.java | 60 * horizontal edges. 74 * Default value is 100% per second for both vertical and horizontal. 133 private static final int HORIZONTAL = 0; 287 * @param horizontalMax The maximum horizontal scrolling velocity, or 294 mMaximumVelocity[HORIZONTAL] = horizontalMax / 1000f; 305 * @param horizontalMin The minimum horizontal scrolling velocity, or 312 mMinimumVelocity[HORIZONTAL] = horizontalMin / 1000f; 324 * @param horizontal The target horizontal velocity as a fraction of the 332 public AutoScrollHelper setRelativeVelocity(float horizontal, float vertical) [all...] |
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
WindowAlignment.java | 22 import static android.support.v7.widget.RecyclerView.HORIZONTAL; 251 private int mOrientation = HORIZONTAL; 255 final public Axis horizontal = new Axis("horizontal"); field in class:WindowAlignment 257 private Axis mMainAxis = horizontal; 271 if (mOrientation == HORIZONTAL) { 272 mMainAxis = horizontal; 276 mSecondAxis = horizontal; 290 return new StringBuffer().append("horizontal=") 291 .append(horizontal.toString() [all...] |
GridLayoutManager.java | 30 import static android.support.v7.widget.RecyclerView.HORIZONTAL; 179 private int mOrientation = HORIZONTAL; 365 if (orientation != HORIZONTAL && orientation != VERTICAL) { 472 if (mOrientation == HORIZONTAL) { 480 if (mOrientation == HORIZONTAL) { 549 // We can scroll horizontally if we have horizontal orientation, or if 551 return mOrientation == HORIZONTAL || mNumRows > 1; 557 // are horizontal and have more than one row. 606 return (mOrientation == HORIZONTAL) ? getOpticalLeft(v) : getOpticalTop(v); 610 return (mOrientation == HORIZONTAL) ? getOpticalRight(v) : getOpticalBottom(v) [all...] |
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/ |
OrientationHelper.java | 25 * It is developed to easily support vertical and horizontal orientations in a LayoutManager but 38 public static final int HORIZONTAL = LinearLayout.HORIZONTAL; 74 * For example, for the horizontal helper, if a View's left is at pixel 20, has 2px left 86 * For example, for the horizontal helper, if a View's right is at pixel 200, has 2px right 160 * Returns the padding at the end of the layout. For horizontal helper, this is the right 172 * @param orientation Desired orientation. Should be {@link #HORIZONTAL} or {@link #VERTICAL} 178 case HORIZONTAL: 187 * Creates a horizontal OrientationHelper for the given LayoutManager.
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/ |
ScrollAdapterView.java | 55 * Supports {@link #HORIZONTAL} and {@link #VERTICAL} set by {@link #setOrientation(int)}. 56 * So you could have a vertical ScrollAdapterView with a nested expanding Horizontal ScrollAdapterView. 154 public static final int HORIZONTAL = 0; 166 private int mOrientation = HORIZONTAL; 486 setOrientation(a.getInt(R.styleable.ScrollAdapterView_orientation, HORIZONTAL)); 588 if (mOrientation == HORIZONTAL) { 692 (mOrientation == HORIZONTAL ? View.FOCUS_RIGHT : View.FOCUS_DOWN) : 693 (mOrientation == HORIZONTAL ? View.FOCUS_LEFT : View.FOCUS_UP); 804 scrollTo(mScroll.horizontal.getSystemScrollPos(), mScroll.vertical.getSystemScrollPos()); 809 mScroll.horizontal.setSize(w) [all...] |
ScrollController.java | 617 private int mOrientation = ScrollAdapterView.HORIZONTAL; 623 final public Axis horizontal = new Axis(mLerper, "horizontal"); field in class:ScrollController 625 private Axis mMainAxis = horizontal; 638 /** the major movement is in horizontal or vertical */ 670 if (mOrientation == ScrollAdapterView.HORIZONTAL) { 671 mMainAxis = horizontal; 675 mSecondAxis = horizontal; 732 return (dx == 0 || horizontal.canScroll(dx < 0)) && 767 horizontal.setOperationMode(operationMode) [all...] |
/development/samples/Support7Demos/src/com/example/android/supportv7/widget/ |
GridLayoutManagerActivity.java | 56 return mLayoutManager.getOrientation() == LinearLayoutManager.HORIZONTAL; 61 mLayoutManager.setOrientation(newValue ? LinearLayoutManager.HORIZONTAL
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/uimodel/ |
UiSeparatorAttributeNode.java | 87 Label sep = toolkit.createSeparator(row, SWT.HORIZONTAL); 95 sep = toolkit.createSeparator(row, SWT.HORIZONTAL);
|
/development/samples/ApiDemos/src/com/example/android/apis/view/ |
InternalSelectionFocus.java | 47 layout.setOrientation(LinearLayout.HORIZONTAL);
|
/external/chromium_org/cc/test/ |
fake_scrollbar.cc | 33 return HORIZONTAL;
|
/external/chromium_org/content/renderer/compositor_bindings/ |
web_scrollbar_layer_impl.cc | 21 return orientation == blink::WebScrollbar::Horizontal ? cc::HORIZONTAL
|
/frameworks/base/core/tests/coretests/src/android/widget/focus/ |
AdjacentVerticalRectLists.java | 67 mLayout.setOrientation(LinearLayout.HORIZONTAL);
|
/frameworks/base/core/java/com/android/internal/widget/ |
AutoScrollHelper.java | 59 * horizontal edges. 73 * Default value is 100% per second for both vertical and horizontal. 132 private static final int HORIZONTAL = 0; 286 * @param horizontalMax The maximum horizontal scrolling velocity, or 293 mMaximumVelocity[HORIZONTAL] = horizontalMax / 1000f; 304 * @param horizontalMin The minimum horizontal scrolling velocity, or 311 mMinimumVelocity[HORIZONTAL] = horizontalMin / 1000f; 323 * @param horizontal The target horizontal velocity as a fraction of the 331 public AutoScrollHelper setRelativeVelocity(float horizontal, float vertical) [all...] |
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/ |
GridLayoutManagerTest.java | 36 import static android.support.v7.widget.LinearLayoutManager.HORIZONTAL; 55 for (int orientation : new int[]{VERTICAL, HORIZONTAL}) { 86 layoutParamsTest(GridLayoutManager.HORIZONTAL); 92 accessibilitySpanIndicesTest(HORIZONTAL); 119 orientation == HORIZONTAL ? itemInfo.getColumnIndex() : itemInfo.getRowIndex()); 122 orientation == HORIZONTAL ? itemInfo.getRowIndex() : itemInfo.getColumnIndex()); 125 orientation == HORIZONTAL ? itemInfo.getRowSpan() : itemInfo.getColumnSpan()); 198 if (mGlm.getOrientation() == GridLayoutManager.HORIZONTAL) { 388 RecyclerView recyclerView = setupBasic(new Config(3, HORIZONTAL, false), 604 ", mOrientation=" + (mOrientation == GridLayoutManager.HORIZONTAL ? "h" : "v") [all...] |
/development/samples/devbytes/graphics/FoldingLayout/src/com/example/android/foldinglayout/ |
FoldingLayoutActivity.java | 51 * The number of folds, orientation (vertical or horizontal) of the fold, and the 84 private Orientation mOrientation = Orientation.HORIZONTAL; 284 mOrientation = (mOrientation == Orientation.HORIZONTAL) ? Orientation.VERTICAL : 285 Orientation.HORIZONTAL; 286 item.setTitle((mOrientation == Orientation.HORIZONTAL) ? R.string.vertical : 287 R.string.horizontal); 371 * scrolling to fold a vertically oriented view and horizontal scrolling to fold
|
/external/chromium_org/chrome/browser/ui/views/ |
open_pdf_in_reader_bubble_view.cc | 56 layout->AddView(new views::Separator(views::Separator::HORIZONTAL), 1, 1,
|
/external/chromium_org/ui/views/controls/ |
slider.cc | 120 // For the horizontal orientation. 142 if (orientation_ == HORIZONTAL) { 193 if (orientation_ == HORIZONTAL) 202 if (orientation_ == HORIZONTAL) { 259 // for horizontal and vertical orientations. If it is different, then 288 if (orientation_ == HORIZONTAL) {
|
/external/chromium_org/ui/views/ |
view_model_utils.cc | 20 return alignment == ViewModelUtils::HORIZONTAL ? x : y;
|
/external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/internal/core/editor/structure/ |
PageSiteComposite.java | 57 Label separator = new Label(this, SWT.SEPARATOR | SWT.HORIZONTAL);
|
/packages/apps/DeskClock/src/com/android/deskclock/widget/ |
EllipsizeLayout.java | 10 * When this layout is in the Horizontal orientation and one and only one child is a TextView with a 15 * <li>the orientation is not horizontal</li> 20 * <p>The purpose of this horizontal-linear-layout is to ensure that when the sum of widths of the 46 * This override only acts when the LinearLayout is in the Horizontal orientation and is in it's 58 * @param widthMeasureSpec horizontal space requirements as imposed by the parent 63 if (getOrientation() == HORIZONTAL
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/draw9patch/ui/ |
ImageEditorPanel.java | 51 SashForm sashForm = new SashForm(this, SWT.HORIZONTAL);
|
/external/proguard/src/proguard/gui/ |
FilterDialog.java | 73 textConstraints.fill = GridBagConstraints.HORIZONTAL; 85 textFieldConstraints.fill = GridBagConstraints.HORIZONTAL; 92 panelConstraints.fill = GridBagConstraints.HORIZONTAL;
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
ClipDrawable.java | 55 public static final int HORIZONTAL = 1; 63 * @param orientation Bitwise-or of {@link #HORIZONTAL} and/or {@link #VERTICAL} 89 HORIZONTAL); 226 if ((mClipState.mOrientation & HORIZONTAL) != 0) {
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/category/ |
IconView.java | 39 public static final int HORIZONTAL = 1; 45 private int mOrientation = HORIZONTAL; 91 if (mOrientation == HORIZONTAL) {
|
/frameworks/base/packages/Keyguard/src/com/android/keyguard/ |
MultiPaneChallengeLayout.java | 39 public static final int HORIZONTAL = LinearLayout.HORIZONTAL; 75 HORIZONTAL); 296 if (mOrientation == HORIZONTAL) { 377 final boolean fixedLayoutHorizontal = fixedLayoutSize && mOrientation == HORIZONTAL; 523 if (parent.mOrientation == HORIZONTAL) {
|