Home
last modified time | relevance | path

Searched refs:vertical (Results 1 – 25 of 145) sorted by relevance

123456

/frameworks/base/core/java/android/widget/
DScrollBarDrawable.java102 public void setParameters(int range, int offset, int extent, boolean vertical) { in setParameters() argument
103 if (mVertical != vertical) { in setParameters()
104 mVertical = vertical; in setParameters()
120 final boolean vertical = mVertical; in draw()
127 drawTrack = vertical ? mAlwaysDrawVerticalTrack : mAlwaysDrawHorizontalTrack; in draw()
137 drawTrack(canvas, r, vertical); in draw()
141 final int scrollBarLength = vertical ? r.height() : r.width(); in draw()
142 final int thickness = vertical ? r.width() : r.height(); in draw()
149 drawThumb(canvas, r, thumbOffset, thumbLength, vertical); in draw()
186 private void drawTrack(Canvas canvas, Rect bounds, boolean vertical) { in drawTrack() argument
[all …]
DSlidingDrawer.java439 final boolean vertical = mVertical; in onTouchEvent()
440 if (vertical) { in onTouchEvent()
467 if (vertical ? (mExpanded && top < mTapThreshold + mTopOffset) || in onTouchEvent()
478 animateClose(vertical ? top : left); in onTouchEvent()
480 animateOpen(vertical ? top : left); in onTouchEvent()
483 performFling(vertical ? top : left, velocity, false); in onTouchEvent()
487 performFling(vertical ? top : left, velocity, false); in onTouchEvent()
490 performFling(vertical ? top : left, velocity, false); in onTouchEvent()
/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/
DDirectionEvaluator.java22 boolean vertical = Math.abs(yDiff) >= Math.abs(xDiff); in evaluate()
26 if (!vertical || yDiff <= 0.0) { in evaluate()
31 if (vertical) { in evaluate()
36 if (!vertical || yDiff >= 0.0) { in evaluate()
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/glrenderer/
DUploadedTexture.java86 public boolean vertical; field in UploadedTexture.BorderKey
93 return vertical ? x : -x; in hashCode()
100 return vertical == o.vertical in equals()
119 boolean vertical, Config config, int length) { in getBorderLine() argument
121 key.vertical = vertical; in getBorderLine()
126 bitmap = vertical in getBorderLine()
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
DItemAlignment.java51 final public Axis vertical = new Axis(VERTICAL); field in ItemAlignment
57 private Axis mSecondAxis = vertical;
71 mSecondAxis = vertical; in setOrientation()
73 mMainAxis = vertical; in setOrientation()
DWindowAlignment.java275 final public Axis vertical = new Axis("vertical"); field in WindowAlignment
281 private Axis mSecondAxis = vertical;
295 mSecondAxis = vertical; in setOrientation()
297 mMainAxis = vertical; in setOrientation()
315 .append(vertical.toString()) in toString()
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
DGridLayoutManagerCachedBordersTest.java53 final boolean vertical = mConfig.mOrientation == GridLayoutManager.VERTICAL; in gridCachedBorderstTest()
54 final int expectedSizeSum = vertical ? recyclerView.getWidth() : recyclerView.getHeight(); in gridCachedBorderstTest()
61 childrenSizeSum += vertical ? child.getWidth() : child.getHeight(); in gridCachedBorderstTest()
/frameworks/base/media/java/android/media/
DTimedText.java160 public Justification(int horizontal, int vertical) { in Justification() argument
162 this.verticalJustification = vertical; in Justification()
486 int vertical = parcel.readInt(); in parseParcel() local
487 mJustification = new Justification(horizontal, vertical); in parseParcel()
/frameworks/support/v4/java/android/support/v4/widget/
DAutoScrollHelper.java332 public AutoScrollHelper setRelativeVelocity(float horizontal, float vertical) { in setRelativeVelocity() argument
334 mRelativeVelocity[VERTICAL] = vertical / 1000f; in setRelativeVelocity()
372 public AutoScrollHelper setRelativeEdges(float horizontal, float vertical) { in setRelativeEdges() argument
374 mRelativeEdges[VERTICAL] = vertical; in setRelativeEdges()
/frameworks/base/core/java/com/android/internal/widget/
DAutoScrollHelper.java331 public AutoScrollHelper setRelativeVelocity(float horizontal, float vertical) { in setRelativeVelocity() argument
333 mRelativeVelocity[VERTICAL] = vertical / 1000f; in setRelativeVelocity()
371 public AutoScrollHelper setRelativeEdges(float horizontal, float vertical) { in setRelativeEdges() argument
373 mRelativeEdges[VERTICAL] = vertical; in setRelativeEdges()
/frameworks/base/docs/html/ndk/reference/
Ddoxygen.css278 vertical-align: top;
301 vertical-align: middle;
322 vertical-align: middle;
533 vertical-align: bottom;
621 vertical-align: top;
626 vertical-align: top;
631 vertical-align: top;
644 vertical-align: bottom;
666 vertical-align: middle;
689 vertical-align: top;
[all …]
/frameworks/base/docs/html/training/improving-layouts/
Dreusing-layouts.jd83 android:orientation="vertical"
121 when including one layout within another. For example, if your main layout is a vertical {@link
125 re-usable layout would result in a vertical {@link android.widget.LinearLayout} inside a
126 vertical {@link android.widget.LinearLayout}. The nested {@link android.widget.LinearLayout}
/frameworks/base/libs/hwui/utils/
DBlur.h40 static void vertical(float* weights, int32_t radius, const uint8_t* source,
/frameworks/base/docs/html/guide/topics/ui/layout/
Dlinear.jd29 stacked one after the other, so a vertical list will only have one child per
45 vertical layout) or the <a
89 android:orientation="vertical" >
/frameworks/base/docs/html/guide/topics/ui/controls/
Dcheckbox.jd20 present each checkbox option in a vertical list.</p>
45 android:orientation="vertical"
Dradiobutton.jd51 android:orientation="vertical">
66 {@link android.widget.LinearLayout} that has a vertical orientation by default.</p>
/frameworks/base/docs/html/training/basics/firstapp/
Drunning-app.jd70 src="{@docRoot}images/tools/as-run.png" style="vertical-align:baseline;margin:0; max-height:1em" />
93 style="vertical-align:bottom;margin:0;height:19px"> in the toolbar. The
121 …<img src="{@docRoot}images/tools/as-run.png" style="vertical-align:baseline;margin:0; max-height:1…
/frameworks/data-binding/extensions/baseAdapters/src/main/java/android/databinding/adapters/
DViewBindingAdapter.java123 final boolean vertical = (value & FADING_EDGE_VERTICAL) != 0; in setRequiresFadingEdge()
125 view.setVerticalFadingEdgeEnabled(vertical); in setRequiresFadingEdge()
/frameworks/base/docs/html/guide/topics/ui/
Doverview.jd38 <p>For example, a simple vertical layout with a text view and a button looks like this:</p>
44 android:orientation="vertical" >
/frameworks/base/docs/html-intl/intl/pt-br/guide/topics/ui/
Doverview.jd38 <p>Por exemplo, um layout vertical simples com uma vista de texto e um botão se parece com:</p>
44 android:orientation="vertical" >
/frameworks/base/docs/html/guide/practices/ui_guidelines/
Dicon_design_launcher.jd152 <td style="border:0; vertical-align:middle">Icons should not be overly complicated. Remember
160 <td style="border:0; vertical-align:middle">Icons should not be cropped. Use unique shapes
169 <td style="border:0; vertical-align:middle">Icons should not be thin. They should have a
177 <td style="border:0; vertical-align:middle">Icons should make use of the alpha channel, and
/frameworks/base/docs/html-intl/intl/ru/guide/topics/ui/
Doverview.jd44 android:orientation="vertical" >
/frameworks/base/docs/html-intl/intl/ja/guide/topics/ui/
Doverview.jd44 android:orientation="vertical" >
/frameworks/base/docs/html-intl/intl/zh-cn/guide/topics/ui/
Doverview.jd44 android:orientation="vertical" >
/frameworks/base/docs/html-intl/intl/ko/guide/topics/ui/
Doverview.jd44 android:orientation="vertical" >

123456