OSDN Git Service

Update pointer hotspots to scale for DPI
authorAlan Viverette <alanv@google.com>
Tue, 2 Sep 2014 17:45:30 +0000 (10:45 -0700)
committerAlan Viverette <alanv@google.com>
Tue, 2 Sep 2014 17:45:30 +0000 (10:45 -0700)
commit376d10e99e7db597fdff8a4e8f396161017c243c
tree30fe16261fee809197f21e50dd9d2d35920b2d40
parentbd6937841983230bd65dc08548367caa7d409238
Update pointer hotspots to scale for DPI

Also updates the bitmap resources, which weren't scaled correctly
for their respective DPI buckets.

BUG: 16459309
Change-Id: Iedc781e2ee47a8b960390fea718cb08bcfb84ae3
20 files changed:
core/java/android/view/PointerIcon.java
core/res/res/drawable-hdpi/pointer_spot_anchor.png
core/res/res/drawable-hdpi/pointer_spot_anchor_icon.xml [deleted file]
core/res/res/drawable-hdpi/pointer_spot_hover.png
core/res/res/drawable-hdpi/pointer_spot_hover_icon.xml [deleted file]
core/res/res/drawable-hdpi/pointer_spot_touch.png
core/res/res/drawable-hdpi/pointer_spot_touch_icon.xml [deleted file]
core/res/res/drawable-mdpi/pointer_arrow_icon.xml [deleted file]
core/res/res/drawable-mdpi/pointer_spot_anchor.png
core/res/res/drawable-mdpi/pointer_spot_hover.png
core/res/res/drawable-mdpi/pointer_spot_touch.png
core/res/res/drawable-xhdpi/pointer_arrow_icon.xml [deleted file]
core/res/res/drawable-xhdpi/pointer_spot_anchor.png
core/res/res/drawable-xhdpi/pointer_spot_hover.png
core/res/res/drawable-xhdpi/pointer_spot_touch.png
core/res/res/drawable/pointer_arrow_icon.xml [moved from core/res/res/drawable-hdpi/pointer_arrow_icon.xml with 73% similarity]
core/res/res/drawable/pointer_spot_anchor_icon.xml [moved from core/res/res/drawable-mdpi/pointer_spot_anchor_icon.xml with 73% similarity]
core/res/res/drawable/pointer_spot_hover_icon.xml [moved from core/res/res/drawable-mdpi/pointer_spot_hover_icon.xml with 73% similarity]
core/res/res/drawable/pointer_spot_touch_icon.xml [moved from core/res/res/drawable-mdpi/pointer_spot_touch_icon.xml with 73% similarity]
core/res/res/values/attrs.xml