/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
D | SysUiOverlay.java | 37 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/ |
D | PrivacyDotViewController.kt | 110 val corner = selectDesignatedCorner(nextViewState.rotation, isRtl) in <lambda>() constant 113 designatedCorner = corner in <lambda>() 225 views.forEach { corner -> in <lambda>() method 226 val rotatedCorner = rotatedCorner(cornerForView(corner), rotation) in <lambda>() 227 (corner.layoutParams as FrameLayout.LayoutParams).apply { in <lambda>() 232 (corner.findViewById<View>(R.id.privacy_dot) in <lambda>() 240 views.forEach { corner -> in <lambda>() method 241 val rotatedCorner = rotatedCorner(cornerForView(corner), rotation) in <lambda>() 243 (corner.layoutParams as FrameLayout.LayoutParams).width = w in <lambda>() 345 views.forEach { corner -> in <lambda>() method [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/assist/ui/ |
D | PerimeterPathGuide.java | 195 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()
|
D | CircularCornerPathRenderer.java | 41 public Path getCornerPath(Corner corner) { in getCornerPath() argument 43 switch (corner) { in getCornerPath()
|
D | CornerPathRenderer.java | 49 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
|
D | PathSpecCornerPathRenderer.java | 79 public Path getCornerPath(Corner corner) { in getCornerPath() argument 87 switch (corner) { in getCornerPath()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/navigationbar/buttons/ |
D | KeyButtonRipple.java | 129 final float corner = horizontal ? cy : cx; in drawSoftware() local 132 canvas.drawRoundRect(cx - rx, cy - ry, cx + rx, cy + ry, corner, corner, p); in drawSoftware()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | ScreenDecorations.java | 748 private void setRoundedCornerOrientation(View corner, int gravity) { in setRoundedCornerOrientation() argument 749 corner.setRotation(0); in setRoundedCornerOrientation() 750 corner.setScaleX(1); in setRoundedCornerOrientation() 751 corner.setScaleY(1); in setRoundedCornerOrientation() 756 corner.setScaleX(-1); // flip X axis in setRoundedCornerOrientation() 759 corner.setScaleY(-1); // flip Y axis in setRoundedCornerOrientation() 762 corner.setRotation(180); in setRoundedCornerOrientation()
|
/frameworks/rs/tests/java_api/Refocus/src/com/android/rs/test/ |
D | layered_filter_f32_helper.rsh | 79 // 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.
|
D | layered_filter_d1new_helper.rsh | 139 // 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.
|
D | layered_filter_fast_d1new.rscript | 159 // Moves sharp_nbr to the top left corner of this pixel. 219 // Moves sharp_nbr to the top left corner of this pixel.
|
D | layered_filter_fast_f32.rscript | 180 // Moves sharp_nbr to the top left corner of this pixel.
|
/frameworks/native/services/surfaceflinger/layerproto/ |
D | layers.proto | 103 // Layer's corner radius. 115 // Crop used to draw the rounded corner.
|
/frameworks/base/cmds/bootanimation/ |
D | FORMAT.md | 67 * `-32 32` will position the text such that the bottom right corner is 32 pixels above
|
/frameworks/rs/script_api/ |
D | rs_matrix.spec | 316 with a corner at <code>(-1, -1, -1)</code> and the opposite at <code>(1, 1, 1)</code>.
|
/frameworks/rs/script_api/include/ |
D | rs_matrix.rsh | 333 * with a corner at (-1, -1, -1) and the opposite at (1, 1, 1).
|