Loading packages/SystemUI/res/layout/system_icons.xml +1 −0 Original line number Diff line number Diff line Loading @@ -36,5 +36,6 @@ <com.android.systemui.BatteryMeterView android:id="@+id/battery" android:layout_height="14.5dp" android:layout_width="9.5dp" android:layout_marginBottom="@dimen/battery_margin_bottom" android:layout_marginStart="7dp"/> </LinearLayout> No newline at end of file packages/SystemUI/res/values-hdpi/dimens.xml +7 −0 Original line number Diff line number Diff line Loading @@ -18,4 +18,11 @@ <resources> <!-- Margin on the right side of the system icon group on Keyguard. --> <fraction name="battery_button_height_fraction">10.5%</fraction> <!-- Fraction value to smooth the edges of the battery icon. The path will be inset by this fraction of a pixel.--> <fraction name="battery_subpixel_smoothing_left">20%</fraction> <fraction name="battery_subpixel_smoothing_right">12%</fraction> <dimen name="battery_margin_bottom">1px</dimen> </resources> packages/SystemUI/res/values-mdpi/dimens.xml +7 −0 Original line number Diff line number Diff line Loading @@ -17,4 +17,11 @@ <resources> <!-- Margin on the right side of the system icon group on Keyguard. --> <fraction name="battery_button_height_fraction">12%</fraction> <!-- Fraction value to smooth the edges of the battery icon. The path will be inset by this fraction of a pixel.--> <fraction name="battery_subpixel_smoothing_left">10%</fraction> <fraction name="battery_subpixel_smoothing_right">10%</fraction> <dimen name="battery_margin_bottom">1px</dimen> </resources> packages/SystemUI/res/values-tvdpi/dimens.xml +7 −0 Original line number Diff line number Diff line Loading @@ -17,4 +17,11 @@ <resources> <!-- Margin on the right side of the system icon group on Keyguard. --> <fraction name="battery_button_height_fraction">12%</fraction> <!-- Fraction value to smooth the edges of the battery icon. The path will be inset by this fraction of a pixel.--> <fraction name="battery_subpixel_smoothing_left">10%</fraction> <fraction name="battery_subpixel_smoothing_right">10%</fraction> <dimen name="battery_margin_bottom">1px</dimen> </resources> packages/SystemUI/res/values-xhdpi/dimens.xml 0 → 100644 +27 −0 Original line number Diff line number Diff line <?xml version="1.0" encoding="utf-8"?> <!-- ~ Copyright (C) 2014 The Android Open Source Project ~ ~ Licensed under the Apache License, Version 2.0 (the "License"); ~ you may not use this file except in compliance with the License. ~ You may obtain a copy of the License at ~ ~ http://www.apache.org/licenses/LICENSE-2.0 ~ ~ Unless required by applicable law or agreed to in writing, software ~ distributed under the License is distributed on an "AS IS" BASIS, ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. ~ See the License for the specific language governing permissions and ~ limitations under the License --> <resources> <!-- Fraction value to smooth the edges of the battery icon. The path will be inset by this fraction of a pixel.--> <fraction name="battery_subpixel_smoothing_left">25%</fraction> <fraction name="battery_subpixel_smoothing_right">12.5%</fraction> <dimen name="battery_margin_bottom">0dp</dimen> </resources> Loading
packages/SystemUI/res/layout/system_icons.xml +1 −0 Original line number Diff line number Diff line Loading @@ -36,5 +36,6 @@ <com.android.systemui.BatteryMeterView android:id="@+id/battery" android:layout_height="14.5dp" android:layout_width="9.5dp" android:layout_marginBottom="@dimen/battery_margin_bottom" android:layout_marginStart="7dp"/> </LinearLayout> No newline at end of file
packages/SystemUI/res/values-hdpi/dimens.xml +7 −0 Original line number Diff line number Diff line Loading @@ -18,4 +18,11 @@ <resources> <!-- Margin on the right side of the system icon group on Keyguard. --> <fraction name="battery_button_height_fraction">10.5%</fraction> <!-- Fraction value to smooth the edges of the battery icon. The path will be inset by this fraction of a pixel.--> <fraction name="battery_subpixel_smoothing_left">20%</fraction> <fraction name="battery_subpixel_smoothing_right">12%</fraction> <dimen name="battery_margin_bottom">1px</dimen> </resources>
packages/SystemUI/res/values-mdpi/dimens.xml +7 −0 Original line number Diff line number Diff line Loading @@ -17,4 +17,11 @@ <resources> <!-- Margin on the right side of the system icon group on Keyguard. --> <fraction name="battery_button_height_fraction">12%</fraction> <!-- Fraction value to smooth the edges of the battery icon. The path will be inset by this fraction of a pixel.--> <fraction name="battery_subpixel_smoothing_left">10%</fraction> <fraction name="battery_subpixel_smoothing_right">10%</fraction> <dimen name="battery_margin_bottom">1px</dimen> </resources>
packages/SystemUI/res/values-tvdpi/dimens.xml +7 −0 Original line number Diff line number Diff line Loading @@ -17,4 +17,11 @@ <resources> <!-- Margin on the right side of the system icon group on Keyguard. --> <fraction name="battery_button_height_fraction">12%</fraction> <!-- Fraction value to smooth the edges of the battery icon. The path will be inset by this fraction of a pixel.--> <fraction name="battery_subpixel_smoothing_left">10%</fraction> <fraction name="battery_subpixel_smoothing_right">10%</fraction> <dimen name="battery_margin_bottom">1px</dimen> </resources>
packages/SystemUI/res/values-xhdpi/dimens.xml 0 → 100644 +27 −0 Original line number Diff line number Diff line <?xml version="1.0" encoding="utf-8"?> <!-- ~ Copyright (C) 2014 The Android Open Source Project ~ ~ Licensed under the Apache License, Version 2.0 (the "License"); ~ you may not use this file except in compliance with the License. ~ You may obtain a copy of the License at ~ ~ http://www.apache.org/licenses/LICENSE-2.0 ~ ~ Unless required by applicable law or agreed to in writing, software ~ distributed under the License is distributed on an "AS IS" BASIS, ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. ~ See the License for the specific language governing permissions and ~ limitations under the License --> <resources> <!-- Fraction value to smooth the edges of the battery icon. The path will be inset by this fraction of a pixel.--> <fraction name="battery_subpixel_smoothing_left">25%</fraction> <fraction name="battery_subpixel_smoothing_right">12.5%</fraction> <dimen name="battery_margin_bottom">0dp</dimen> </resources>