Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/widget/
DScrollBarDrawable.java111 public void setParameters(int range, int offset, int extent, boolean vertical) { in setParameters() argument
112 if (mVertical != vertical) { in setParameters()
113 mVertical = vertical; in setParameters()
129 final boolean vertical = mVertical; in draw()
136 drawTrack = vertical ? mAlwaysDrawVerticalTrack : mAlwaysDrawHorizontalTrack; in draw()
146 drawTrack(canvas, r, vertical); in draw()
150 final int scrollBarLength = vertical ? r.height() : r.width(); in draw()
151 final int thickness = vertical ? r.width() : r.height(); in draw()
158 drawThumb(canvas, r, thumbOffset, thumbLength, vertical); in draw()
195 private void drawTrack(Canvas canvas, Rect bounds, boolean vertical) { in drawTrack() argument
[all …]
DSlidingDrawer.java444 final boolean vertical = mVertical; in onTouchEvent()
445 if (vertical) { in onTouchEvent()
472 if (vertical ? (mExpanded && top < mTapThreshold + mTopOffset) || in onTouchEvent()
483 animateClose(vertical ? top : left, true); in onTouchEvent()
485 animateOpen(vertical ? top : left, true); in onTouchEvent()
488 performFling(vertical ? top : left, velocity, false, true); in onTouchEvent()
492 performFling(vertical ? top : left, velocity, false, true); in onTouchEvent()
495 performFling(vertical ? top : left, velocity, false, true); in onTouchEvent()
/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/
DDirectionEvaluator.java22 boolean vertical = Math.abs(yDiff) >= Math.abs(xDiff); in evaluate()
27 if (!vertical || yDiff <= 0.0) { in evaluate()
32 if (vertical) { in evaluate()
38 if (!vertical || yDiff >= 0.0) { in evaluate()
/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/brightline/
DTypeClassifier.java39 boolean vertical = isVertical(); in isFalseTouch()
47 return !vertical || up; in isFalseTouch()
49 return vertical; in isFalseTouch()
52 return !vertical || !up; in isFalseTouch()
/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/base/tests/UiBench/src/com/android/test/uibench/
DInvalidateTreeActivity.java45 boolean vertical = remainingDepth % 2 == 0; in createQuadTree()
46 parent.setOrientation(vertical ? LinearLayout.VERTICAL : LinearLayout.HORIZONTAL); in createQuadTree()
52 (vertical ? ViewGroup.LayoutParams.MATCH_PARENT : 0), in createQuadTree()
53 (vertical ? 0 : ViewGroup.LayoutParams.MATCH_PARENT), in createQuadTree()
/frameworks/base/apct-tests/perftests/core/src/android/view/
DViewShowHidePerfTest.java82 boolean vertical = remainingDepth % 2 == 0;
83 … parent.setOrientation(vertical ? LinearLayout.VERTICAL : LinearLayout.HORIZONTAL);
89 (vertical ? ViewGroup.LayoutParams.MATCH_PARENT : 0),
90 (vertical ? 0 : ViewGroup.LayoutParams.MATCH_PARENT),
/frameworks/base/media/java/android/media/
DTimedText.java162 public Justification(int horizontal, int vertical) { in Justification() argument
164 this.verticalJustification = vertical; in Justification()
498 int vertical = parcel.readInt(); in parseParcel() local
499 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
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/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DButtonInterface.java28 void setVertical(boolean vertical); in setVertical() argument
DButtonDispatcher.java320 public void setVertical(boolean vertical) { in setVertical() argument
321 mVertical = vertical; in setVertical()
326 ((ButtonInterface) view).setVertical(vertical); in setVertical()
DNavigationHandle.java83 public void setVertical(boolean vertical) { in setVertical() argument
DNavigationBarInflaterView.java194 void setVertical(boolean vertical) { in setVertical() argument
195 if (vertical != mIsVertical) { in setVertical()
196 mIsVertical = vertical; in setVertical()
DNavigationBarView.java888 mVertical = findViewById(R.id.vertical); in updateOrientationViews()
/frameworks/base/libs/hwui/utils/
DBlur.h40 static void vertical(float* weights, int32_t radius, const uint8_t* source, uint8_t* dest,
DBlur.cpp137 void Blur::vertical(float* weights, int32_t radius, const uint8_t* source, uint8_t* dest, in vertical() function in android::uirenderer::Blur
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DKeyButtonView.java409 public void setVertical(boolean vertical) { in setVertical() argument
410 mIsVertical = vertical; in setVertical()
/frameworks/base/core/java/android/text/
DStaticLayout.java1186 public int getLineForVertical(int vertical) {
1193 if (lines[mColumns * guess + TOP] > vertical){
DLayout.java1482 public int getLineForVertical(int vertical) { in getLineForVertical() argument
1488 if (getLineTop(guess) > vertical) in getLineForVertical()
/frameworks/base/core/proto/android/service/
Dprint.proto237 // Resolution in vertical orientation
/frameworks/base/core/java/android/app/
DActivityThread.java3462 SparseIntArray vertical = new SparseIntArray(); in reportSizeConfigurations() local
3467 vertical.put(config.screenHeightDp, 0); in reportSizeConfigurations()
3478 horizontal.copyKeys(), vertical.copyKeys(), smallest.copyKeys()); in reportSizeConfigurations()
/frameworks/ml/nn/tools/api/
DNeuralNetworks.t120 * The computation is the same for the horizontal and vertical directions.