summaryrefslogtreecommitdiffstats
path: root/packages/SystemUI/res/values-hdpi
diff options
context:
space:
mode:
authorJorim Jaggi <jjaggi@google.com>2014-09-03 16:29:39 +0200
committerJorim Jaggi <jjaggi@google.com>2014-09-03 16:37:06 +0200
commita0221f3a9fb8014b24954a5a59e1e001e4a2619f (patch)
treef96e674df60ef0f93e212f2a391dfe1e2ac0c4ef /packages/SystemUI/res/values-hdpi
parent6e31e0f3d1ca8579e75ee1cfe4ac7c30c525f946 (diff)
downloadframeworks_base-a0221f3a9fb8014b24954a5a59e1e001e4a2619f.zip
frameworks_base-a0221f3a9fb8014b24954a5a59e1e001e4a2619f.tar.gz
frameworks_base-a0221f3a9fb8014b24954a5a59e1e001e4a2619f.tar.bz2
Improve subpixel rendering of battery icon on all densities
Bug: 16161255 Change-Id: I97abc6a7a5cafb581e3f7c3d7509fdbf6d8542d5
Diffstat (limited to 'packages/SystemUI/res/values-hdpi')
-rw-r--r--packages/SystemUI/res/values-hdpi/dimens.xml7
1 files changed, 7 insertions, 0 deletions
diff --git a/packages/SystemUI/res/values-hdpi/dimens.xml b/packages/SystemUI/res/values-hdpi/dimens.xml
index 799619f..10b00eb 100644
--- a/packages/SystemUI/res/values-hdpi/dimens.xml
+++ b/packages/SystemUI/res/values-hdpi/dimens.xml
@@ -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>