- 20fps improvement using software rendering - 10fps improvement using hardware rendering - in sw mode, rendering recents background in the recent items themselves and using a bitmap cache to draw individual items (gives perf gains for sw mode) - in sw and hw mode, no longer doing a fade on the recents scroll view (gives perf gains for hw mode) - instead we draw a black gradient where we would normally fade - fading recents & notifications immediately when swiped - removing unused code Change-Id: I908e2a25b89c9dfbf9b8c8f3810fa43064261b33
38 lines
1.7 KiB
XML
38 lines
1.7 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!--
|
|
* Copyright (c) 2011, 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>
|
|
<!-- thickness (width) of the navigation bar on phones that require it -->
|
|
<dimen name="navigation_bar_size">@*android:dimen/navigation_bar_width</dimen>
|
|
|
|
<!-- Recent Applications parameters -->
|
|
<!-- How far the thumbnail for a recent app appears from left edge -->
|
|
<dimen name="status_bar_recents_thumbnail_left_margin">8dp</dimen>
|
|
<!-- How far the thumbnail for a recent app appears from top edge -->
|
|
<dimen name="status_bar_recents_thumbnail_top_margin">12dp</dimen>
|
|
<!-- Width of scrollable area in recents -->
|
|
<dimen name="status_bar_recents_width">128dp</dimen>
|
|
<!-- Padding for text descriptions -->
|
|
<dimen name="status_bar_recents_text_description_padding">8dp</dimen>
|
|
<!-- Width of application label text -->
|
|
<dimen name="status_bar_recents_app_label_width">156dip</dimen>
|
|
<!-- Left margin of application label text -->
|
|
<dimen name="status_bar_recents_app_label_left_margin">16dip</dimen>
|
|
<!-- Margin between recents container and glow on the right -->
|
|
<dimen name="status_bar_recents_right_glow_margin">0dip</dimen>
|
|
</resources>
|