Home
last modified time | relevance | path

Searched refs:horizontal (Results 1 – 25 of 108) sorted by relevance

12345

/frameworks/support/v7/gridlayout/src/android/support/v7/widget/
DGridLayout.java614 static Alignment getAlignment(int gravity, boolean horizontal) { in getAlignment() argument
615 int mask = horizontal ? HORIZONTAL_GRAVITY_MASK : VERTICAL_GRAVITY_MASK; in getAlignment()
616 int shift = horizontal ? AXIS_X_SHIFT : AXIS_Y_SHIFT; in getAlignment()
620 return horizontal ? LEFT : TOP; in getAlignment()
622 return horizontal ? RIGHT : BOTTOM; in getAlignment()
637 private int getDefaultMargin(View c, boolean horizontal, boolean leading) { in getDefaultMargin() argument
644 private int getDefaultMargin(View c, boolean isAtEdge, boolean horizontal, boolean leading) { in getDefaultMargin() argument
645 return /*isAtEdge ? DEFAULT_CONTAINER_MARGIN :*/ getDefaultMargin(c, horizontal, leading); in getDefaultMargin()
648 private int getDefaultMargin(View c, LayoutParams p, boolean horizontal, boolean leading) { in getDefaultMargin() argument
652 Spec spec = horizontal ? p.columnSpec : p.rowSpec; in getDefaultMargin()
[all …]
/frameworks/base/core/java/android/widget/
DGridLayout.java627 static Alignment getAlignment(int gravity, boolean horizontal) { in getAlignment() argument
628 int mask = horizontal ? HORIZONTAL_GRAVITY_MASK : VERTICAL_GRAVITY_MASK; in getAlignment()
629 int shift = horizontal ? AXIS_X_SHIFT : AXIS_Y_SHIFT; in getAlignment()
633 return horizontal ? LEFT : TOP; in getAlignment()
635 return horizontal ? RIGHT : BOTTOM; in getAlignment()
650 private int getDefaultMargin(View c, boolean horizontal, boolean leading) { in getDefaultMargin() argument
657 private int getDefaultMargin(View c, boolean isAtEdge, boolean horizontal, boolean leading) { in getDefaultMargin() argument
658 return /*isAtEdge ? DEFAULT_CONTAINER_MARGIN :*/ getDefaultMargin(c, horizontal, leading); in getDefaultMargin()
661 private int getDefaultMargin(View c, LayoutParams p, boolean horizontal, boolean leading) { in getDefaultMargin() argument
665 Spec spec = horizontal ? p.columnSpec : p.rowSpec; in getDefaultMargin()
[all …]
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
DItemAlignment.java53 final public Axis horizontal = new Axis(HORIZONTAL); field in ItemAlignment
55 private Axis mMainAxis = horizontal;
70 mMainAxis = horizontal; in setOrientation()
74 mSecondAxis = horizontal; in setOrientation()
DWindowAlignment.java277 final public Axis horizontal = new Axis("horizontal"); field in WindowAlignment
279 private Axis mMainAxis = horizontal;
294 mMainAxis = horizontal; in setOrientation()
298 mSecondAxis = horizontal; in setOrientation()
313 .append(horizontal.toString()) in toString()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DKeyButtonRipple.java89 final boolean horizontal = w > h; in drawSoftware()
94 final float rx = horizontal ? radius : cx; in drawSoftware()
95 final float ry = horizontal ? cy : radius; in drawSoftware()
96 final float corner = horizontal ? cy : cx; in drawSoftware()
/frameworks/support/v4/java/android/support/v4/widget/
DAutoScrollHelper.java332 public AutoScrollHelper setRelativeVelocity(float horizontal, float vertical) { in setRelativeVelocity() argument
333 mRelativeVelocity[HORIZONTAL] = horizontal / 1000f; in setRelativeVelocity()
372 public AutoScrollHelper setRelativeEdges(float horizontal, float vertical) { in setRelativeEdges() argument
373 mRelativeEdges[HORIZONTAL] = horizontal; in setRelativeEdges()
/frameworks/base/media/java/android/media/
DTimedText.java160 public Justification(int horizontal, int vertical) { in Justification() argument
161 this.horizontalJustification = horizontal; in Justification()
485 int horizontal = parcel.readInt(); in parseParcel() local
487 mJustification = new Justification(horizontal, vertical); in parseParcel()
/frameworks/base/core/java/com/android/internal/widget/
DAutoScrollHelper.java331 public AutoScrollHelper setRelativeVelocity(float horizontal, float vertical) { in setRelativeVelocity() argument
332 mRelativeVelocity[HORIZONTAL] = horizontal / 1000f; in setRelativeVelocity()
371 public AutoScrollHelper setRelativeEdges(float horizontal, float vertical) { in setRelativeEdges() argument
372 mRelativeEdges[HORIZONTAL] = horizontal; in setRelativeEdges()
/frameworks/base/docs/html/training/design-navigation/
Ddescendant-lateral.jd100 …ries, that fills the available horizontal space. Another way is to provide additional information …
149 <p>Another popular lateral navigation pattern is horizontal paging, also referred to as swipe views…
153 …alt="Example horizontal paging navigation interface with relevant screen map excerpt" id="figure-p…
155 <p class="img-caption"><strong>Figure 6.</strong> Example horizontal paging navigation interface wi…
158 <p>In a horizontal paging UI, a single child screen (referred to as a <em>page</em> here) is presen…
167 <p>It's also best to avoid this pattern when child screens contain horizontal panning surfaces (suc…
169horizontal paging is most appropriate where there is some similarity in content type and when the …
Dwireframing.jd41 …n across different story categories is to use horizontal paging, with a set of labels above the ho…
121 …cRoot}tools/support-library/index.html">Support Library</a>: implement horizontal paging (swipe vi…
/frameworks/base/libs/hwui/utils/
DBlur.h38 static void horizontal(float* weights, int32_t radius, const uint8_t* source,
DBlur.cpp94 void Blur::horizontal(float* weights, int32_t radius, in horizontal() function in android::uirenderer::Blur
/frameworks/base/docs/html/training/implementing-navigation/
Dlateral.jd2 page.tags=viewpager,horizontal,paging,swipe view,tabs
13 <li><a href="#horizontal-paging">Implement Swipe Views</a></li>
40 a horizontal finger gesture (a pattern sometimes known as horizontal paging). This lesson teaches
56 <h2 id="horizontal-paging">Implement Swipe Views</h2>
/frameworks/base/docs/html/guide/appendix/
Dapp-intents.jd92 …A zoom of 1.0 is 90 degree horizontal FOV for a nominal …
96 …FOV. This means that the horizontal FOV of an Android phone in portrait …
98 …the fisheye lens effect that would be present if a 90 degree horizontal
Dg-app-intents.jd102 A zoom of 1.0 is 90 degree horizontal FOV for a nominal landscape mode 4
105 This means that the horizontal FOV of an Android phone in portrait mode is much
107 effect that would be present if a 90 degree horizontal FOV was used in portrait
/frameworks/data-binding/extensions/baseAdapters/src/main/java/android/databinding/adapters/
DViewBindingAdapter.java124 final boolean horizontal = (value & FADING_EDGE_HORIZONTAL) != 0; in setRequiresFadingEdge()
126 view.setHorizontalFadingEdgeEnabled(horizontal); in setRequiresFadingEdge()
/frameworks/base/docs/html/design/patterns/
Dswipe-views.jd13 built in a hierarchical fashion, there are instances where horizontal navigation can flatten
83 …on on <a href="{@docRoot}training/implementing-navigation/lateral.html#horizontal-paging">Implemen…
/frameworks/base/docs/html/guide/topics/ui/layout/
Dlinear.jd30 row, no matter how wide they are, and a horizontal list will only be one row
48 horizontal
/frameworks/base/docs/html/guide/topics/resources/
Ddrawable-resource.jd228 <td>Place object in the horizontal center of its container, not changing its size. </td></tr>
230 <td>Grow the horizontal size of the object if needed so it completely fills its container.
233 <td>Place the object in the center of its container in both the vertical and horizontal axis, not
236 <td>Grow the horizontal and vertical size of the object if needed so it completely fills its
245 its container's bounds. The clip is based on the horizontal gravity: a left gravity clips
1156 android:clipOrientation=["horizontal" | "vertical"]
1183 <tr><td><code>horizontal</code></td>
1202 default. When {@code clipOrientation} is {@code "horizontal"}, clipping occurs at the right side of
1206 clipOrientation} is {@code "horizontal"}, clipping occurs at the left side of
1216 <td>Place object in the horizontal center of its container, not changing its size.
[all …]
/frameworks/base/docs/html-intl/intl/es/training/multiscreen/
Dscreensizes.jd62 <p>Por ejemplo, esta es la apariencia del diseño en modo horizontal y vertical. Ten en cuenta que l…
65 …trong> La aplicación de ejemplo News Reader en modo vertical (izquierda) y horizontal (derecha)</p>
207 <p>Aunque algunos diseños se pueden utilizar tanto en modo horizontal como vertical, la mayoría de …
211 <li><b>pantalla pequeña, horizontal:</b> panel único con logotipo,</li>
213 <li><b>tablet de 7", horizontal:</b> panel dual ancho con barra de acciones,</li>
215 <li><b>tablet de 10", horizontal:</b> panel dual ancho con barra de acciones,</li>
216 <li><b>televisión, horizontal:</b> panel dual ancho con barra de acciones.</li>
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
DBaseWrapContentTest.java77 void unspecifiedWithHintTest(boolean horizontal) throws Throwable { in unspecifiedWithHintTest() argument
94 if (horizontal) { in unspecifiedWithHintTest()
108 if (horizontal) { in unspecifiedWithHintTest()
/frameworks/base/docs/html/training/backward-compatible-ui/
Dolder-implementation.jd43 <p>Action bars can be implemented using a horizontal {@link android.widget.LinearLayout} containing…
47 <p>Action bar tabs can be implemented using a horizontal {@link android.widget.LinearLayout} contai…
/frameworks/base/docs/html-intl/intl/ru/guide/topics/ui/
Dcontrols.jd22 android:orientation="horizontal">
/frameworks/base/docs/html-intl/intl/zh-cn/guide/topics/ui/
Dcontrols.jd22 android:orientation="horizontal">
/frameworks/base/docs/html-intl/intl/zh-tw/guide/topics/ui/
Dcontrols.jd22 android:orientation="horizontal">

12345