OSDN Git Service

Fix 6486099: Fix clipping issues with MultiWaveView on phone/tablet
authorJim Miller <jaggies@google.com>
Sat, 12 May 2012 21:12:03 +0000 (14:12 -0700)
committerJim Miller <jaggies@google.com>
Sat, 12 May 2012 21:23:23 +0000 (14:23 -0700)
commitc6e523ea9bc15f18c9cbf04b05e8d2c90298453f
treec4fdf60dcb485839bd40eb479fab52a7f99703d5
parentd83fdd03a1daaf577d80c8abda86c7c01bf6d3bb
Fix 6486099: Fix clipping issues with MultiWaveView on phone/tablet

This fixes a problem where the bounds of the view weren't being
calculated properly when a separate outer radius was specified.

The code now takes the maximum of the ring drawable's width/height
and that specified in the resource files.

This gives it the best default look on all devices while still
allowing minor tweaks.

Change-Id: I5daa40ff4f14653c8cc89b39102816afb976e4f7
core/java/com/android/internal/widget/multiwaveview/MultiWaveView.java
core/res/res/layout-sw600dp/keyguard_screen_tab_unlock.xml
core/res/res/layout-sw600dp/keyguard_screen_tab_unlock_land.xml
packages/SystemUI/res/layout-land/status_bar_search_panel.xml
packages/SystemUI/res/layout-port/status_bar_search_panel.xml
packages/SystemUI/res/layout-sw600dp/status_bar_search_panel.xml
packages/SystemUI/res/layout-sw720dp/status_bar_search_panel.xml
packages/SystemUI/res/values-sw600dp/dimens.xml
packages/SystemUI/res/values/dimens.xml