summaryrefslogtreecommitdiffstats
path: root/packages/SystemUI/res/values-xxhdpi
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-xxhdpi
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-xxhdpi')
-rw-r--r--packages/SystemUI/res/values-xxhdpi/dimens.xml25
1 files changed, 25 insertions, 0 deletions
diff --git a/packages/SystemUI/res/values-xxhdpi/dimens.xml b/packages/SystemUI/res/values-xxhdpi/dimens.xml
new file mode 100644
index 0000000..26c8437
--- /dev/null
+++ b/packages/SystemUI/res/values-xxhdpi/dimens.xml
@@ -0,0 +1,25 @@
+<?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">33%</fraction>
+ <fraction name="battery_subpixel_smoothing_right">33%</fraction>
+</resources>