/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/ |
H A D | DirectionEvaluator.java | 22 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 D | ItemAlignment.java | 47 final public Axis vertical = new Axis(VERTICAL); field in class:ItemAlignment 53 private Axis mSecondAxis = vertical; 67 mSecondAxis = vertical; 69 mMainAxis = vertical;
|
H A D | WindowAlignment.java | 356 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 D | GridLayoutManager.java | 655 * 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 D | InvalidateTreeActivity.java | 45 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 D | ScrollBarDrawable.java | 71 * 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 D | SlidingDrawer.java | 437 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 D | GridLayoutManagerCachedBordersTest.java | 58 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 D | Blur.h | 40 static void vertical(float* weights, int32_t radius, const uint8_t* source,
|
H A D | Blur.cpp | 138 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 D | NavGesture.java | 36 public void setBarState(boolean vertical, boolean isRtl); argument
|
H A D | NavBarButtonProvider.java | 47 void setVertical(boolean vertical); argument
|
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/glrenderer/ |
H A D | UploadedTexture.java | 86 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 D | StaggeredGridLayoutManagerActivity.java | 41 new ConfigToggle(this, R.string.vertical) {
|
/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/widget/ |
H A D | StaggeredGridLayoutManagerActivity.java | 41 new ConfigToggle(this, R.string.vertical) {
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
H A D | ButtonDispatcher.java | 177 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 D | ViewShowHidePerfTest.java | 81 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 D | TimedText.java | 151 * 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 D | AutoScrollHelper.java | 58 * {@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 D | AutoScrollHelper.java | 58 * {@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 D | ViewBindingAdapter.java | 123 final boolean vertical = (value & FADING_EDGE_VERTICAL) != 0; 125 view.setVerticalFadingEdgeEnabled(vertical);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
H A D | KeyButtonView.java | 304 public void setVertical(boolean vertical) { argument
|
/frameworks/base/core/java/android/text/ |
H A D | StaticLayout.java | 1170 public int getLineForVertical(int vertical) { argument 1177 if (lines[mColumns * guess + TOP] > vertical){
|
H A D | Layout.java | 822 * 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 D | FontRenderer.cpp | 605 // NOTE: bounds.isEmpty() can't be used here, since vertical coordinates are inverted 729 Blur::vertical(gaussian.get(), intRadius, scratch.get(), *image, width, height);
|