diff options
author | Jorim Jaggi <jjaggi@google.com> | 2014-12-19 19:26:06 +0100 |
---|---|---|
committer | Jorim Jaggi <jjaggi@google.com> | 2015-01-07 15:00:16 +0100 |
commit | a29e81bc7f14ce9df1afb5aa5f7d571a3b441aca (patch) | |
tree | 80738d9d0750e035427655ac0a4961d884d67063 /packages/Keyguard/res/values | |
parent | 5c60b647047f744b78f9ae1b1984a654edbda2c6 (diff) | |
download | frameworks_base-a29e81bc7f14ce9df1afb5aa5f7d571a3b441aca.zip frameworks_base-a29e81bc7f14ce9df1afb5aa5f7d571a3b441aca.tar.gz frameworks_base-a29e81bc7f14ce9df1afb5aa5f7d571a3b441aca.tar.bz2 |
Remove dead code #2: Remove unused Keyguard resources
Change-Id: If5e2b62556e6ee158e09e399c7ddec337dba15d5
Diffstat (limited to 'packages/Keyguard/res/values')
-rw-r--r-- | packages/Keyguard/res/values/alias.xml | 12 | ||||
-rw-r--r-- | packages/Keyguard/res/values/attrs.xml | 108 | ||||
-rw-r--r-- | packages/Keyguard/res/values/bools.xml | 3 | ||||
-rw-r--r-- | packages/Keyguard/res/values/colors.xml | 9 | ||||
-rw-r--r-- | packages/Keyguard/res/values/config.xml | 7 | ||||
-rw-r--r-- | packages/Keyguard/res/values/dimens.xml | 121 | ||||
-rw-r--r-- | packages/Keyguard/res/values/integers.xml | 22 | ||||
-rw-r--r-- | packages/Keyguard/res/values/styles.xml | 27 |
8 files changed, 4 insertions, 305 deletions
diff --git a/packages/Keyguard/res/values/alias.xml b/packages/Keyguard/res/values/alias.xml index 09e9591..f06b450 100644 --- a/packages/Keyguard/res/values/alias.xml +++ b/packages/Keyguard/res/values/alias.xml @@ -22,18 +22,6 @@ <!-- Alias used to reference framework color for transparency. --> <item type="color" name="transparent">@android:color/transparent</item> - <!-- Alias used to reference framework drawable in keyguard. --> - <item type="drawable" name="stat_sys_warning">@android:drawable/stat_sys_warning</item> - - <!-- Alias used to reference framework drawable in keyguard. --> - <item type="drawable" name="ic_media_pause">@android:drawable/ic_media_pause</item> - - <!-- Alias used to reference framework drawable in keyguard. --> - <item type="drawable" name="ic_media_stop">@*android:drawable/ic_media_stop</item> - - <!-- Alias used to reference framework drawable in keyguard. --> - <item type="drawable" name="ic_contact_picture">@*android:drawable/ic_contact_picture</item> - <!-- Alias used to reference framework "OK" string in keyguard. --> <item type="string" name="ok">@*android:string/ok</item> diff --git a/packages/Keyguard/res/values/attrs.xml b/packages/Keyguard/res/values/attrs.xml index 9100140..96a5bcc 100644 --- a/packages/Keyguard/res/values/attrs.xml +++ b/packages/Keyguard/res/values/attrs.xml @@ -20,113 +20,9 @@ --> <resources> - <!-- Standard gravity constant that a child supplies to its parent. - Defines how the child view should be positioned, on both the X and Y axes, within its enclosing layout. --> - <attr name="layout_gravity"> - <!-- Push object to the top of its container, not changing its size. --> - <flag name="top" value="0x30" /> - <!-- Push object to the bottom of its container, not changing its size. --> - <flag name="bottom" value="0x50" /> - <!-- Push object to the left of its container, not changing its size. --> - <flag name="left" value="0x03" /> - <!-- Push object to the right of its container, not changing its size. --> - <flag name="right" value="0x05" /> - <!-- Place object in the vertical center of its container, not changing its size. --> - <flag name="center_vertical" value="0x10" /> - <!-- Grow the vertical size of the object if needed so it completely fills its container. --> - <flag name="fill_vertical" value="0x70" /> - <!-- Place object in the horizontal center of its container, not changing its size. --> - <flag name="center_horizontal" value="0x01" /> - <!-- Grow the horizontal size of the object if needed so it completely fills its container. --> - <flag name="fill_horizontal" value="0x07" /> - <!-- Place the object in the center of its container in both the vertical and horizontal axis, not changing its size. --> - <flag name="center" value="0x11" /> - <!-- Grow the horizontal and vertical size of the object if needed so it completely fills its container. --> - <flag name="fill" value="0x77" /> - <!-- Additional option that can be set to have the top and/or bottom edges of - the child clipped to its container's bounds. - The clip will be based on the vertical gravity: a top gravity will clip the bottom - edge, a bottom gravity will clip the top edge, and neither will clip both edges. --> - <flag name="clip_vertical" value="0x80" /> - <!-- Additional option that can be set to have the left and/or right edges of - the child clipped to its container's bounds. - The clip will be based on the horizontal gravity: a left gravity will clip the right - edge, a right gravity will clip the left edge, and neither will clip both edges. --> - <flag name="clip_horizontal" value="0x08" /> - <!-- Push object to the beginning of its container, not changing its size. --> - <flag name="start" value="0x00800003" /> - <!-- Push object to the end of its container, not changing its size. --> - <flag name="end" value="0x00800005" /> - </attr> - - - <!-- PagedView specific attributes. These attributes are used to customize - a PagedView view in XML files. --> - <declare-styleable name="PagedView"> - <!-- The space between adjacent pages of the PagedView. --> - <attr name="pageSpacing" format="dimension" /> - <!-- The padding for the scroll indicator area --> - <attr name="scrollIndicatorPaddingLeft" format="dimension" /> - <attr name="scrollIndicatorPaddingRight" format="dimension" /> - </declare-styleable> - - <declare-styleable name="KeyguardGlowStripView"> - <attr name="dotSize" format="dimension" /> - <attr name="numDots" format="integer" /> - <attr name="glowDot" format="reference" /> - <attr name="leftToRight" format="boolean" /> - </declare-styleable> - - <!-- Some child types have special behavior. --> - <attr name="layout_childType"> - <!-- No special behavior. Layout will proceed as normal. --> - <enum name="none" value="0" /> - <!-- Widget container. - This will be resized in response to certain events. --> - <enum name="widget" value="1" /> - <!-- Security challenge container. - This will be dismissed/shown in response to certain events, - possibly obscuring widget elements. --> - <enum name="challenge" value="2" /> - <!-- User switcher. - This will consume space from the total layout area. --> - <enum name="userSwitcher" value="3" /> - <!-- Scrim. This will block access to child views that - come before it in the child list in bouncer mode. --> - <enum name="scrim" value="4" /> - <!-- The home for widgets. All widgets will be descendents of this. --> - <enum name="widgets" value="5" /> - <!-- This is a handle that is used for expanding the - security challenge container when it is collapsed. --> - <enum name="expandChallengeHandle" value="6" /> - <!-- Delete drop target. This will be the drop target to delete pages. --> - <enum name="pageDeleteDropTarget" value="7" /> - </attr> - - <declare-styleable name="SlidingChallengeLayout_Layout"> - <attr name="layout_childType" /> - <attr name="layout_maxHeight" format="dimension" /> - </declare-styleable> - - <declare-styleable name="MultiPaneChallengeLayout"> - <!-- Influences how layout_centerWithinArea behaves --> - <attr name="android:orientation" /> - </declare-styleable> - - <declare-styleable name="MultiPaneChallengeLayout_Layout"> - <!-- Percentage of the screen this child should consume or center within. - If 0/default, the view will be measured by standard rules - as if this were a FrameLayout. --> - <attr name="layout_centerWithinArea" format="float" /> - <attr name="layout_childType" /> - <attr name="layout_gravity" /> - <attr name="layout_maxWidth" format="dimension" /> - <attr name="layout_maxHeight" /> - </declare-styleable> - <declare-styleable name="KeyguardSecurityViewFlipper_Layout"> - <attr name="layout_maxWidth" /> - <attr name="layout_maxHeight" /> + <attr name="layout_maxWidth" format="dimension"/> + <attr name="layout_maxHeight" format="dimension" /> </declare-styleable> <declare-styleable name="NumPadKey"> diff --git a/packages/Keyguard/res/values/bools.xml b/packages/Keyguard/res/values/bools.xml index 5e842d7..2b83787 100644 --- a/packages/Keyguard/res/values/bools.xml +++ b/packages/Keyguard/res/values/bools.xml @@ -15,9 +15,6 @@ --> <resources> - <bool name="kg_enable_camera_default_widget">true</bool> - <bool name="kg_center_small_widgets_vertically">false</bool> - <bool name="kg_top_align_page_shrink_on_bouncer_visible">true</bool> <bool name="kg_show_ime_at_screen_on">true</bool> <bool name="kg_use_all_caps">true</bool> </resources> diff --git a/packages/Keyguard/res/values/colors.xml b/packages/Keyguard/res/values/colors.xml index 4e28eff..3b741ea 100644 --- a/packages/Keyguard/res/values/colors.xml +++ b/packages/Keyguard/res/values/colors.xml @@ -14,15 +14,6 @@ limitations under the License. --> <resources> - <!-- Keyguard colors --> - <color name="keyguard_avatar_frame_color">#ffffffff</color> - <color name="keyguard_avatar_frame_shadow_color">#80000000</color> - <color name="keyguard_avatar_nick_color">#ffffffff</color> - <color name="keyguard_avatar_frame_pressed_color">#ff35b5e5</color> - <color name="kg_widget_pager_gradient">#ffffffff</color> - - <!-- FaceLock --> - <color name="facelock_spotlight_mask">#CC000000</color> <!-- Clock --> <color name="clock_white">#ffffffff</color> diff --git a/packages/Keyguard/res/values/config.xml b/packages/Keyguard/res/values/config.xml index de17c4b..8d9d6ee 100644 --- a/packages/Keyguard/res/values/config.xml +++ b/packages/Keyguard/res/values/config.xml @@ -20,13 +20,6 @@ <!-- These resources are around just to allow their values to be customized --> <resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> - <!-- Package name for default keyguard appwidget [DO NOT TRANSLATE] --> - <string name="widget_default_package_name"></string> - - <!-- Class name for default keyguard appwidget [DO NOT TRANSLATE] --> - <string name="widget_default_class_name"></string> - <!-- Allow the menu hard key to be disabled in LockScreen on some devices [DO NOT TRANSLATE] --> <bool name="config_disableMenuKeyInLockScreen">false</bool> - </resources> diff --git a/packages/Keyguard/res/values/dimens.xml b/packages/Keyguard/res/values/dimens.xml index 8326d75..9290236 100644 --- a/packages/Keyguard/res/values/dimens.xml +++ b/packages/Keyguard/res/values/dimens.xml @@ -18,101 +18,10 @@ */ --> <resources> - <!-- Size of lockscreen outerring on unsecure unlock LockScreen --> - <dimen name="keyguard_lockscreen_outerring_diameter">270dp</dimen> - - <!-- The bottom margin for the GlowPadView container --> - <dimen name="glowpadcontainer_bottom_margin">-80dp</dimen> - - <!-- Default target placement radius for GlowPadView. Should be 1/2 of outerring diameter. --> - <dimen name="glowpadview_target_placement_radius">135dip</dimen> - - <!-- Default glow radius for GlowPadView --> - <dimen name="glowpadview_glow_radius">75dip</dimen> - - <!-- Default distance beyond which GlowPadView snaps to the matching target --> - <dimen name="glowpadview_snap_margin">40dip</dimen> - - <!-- Default distance from each snap target that GlowPadView considers a "hit" --> - <dimen name="glowpadview_inner_radius">15dip</dimen> - - <!-- Size of status line font on Unsecure unlock LockScreen. --> - <dimen name="keyguard_lockscreen_status_line_font_size">14dip</dimen> - - <!-- Size of right margin on Unsecure unlock LockScreen --> - <dimen name="keyguard_lockscreen_status_line_font_right_margin">42dip</dimen> - - <!-- Size of top margin on Clock font to edge on unlock LockScreen --> - <dimen name="keyguard_lockscreen_status_line_clockfont_top_margin">22dip</dimen> - - <!-- Size of top margin on Clock font to edge on unlock LockScreen --> - <dimen name="keyguard_lockscreen_status_line_clockfont_bottom_margin">12dip</dimen> - - <!-- Padding on left margin of PIN text entry field to center it when del button is showing --> - <dimen name="keyguard_lockscreen_pin_margin_left">40dip</dimen> - - <!-- Height of FaceUnlock view in keyguard --> - <dimen name="face_unlock_height">330dip</dimen> - - <!-- Keyguard dimensions --> - <!-- TEMP --> - <dimen name="kg_security_panel_height">600dp</dimen> - - <!-- Height of security view in keyguard. --> - <dimen name="kg_security_view_height">480dp</dimen> - - <!-- Width of widget view in keyguard. --> - <dimen name="kg_widget_view_width">0dp</dimen> - - <!-- Height of widget view in keyguard. --> - <dimen name="kg_widget_view_height">0dp</dimen> - - <!-- Size of the clock font in keyguard's status view --> - <dimen name="kg_status_clock_font_size">75dp</dimen> <!-- Size of the generic status lines keyguard's status view --> <dimen name="kg_status_line_font_size">14sp</dimen> - <!-- Size of margin on the right of keyguard's status view --> - <dimen name="kg_status_line_font_right_margin">16dp</dimen> - - <!-- Top margin for the clock view --> - <dimen name="kg_clock_top_margin">-16dp</dimen> - - <!-- Horizontal gap between keys in PIN and SIM PIN numeric keyboards in keyguard --> - <dimen name="kg_key_horizontal_gap">0dp</dimen> - - <!-- Horizontal gap between keys in PIN and SIM PIN numeric keyboards in keyguard --> - <dimen name="kg_key_vertical_gap">0dp</dimen> - - <!-- Horizontal gap between keys in PIN and SIM PIN numeric keyboards in keyguard --> - <dimen name="kg_pin_key_height">60dp</dimen> - - <!-- Space reserved at the bottom of secure views (pin/pattern/password/SIM pin/SIM puk) --> - <dimen name="kg_secure_padding_height">46dp</dimen> - - <!-- The height of the runway lights strip --> - <dimen name="kg_runway_lights_height">7dp</dimen> - - <!-- The height of the runway lights strip --> - <dimen name="kg_runway_lights_vertical_padding">2dp</dimen> - - <!-- Horizontal padding for the widget pager --> - <dimen name="kg_widget_pager_horizontal_padding">16dp</dimen> - - <!-- Top padding for the widget pager --> - <dimen name="kg_widget_pager_top_padding">0dp</dimen> - - <!-- Bottom padding for the widget pager --> - <dimen name="kg_widget_pager_bottom_padding">64dp</dimen> - - <!-- Top margin for the runway lights. We add a negative margin in large - devices to account for the widget pager padding --> - <dimen name="kg_runway_lights_top_margin">0dp</dimen> - - <!-- Touch slop for the global toggle accessibility gesture --> - <dimen name="accessibility_touch_slop">80dip</dimen> - <!-- Width of the sliding KeyguardSecurityContainer (includes 2x keyguard_security_view_margin) --> <dimen name="keyguard_security_width">320dp</dimen> @@ -125,44 +34,14 @@ <!-- Margin around the various security views --> <dimen name="keyguard_security_view_margin">8dp</dimen> - <!-- Margin around the various security views --> - <dimen name="keyguard_muliuser_selector_margin">8dp</dimen> - - <!-- Stroke width of the frame for the circular avatars. --> - <dimen name="keyguard_avatar_frame_stroke_width">2dp</dimen> - - <!-- Shadow radius under the frame for the circular avatars. --> - <dimen name="keyguard_avatar_frame_shadow_radius">1dp</dimen> - - <!-- Size of the avator on hte multiuser lockscreen. --> - <dimen name="keyguard_avatar_size">66dp</dimen> - - <!-- Size of the text under the avator on the multiuser lockscreen. --> - <dimen name="keyguard_avatar_name_size">10sp</dimen> - - <!-- Size of the region along the edge of the screen that will accept - swipes to scroll the widget area. --> - <dimen name="kg_edge_swipe_region_size">24dp</dimen> - - <!-- If the height if keyguard drops below this threshold (most likely - due to the appearance of the IME), then drop the multiuser selector. --> - <dimen name="kg_squashed_layout_threshold">600dp</dimen> - - <!-- The height of widgets which do not support vertical resizing. This is only - used on tablets; on phones, this size is determined by the space left by the - security mode. --> - <dimen name="kg_small_widget_height">160dp</dimen> - <!-- EmergencyCarrierArea overlap - amount to overlap the emergency button and carrier text. Should be 0 on devices with plenty of room (e.g. tablets) --> <dimen name="eca_overlap">-10dip</dimen> <!-- Default clock parameters --> <dimen name="bottom_text_spacing_digital">-10dp</dimen> - <dimen name="label_font_size">14dp</dimen> <dimen name="widget_label_font_size">16sp</dimen> <dimen name="widget_big_font_size">88dp</dimen> - <dimen name="big_font_size">120dp</dimen> <!-- The y translation to apply at the start in appear animations. --> <dimen name="appear_y_translation_start">32dp</dimen> diff --git a/packages/Keyguard/res/values/integers.xml b/packages/Keyguard/res/values/integers.xml deleted file mode 100644 index dc90bbf..0000000 --- a/packages/Keyguard/res/values/integers.xml +++ /dev/null @@ -1,22 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!-- -/* -** Copyright 2012, 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> - <integer name="kg_carousel_angle">75</integer> - <integer name="kg_glowpad_rotation_offset">0</integer> -</resources> diff --git a/packages/Keyguard/res/values/styles.xml b/packages/Keyguard/res/values/styles.xml index 7d161af..404a17e 100644 --- a/packages/Keyguard/res/values/styles.xml +++ b/packages/Keyguard/res/values/styles.xml @@ -35,36 +35,13 @@ <item name="android:paddingBottom">0dp</item> </style> - <!-- Standard animations for a non-full-screen window or activity. --> - <style name="Animation.LockScreen" parent="@android:style/Animation"> - <item name="android:windowEnterAnimation">@anim/lock_screen_enter</item> - <item name="android:windowExitAnimation">@anim/lock_screen_exit</item> - </style> - <!-- Built-in clock widget stuff --> <style name="widget_label"> <item name="android:textSize">@dimen/widget_label_font_size</item> </style> - <style name="big_thin"> - <item name="android:textSize">@dimen/big_font_size</item> - <item name="android:fontFamily">sans-serif-thin</item> - </style> - <style name="widget_big_thin" parent="big_thin"> + <style name="widget_big_thin"> <item name="android:textSize">@dimen/widget_big_font_size</item> - </style> - - <style name="Widget.TransportControl.SeekBar" parent="@android:style/Widget.DeviceDefault.Light.SeekBar"> - <item name="android:indeterminateOnly">false</item> - <item name="android:progressDrawable">@drawable/scrubber_progress_horizontal_holo_light</item> - <item name="android:indeterminateDrawable">@drawable/scrubber_progress_horizontal_holo_light</item> - <item name="android:minHeight">13dip</item> - <item name="android:maxHeight">13dip</item> - <item name="android:thumb">@drawable/scrubber_control_selector_holo</item> - <item name="android:thumbOffset">16dip</item> - <item name="android:focusable">true</item> - <item name="android:paddingStart">16dip</item> - <item name="android:paddingEnd">16dip</item> - <item name="android:mirrorForRtl">true</item> + <item name="android:fontFamily">sans-serif-thin</item> </style> <style name="BouncerSecurityContainer"> |