diff options
author | Andy Huang <ath@google.com> | 2012-04-06 18:08:53 -0700 |
---|---|---|
committer | Andy Huang <ath@google.com> | 2012-04-06 18:09:00 -0700 |
commit | 65fe28fa88daad08f3be4c084ca5b4eaa366d1a7 (patch) | |
tree | c9650f077867e4706c353050160832131fee91e2 /res/values/ids.xml | |
parent | 68ab9316b8ec08a24f12dc16c626a78b77728d3e (diff) | |
download | android_packages_apps_UnifiedEmail-65fe28fa88daad08f3be4c084ca5b4eaa366d1a7.tar.gz android_packages_apps_UnifiedEmail-65fe28fa88daad08f3be4c084ca5b4eaa366d1a7.tar.bz2 android_packages_apps_UnifiedEmail-65fe28fa88daad08f3be4c084ca5b4eaa366d1a7.zip |
optimize low-hanging fruit found using traceview
* View.getTag/setTag is a slow way of finding an overlay view;
switch to a SparseArray
* this also obsoletes mChildrenToRemove since we can immediately
remove overlays from the SparseArray
* bring back the Email Address cache to avoid repeated parsing
* avoid repeatedly calling findViewById for each header
* cache expensive timestamps and recipient summary strings
Change-Id: Ic76265848e4956a28a44c4a2e3e726ec9ef6bfaf
Diffstat (limited to 'res/values/ids.xml')
-rw-r--r-- | res/values/ids.xml | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/res/values/ids.xml b/res/values/ids.xml deleted file mode 100644 index b2d77dbb7..000000000 --- a/res/values/ids.xml +++ /dev/null @@ -1,19 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!-- Copyright (C) 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> - <item type="id" name="view_tag_conversation_index" /> -</resources> |