/frameworks/base/core/java/android/widget/ |
D | GridLayout.java | 659 static Alignment getAlignment(int gravity, boolean horizontal) { in getAlignment() argument 660 int mask = horizontal ? HORIZONTAL_GRAVITY_MASK : VERTICAL_GRAVITY_MASK; in getAlignment() 661 int shift = horizontal ? AXIS_X_SHIFT : AXIS_Y_SHIFT; in getAlignment() 665 return horizontal ? LEFT : TOP; in getAlignment() 667 return horizontal ? RIGHT : BOTTOM; in getAlignment() 682 private int getDefaultMargin(View c, boolean horizontal, boolean leading) { in getDefaultMargin() argument 689 private int getDefaultMargin(View c, boolean isAtEdge, boolean horizontal, boolean leading) { in getDefaultMargin() argument 690 return /*isAtEdge ? DEFAULT_CONTAINER_MARGIN :*/ getDefaultMargin(c, horizontal, leading); in getDefaultMargin() 693 private int getDefaultMargin(View c, LayoutParams p, boolean horizontal, boolean leading) { in getDefaultMargin() argument 697 Spec spec = horizontal ? p.columnSpec : p.rowSpec; in getDefaultMargin() [all …]
|
D | Editor.java | 2480 private void updateCursorPosition(int top, int bottom, float horizontal) { in updateCursorPosition() argument 2482 final int left = clampHorizontalPosition(mDrawableForCursor, horizontal); in updateCursorPosition() 2499 private int clampHorizontalPosition(@Nullable final Drawable drawable, float horizontal) { in clampHorizontalPosition() argument 2500 horizontal = Math.max(0.5f, horizontal - 0.5f); in clampHorizontalPosition() 2512 float horizontalDiff = horizontal - scrollX; in clampHorizontalPosition() 2523 && horizontal <= 1f)) { in clampHorizontalPosition() 2527 left = (int) horizontal - mTempRect.left; in clampHorizontalPosition() 5203 final float horizontal = getHorizontal(layout, offset); in getCursorHorizontalPosition() local 5204 return clampHorizontalPosition(mDrawableForCursor, horizontal) + mTempRect.left; in getCursorHorizontalPosition()
|
/frameworks/base/media/java/android/media/ |
D | TimedText.java | 162 public Justification(int horizontal, int vertical) { in Justification() argument 163 this.horizontalJustification = horizontal; in Justification() 497 int horizontal = parcel.readInt(); in parseParcel() local 499 mJustification = new Justification(horizontal, vertical); in parseParcel()
|
D | WebVttRenderer.java | 1675 final boolean horizontal = cue.mWritingDirection in CueLayout() 1677 setOrientation(horizontal ? VERTICAL : HORIZONTAL); in CueLayout() 1687 setGravity(horizontal in CueLayout()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | KeyButtonRipple.java | 116 final boolean horizontal = w > h; in drawSoftware() 121 final float rx = horizontal ? radius : cx; in drawSoftware() 122 final float ry = horizontal ? cy : radius; in drawSoftware() 123 final float corner = horizontal ? cy : cx; in drawSoftware()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | AutoScrollHelper.java | 331 public AutoScrollHelper setRelativeVelocity(float horizontal, float vertical) { in setRelativeVelocity() argument 332 mRelativeVelocity[HORIZONTAL] = horizontal / 1000f; in setRelativeVelocity() 371 public AutoScrollHelper setRelativeEdges(float horizontal, float vertical) { in setRelativeEdges() argument 372 mRelativeEdges[HORIZONTAL] = horizontal; in setRelativeEdges()
|
D | RecyclerView.java | 4808 final boolean horizontal = absDx > absDy; in computeScrollDuration() 4811 final int containerSize = horizontal ? getWidth() : getHeight(); in computeScrollDuration() 4821 float absDelta = (float) (horizontal ? absDx : absDy); in computeScrollDuration()
|
/frameworks/base/libs/hwui/utils/ |
D | Blur.h | 38 static void horizontal(float* weights, int32_t radius, const uint8_t* source, uint8_t* dest,
|
D | Blur.cpp | 94 void Blur::horizontal(float* weights, int32_t radius, const uint8_t* source, uint8_t* dest, in horizontal() function in android::uirenderer::Blur
|
/frameworks/base/core/java/android/text/ |
D | Layout.java | 1273 float[] horizontal = new float[end - start + 1]; in getLineHorizontals() local 1274 for (int offset = 0; offset < horizontal.length; ++offset) { in getLineHorizontals() 1275 horizontal[offset] = lineStartPos + wid[offset]; in getLineHorizontals() 1277 return horizontal; in getLineHorizontals() 1554 final HorizontalMeasurementProvider horizontal = in getOffsetForHorizontal() local 1565 float bestdist = Math.abs(horizontal.get(lineStartOffset) - horiz); in getOffsetForHorizontal() 1581 if (horizontal.get(adguess) * swap >= horiz * swap) { in getOffsetForHorizontal() 1595 float dist = Math.abs(horizontal.get(low) - horiz); in getOffsetForHorizontal() 1597 float other = Math.abs(horizontal.get(aft) - horiz); in getOffsetForHorizontal() 1612 float dist = Math.abs(horizontal.get(here) - horiz); in getOffsetForHorizontal() [all …]
|
/frameworks/rs/tests/java_api/Refocus/src/com/android/rs/test/ |
D | luts_for_speedup_f32.rsh | 63 // circle of radius r and a horizontal line of height y.
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | ActivityManagerShellCommand.java | 2796 int maxToTravel, boolean movingForward, boolean horizontal, int delay_ms) 2801 && ((horizontal && taskRect.right < stackRect.right) 2802 ||(!horizontal && taskRect.bottom < stackRect.bottom))) { 2803 if (horizontal) { 2818 && ((horizontal && taskRect.left > stackRect.left) 2819 ||(!horizontal && taskRect.top > stackRect.top))) { 2820 if (horizontal) {
|
/frameworks/base/core/proto/android/service/ |
D | print.proto | 234 // Resolution in horizontal orientation
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | NavigationBarView.java | 887 mHorizontal = findViewById(R.id.horizontal); in updateOrientationViews()
|
/frameworks/base/core/java/android/app/ |
D | ActivityThread.java | 3461 SparseIntArray horizontal = new SparseIntArray(); in reportSizeConfigurations() local 3470 horizontal.put(config.screenWidthDp, 0); in reportSizeConfigurations() 3478 horizontal.copyKeys(), vertical.copyKeys(), smallest.copyKeys()); in reportSizeConfigurations()
|
/frameworks/ml/nn/tools/api/ |
D | NeuralNetworks.t | 120 * The computation is the same for the horizontal and vertical directions.
|
/frameworks/base/non-updatable-api/ |
D | current.txt | 7492 field public static final String HINT_HORIZONTAL = "horizontal";
|
/frameworks/base/api/ |
D | current.txt | 7492 field public static final String HINT_HORIZONTAL = "horizontal";
|
/frameworks/base/config/ |
D | hiddenapi-greylist-max-o.txt | 82199 Landroid/widget/GridLayout$Axis;->horizontal:Z
|