Home
last modified time | relevance | path

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

/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DSysUiOverlay.java37 Path corner = new Path(); in createCornerPath() local
38 corner.moveTo(0, 0); in createCornerPath()
39 corner.lineTo(width, 0); in createCornerPath()
40 corner.cubicTo(width, 0, width /2 - r, height /2 - r, 0, height); in createCornerPath()
41 corner.close(); in createCornerPath()
43 return corner; in createCornerPath()
47 Path corner = new Path(); in createNotchPath() local
48 corner.moveTo(0, 0); in createNotchPath()
50 corner.lineTo(topWidth, 0); in createNotchPath()
51 corner.lineTo(topWidth - widthDiff/2, height); in createNotchPath()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/events/
DPrivacyDotViewController.kt123 val corner = selectDesignatedCorner(nextViewState.rotation, isRtl) in <lambda>() constant
126 designatedCorner = corner in <lambda>()
235 views.forEach { corner -> in <lambda>() method
236 corner.setPadding(0, paddingTop, 0, 0) in <lambda>()
238 val rotatedCorner = rotatedCorner(cornerForView(corner), rotation) in <lambda>()
239 (corner.layoutParams as FrameLayout.LayoutParams).apply { in <lambda>()
244 (corner.requireViewById<View>(R.id.privacy_dot) in <lambda>()
252 views.forEach { corner -> in <lambda>() method
253 val rotatedCorner = rotatedCorner(cornerForView(corner), rotation) in <lambda>()
255 (corner.layoutParams as FrameLayout.LayoutParams).width = w in <lambda>()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/assist/ui/
DPerimeterPathGuide.java195 private int getPhysicalCornerRadius(CircularCornerPathRenderer.Corner corner) { in getPhysicalCornerRadius() argument
196 if (corner == CircularCornerPathRenderer.Corner.BOTTOM_LEFT in getPhysicalCornerRadius()
197 || corner == CircularCornerPathRenderer.Corner.BOTTOM_RIGHT) { in getPhysicalCornerRadius()
300 int corner = screenCorner.ordinal(); in getRotatedCorner() local
303 corner += 3; in getRotatedCorner()
306 corner += 2; in getRotatedCorner()
309 corner += 1; in getRotatedCorner()
312 return CircularCornerPathRenderer.Corner.values()[corner % 4]; in getRotatedCorner()
DCircularCornerPathRenderer.java41 public Path getCornerPath(Corner corner) { in getCornerPath() argument
43 switch (corner) { in getCornerPath()
DCornerPathRenderer.java49 public Path getInsetPath(Corner corner, float insetAmountPx) { in getInsetPath() argument
50 return approximateInnerPath(getCornerPath(corner), -insetAmountPx); in getInsetPath()
58 public abstract Path getCornerPath(Corner corner); in getCornerPath() argument
DPathSpecCornerPathRenderer.java79 public Path getCornerPath(Corner corner) { in getCornerPath() argument
87 switch (corner) { in getCornerPath()
/frameworks/base/tests/FlickerTests/test-apps/app-helpers/src/com/android/server/wm/flicker/helpers/
DDesktopModeAppHelper.kt138 corner: Corners, in <lambda>()
143 val (startX, startY) = getStartCoordinatesForCornerResize(windowRect, corner) in <lambda>()
159 corner: Corners in <lambda>()
161 return when (corner) { in <lambda>()
/frameworks/layoutlib/bridge/tests/res/testApp/MyApplication/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/android/layoutlib/test/myapplication/
DR$drawable.class ... avd_color_interpolator public static final int clipped_even_odd public static final int corner public static final int gradient public static final int headset ...
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/split/
DSplitLayout.java176 RoundedCorner corner = display.getRoundedCorner(RoundedCorner.POSITION_TOP_LEFT); in updateDividerConfig() local
177 radius = corner != null ? Math.max(radius, corner.getRadius()) : radius; in updateDividerConfig()
178 corner = display.getRoundedCorner(RoundedCorner.POSITION_TOP_RIGHT); in updateDividerConfig()
179 radius = corner != null ? Math.max(radius, corner.getRadius()) : radius; in updateDividerConfig()
180 corner = display.getRoundedCorner(RoundedCorner.POSITION_BOTTOM_RIGHT); in updateDividerConfig()
181 radius = corner != null ? Math.max(radius, corner.getRadius()) : radius; in updateDividerConfig()
182 corner = display.getRoundedCorner(RoundedCorner.POSITION_BOTTOM_LEFT); in updateDividerConfig()
183 radius = corner != null ? Math.max(radius, corner.getRadius()) : radius; in updateDividerConfig()
/frameworks/proto_logging/stats/atoms/desktopmode/
Ddesktopmode_extensions_atoms.proto100 // the x-coordinate of the top-left corner
102 // the y-coordinate of the top-right corner
/frameworks/base/core/java/android/inputmethodservice/navigationbar/
DKeyButtonRipple.java140 final float corner = horizontal ? cy : cx; in drawSoftware() local
143 canvas.drawRoundRect(cx - rx, cy - ry, cx + rx, cy + ry, corner, corner, p); in drawSoftware()
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/navigationbar/
DKeyButtonRipple.java159 final float corner = horizontal ? cy : cx; in drawSoftware() local
162 canvas.drawRoundRect(cx - rx, cy - ry, cx + rx, cy + ry, corner, corner, p); in drawSoftware()
/frameworks/rs/tests/java_api/Refocus/src/com/android/rs/test/
Dlayered_filter_f32_helper.rsh79 // Locates the top left corner of the window surrounding this pixel.
127 // Locates the top left corner of the window surrounding this pixel.
164 // Locates the top left corner of the window surrounding this pixel.
Dlayered_filter_d1new_helper.rsh139 // Locates the top left corner of the window surrounding this pixel.
190 // Locates the top left corner index of the window surrounding this pixel.
225 // Locates the top left corner of the window surrounding this pixel.
Dlayered_filter_fast_d1new.rscript159 // Moves sharp_nbr to the top left corner of this pixel.
219 // Moves sharp_nbr to the top left corner of this pixel.
Dlayered_filter_fast_f32.rscript180 // Moves sharp_nbr to the top left corner of this pixel.
/frameworks/base/services/core/java/com/android/server/wm/
DLetterboxUiController.java1554 RoundedCorner corner = insetsState.getRoundedCorners().getRoundedCorner(position); in getInsetsStateCornerRadius() local
1555 return corner == null ? 0 : corner.getRadius(); in getInsetsStateCornerRadius()
/frameworks/base/cmds/bootanimation/
DFORMAT.md69 * `-32 32` will position the text such that the bottom right corner is 32 pixels above
/frameworks/rs/script_api/
Drs_matrix.spec316 with a corner at <code>(-1, -1, -1)</code> and the opposite at <code>(1, 1, 1)</code>.
/frameworks/base/packages/SystemUI/aconfig/
Dsystemui.aconfig1006 …description: "Fixes an issue where the privacy dot is at the wrong corner after unfolding/folding."
/frameworks/rs/script_api/include/
Drs_matrix.rsh333 * with a corner at (-1, -1, -1) and the opposite at (1, 1, 1).
/frameworks/base/packages/SystemUI/docs/
Dscene.md88 *(a)* look for the sash/ribbon UI at the bottom-right corner of the display: