Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit fd648d30 authored by Jay Aliomer's avatar Jay Aliomer Committed by Android (Google) Code Review
Browse files

Merge "Fixing stroked qs tile" into rvc-d1-dev-plus-aosp

parents 1d616e7d fdd73ffb
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -559,6 +559,10 @@

    <dimen name="resolver_max_width">480dp</dimen>

    <!-- Tile Stroke width -->
    <dimen name="config_qsTileStrokeWidthActive">-1dp</dimen>
    <dimen name="config_qsTileStrokeWidthInactive">-1dp</dimen>

    <!-- Amount to reduce the size of the circular mask by (to compensate for
         aliasing effects). This is only used on circular displays. -->
    <dimen name="circular_display_mask_thickness">1px</dimen>
+2 −0
Original line number Diff line number Diff line
@@ -361,6 +361,8 @@
  <java-symbol type="bool" name="config_disableUsbPermissionDialogs"/>
  <java-symbol type="dimen" name="config_highResTaskSnapshotScale" />
  <java-symbol type="dimen" name="config_lowResTaskSnapshotScale" />
  <java-symbol type="dimen" name="config_qsTileStrokeWidthInactive" />
  <java-symbol type="dimen" name="config_qsTileStrokeWidthActive" />
  <java-symbol type="bool" name="config_use16BitTaskSnapshotPixelFormat" />
  <java-symbol type="bool" name="config_hasRecents" />
  <java-symbol type="string" name="config_recentsComponentName" />
+2 −2
Original line number Diff line number Diff line
@@ -88,9 +88,9 @@ public class QSTileBaseView extends com.android.systemui.plugins.qs.QSTileView {
        int padding = context.getResources().getDimensionPixelSize(R.dimen.qs_quick_tile_padding);
        mIconFrame = new FrameLayout(context);
        mStrokeWidthActive = context.getResources()
                .getDimension(R.dimen.config_qsTileStrokeWidthActive);
                .getDimension(com.android.internal.R.dimen.config_qsTileStrokeWidthActive);
        mStrokeWidthInactive = context.getResources()
                .getDimension(R.dimen.config_qsTileStrokeWidthInactive);
                .getDimension(com.android.internal.R.dimen.config_qsTileStrokeWidthInactive);
        int size = context.getResources().getDimensionPixelSize(R.dimen.qs_quick_tile_size);
        addView(mIconFrame, new LayoutParams(size, size));
        mBg = new ImageView(getContext());
+1 −2
Original line number Diff line number Diff line
@@ -24,6 +24,5 @@
    <!-- Corner radius for bottom sheet system dialogs -->
    <dimen name="config_bottomDialogCornerRadius">0dp</dimen>
    <!-- Tile stroke width -->
    <dimen name="config_qsTileStrokeWidthInactive">10dp</dimen>

    <dimen name="config_qsTileStrokeWidthInactive">1dp</dimen>
</resources>