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

12

/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.java47 final public Axis vertical = new Axis(VERTICAL); field in class:ItemAlignment
53 private Axis mSecondAxis = vertical;
67 mSecondAxis = vertical;
69 mMainAxis = vertical;
H A DWindowAlignment.java356 public final Axis vertical = new Axis("vertical"); field in class:WindowAlignment
362 private Axis mSecondAxis = vertical;
376 mSecondAxis = vertical;
378 mMainAxis = vertical;
395 .append("; vertical=")
396 .append(vertical.toString())
H A DGridLayoutManager.java655 * Set to true for RTL layout in vertical orientation
1009 // we are vertical and have more than one column.
1015 // We can scroll vertically if we have vertical orientation, or if we
1751 p.setAlignY(mItemAlignment.vertical.getAlignmentPosition(v));
1756 p.setAlignY(mItemAlignment.vertical.getAlignmentPosition(v));
2525 mWindowAlignment.vertical.setSize(getHeight());
2527 mWindowAlignment.vertical.setPadding(getPaddingTop(), getPaddingBottom());
2539 mWindowAlignment.vertical.setSize(getHeight());
2541 mWindowAlignment.vertical.setPadding(getPaddingTop(), getPaddingBottom());
/frameworks/base/tests/UiBench/src/com/android/test/uibench/
H A DInvalidateTreeActivity.java45 boolean vertical = remainingDepth % 2 == 0;
46 parent.setOrientation(vertical ? LinearLayout.VERTICAL : LinearLayout.HORIZONTAL);
50 // vertical: match parent in x axis, horizontal: y axis.
52 (vertical ? ViewGroup.LayoutParams.MATCH_PARENT : 0),
53 (vertical ? 0 : ViewGroup.LayoutParams.MATCH_PARENT),
/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.java437 final boolean vertical = mVertical;
438 if (vertical) {
465 if (vertical ? (mExpanded && top < mTapThreshold + mTopOffset) ||
476 animateClose(vertical ? top : left, true);
478 animateOpen(vertical ? top : left, true);
481 performFling(vertical ? top : left, velocity, false, true);
485 performFling(vertical ? top : left, velocity, false, true);
488 performFling(vertical ? top : left, velocity, false, true);
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
H A DGridLayoutManagerCachedBordersTest.java58 final boolean vertical = mConfig.mOrientation == GridLayoutManager.VERTICAL;
59 final int expectedSizeSum = vertical ? recyclerView.getWidth() : recyclerView.getHeight();
66 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/SystemUI/plugin/src/com/android/systemui/plugins/statusbar/phone/
H A DNavGesture.java36 public void setBarState(boolean vertical, boolean isRtl); argument
H A DNavBarButtonProvider.java47 void setVertical(boolean vertical); argument
/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/support/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/widget/
H A DStaggeredGridLayoutManagerActivity.java41 new ConfigToggle(this, R.string.vertical) {
/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/widget/
H A DStaggeredGridLayoutManagerActivity.java41 new ConfigToggle(this, R.string.vertical) {
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DButtonDispatcher.java177 public void setVertical(boolean vertical) { argument
178 mVertical = vertical;
183 ((ButtonInterface) view).setVertical(vertical);
/frameworks/base/apct-tests/perftests/core/src/android/view/
H A DViewShowHidePerfTest.java81 boolean vertical = remainingDepth % 2 == 0;
82 parent.setOrientation(vertical ? LinearLayout.VERTICAL : LinearLayout.HORIZONTAL);
86 // vertical: match parent in x axis, horizontal: y axis.
88 (vertical ? ViewGroup.LayoutParams.MATCH_PARENT : 0),
89 (vertical ? 0 : ViewGroup.LayoutParams.MATCH_PARENT),
/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/core-ui/java/android/support/v4/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/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/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/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DKeyButtonView.java304 public void setVertical(boolean vertical) { argument
/frameworks/base/core/java/android/text/
H A DStaticLayout.java1170 public int getLineForVertical(int vertical) { argument
1177 if (lines[mColumns * guess + TOP] > vertical){
H A DLayout.java822 * Return the vertical position of the top of the specified line
1256 * Get the line number corresponding to the specified vertical position.
1261 public int getLineForVertical(int vertical) { argument
1267 if (getLineTop(guess) > vertical)
1446 * Return the vertical position of the bottom of the specified line.
1453 * Return the vertical position of the baseline of the specified line.
1580 * at the specified offset. This will often be a vertical line
/frameworks/base/libs/hwui/
H A DFontRenderer.cpp605 // NOTE: bounds.isEmpty() can't be used here, since vertical coordinates are inverted
729 Blur::vertical(gaussian.get(), intRadius, scratch.get(), *image, width, height);

Completed in 640 milliseconds

12