Searched refs:vertical (Results 1 - 20 of 20) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/
H A DDirectionEvaluator.java22 boolean vertical = Math.abs(yDiff) >= Math.abs(xDiff);
26 if (!vertical || yDiff <= 0.0) {
31 if (vertical) {
36 if (!vertical || yDiff >= 0.0) {
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
H A DItemAlignment.java51 final public Axis vertical = new Axis(VERTICAL); field in class:ItemAlignment
57 private Axis mSecondAxis = vertical;
71 mSecondAxis = vertical;
73 mMainAxis = vertical;
H A DWindowAlignment.java275 final public Axis vertical = new Axis("vertical"); field in class:WindowAlignment
281 private Axis mSecondAxis = vertical;
295 mSecondAxis = vertical;
297 mMainAxis = vertical;
314 .append("; vertical=")
315 .append(vertical.toString())
H A DGridLayoutManager.java623 * Set to true for RTL layout in vertical orientation
935 // we are vertical and have more than one column.
941 // We can scroll vertically if we have vertical orientation, or if we
1668 p.setAlignY(mItemAlignment.vertical.getAlignmentPosition(v));
1673 p.setAlignY(mItemAlignment.vertical.getAlignmentPosition(v));
2171 mWindowAlignment.vertical.setSize(getHeight());
2173 mWindowAlignment.vertical.setPadding(getPaddingTop(), getPaddingBottom());
2194 paddingSecondaryDiff = getPaddingTop() - mWindowAlignment.vertical.getPaddingLow();
2196 paddingPrimaryDiff = getPaddingTop() - mWindowAlignment.vertical.getPaddingLow();
2203 mWindowAlignment.vertical
[all...]
/frameworks/base/core/java/android/widget/
H A DScrollBarDrawable.java71 * Indicate whether the vertical scrollbar track should always be drawn
83 * @return whether the vertical scrollbar track should always be drawn
102 public void setParameters(int range, int offset, int extent, boolean vertical) { argument
103 if (mVertical != vertical) {
104 mVertical = vertical;
120 final boolean vertical = mVertical;
127 drawTrack = vertical ? mAlwaysDrawVerticalTrack : mAlwaysDrawHorizontalTrack;
137 drawTrack(canvas, r, vertical);
141 final int scrollBarLength = vertical ? r.height() : r.width();
142 final int thickness = vertical
186 drawTrack(Canvas canvas, Rect bounds, boolean vertical) argument
202 drawThumb(Canvas canvas, Rect bounds, int offset, int length, boolean vertical) argument
282 getSize(boolean vertical) argument
[all...]
H A DSlidingDrawer.java439 final boolean vertical = mVertical;
440 if (vertical) {
467 if (vertical ? (mExpanded && top < mTapThreshold + mTopOffset) ||
478 animateClose(vertical ? top : left);
480 animateOpen(vertical ? top : left);
483 performFling(vertical ? top : left, velocity, false);
487 performFling(vertical ? top : left, velocity, false);
490 performFling(vertical ? top : left, velocity, false);
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
H A DGridLayoutManagerCachedBordersTest.java53 final boolean vertical = mConfig.mOrientation == GridLayoutManager.VERTICAL;
54 final int expectedSizeSum = vertical ? recyclerView.getWidth() : recyclerView.getHeight();
61 childrenSizeSum += vertical ? child.getWidth() : child.getHeight();
/frameworks/base/libs/hwui/utils/
H A DBlur.h40 static void vertical(float* weights, int32_t radius, const uint8_t* source,
H A DBlur.cpp138 void Blur::vertical(float* weights, int32_t radius, function in class:android::uirenderer::Blur
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/glrenderer/
H A DUploadedTexture.java86 public boolean vertical; field in class:UploadedTexture.BorderKey
93 return vertical ? x : -x;
100 return vertical == o.vertical
119 boolean vertical, Config config, int length) {
121 key.vertical = vertical;
126 bitmap = vertical
118 getBorderLine( boolean vertical, Config config, int length) argument
/frameworks/base/media/java/android/media/
H A DTimedText.java151 * vertical justification 0: top, 1: centered, -1: bottom
158 * @param vertical the vertical justification of the text.
160 public Justification(int horizontal, int vertical) { argument
162 this.verticalJustification = vertical;
486 int vertical = parcel.readInt();
487 mJustification = new Justification(horizontal, vertical);
/frameworks/support/v4/java/android/support/v4/widget/
H A DAutoScrollHelper.java59 * {@link #setRelativeEdges}. Default value is 20% for both vertical and
74 * Default value is 100% per second for both vertical and horizontal.
289 * @param verticalMax The maximum vertical scrolling velocity, or
307 * @param verticalMin The minimum vertical scrolling velocity, or
327 * @param vertical The target vertical velocity as a fraction of the host
332 public AutoScrollHelper setRelativeVelocity(float horizontal, float vertical) { argument
334 mRelativeVelocity[VERTICAL] = vertical / 1000f;
367 * @param vertical The vertical edg
372 setRelativeEdges(float horizontal, float vertical) argument
[all...]
/frameworks/base/core/java/com/android/internal/widget/
H A DAutoScrollHelper.java58 * {@link #setRelativeEdges}. Default value is 20% for both vertical and
73 * Default value is 100% per second for both vertical and horizontal.
288 * @param verticalMax The maximum vertical scrolling velocity, or
306 * @param verticalMin The minimum vertical scrolling velocity, or
326 * @param vertical The target vertical velocity as a fraction of the host
331 public AutoScrollHelper setRelativeVelocity(float horizontal, float vertical) { argument
333 mRelativeVelocity[VERTICAL] = vertical / 1000f;
366 * @param vertical The vertical edg
371 setRelativeEdges(float horizontal, float vertical) argument
[all...]
/frameworks/base/docs/html/ndk/reference/
H A 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
[all...]
/frameworks/data-binding/extensions/baseAdapters/src/main/java/android/databinding/adapters/
H A DViewBindingAdapter.java123 final boolean vertical = (value & FADING_EDGE_VERTICAL) != 0;
125 view.setVerticalFadingEdgeEnabled(vertical);
/frameworks/base/core/java/android/text/
H A DStaticLayout.java1114 public int getLineForVertical(int vertical) { argument
1121 if (lines[mColumns * guess + TOP] > vertical){
H A DLayout.java671 * Return the vertical position of the top of the specified line
1095 * Get the line number corresponding to the specified vertical position.
1100 public int getLineForVertical(int vertical) { argument
1106 if (getLineTop(guess) > vertical)
1286 * Return the vertical position of the bottom of the specified line.
1293 * Return the vertical position of the baseline of the specified line.
1420 * at the specified offset. This will often be a vertical line
/frameworks/base/libs/hwui/
H A DFontRenderer.cpp610 // NOTE: bounds.isEmpty() can't be used here, since vertical coordinates are inverted
736 Blur::vertical(gaussian.get(), intRadius, scratch.get(), *image, width, height);
/frameworks/base/core/java/android/app/
H A DActivityThread.java2753 SparseIntArray vertical = new SparseIntArray();
2758 vertical.put(config.screenHeightDp, 0);
2769 horizontal.copyKeys(), vertical.copyKeys(), smallest.copyKeys());
H A DActivityManagerNative.java2872 int[] vertical = readIntArray(data);
2874 reportSizeConfigurations(token, horizontal, vertical, smallest);

Completed in 557 milliseconds