summaryrefslogtreecommitdiffstats
path: root/res/values-sw720dp
diff options
context:
space:
mode:
authorAndy Huang <ath@google.com>2014-08-14 16:44:24 -0700
committerAndy Huang <ath@google.com>2014-10-15 16:10:36 -0700
commit87a8982af83168453b6dc219fe984bff68047beb (patch)
treecec5c51abc0701e11c4f6271ffdd661c7c07ae66 /res/values-sw720dp
parent96062c365b04fd90a78c30f1301e6069697aa47d (diff)
downloadandroid_packages_apps_UnifiedEmail-87a8982af83168453b6dc219fe984bff68047beb.tar.gz
android_packages_apps_UnifiedEmail-87a8982af83168453b6dc219fe984bff68047beb.tar.bz2
android_packages_apps_UnifiedEmail-87a8982af83168453b6dc219fe984bff68047beb.zip
Peek mode for 2-pane landscape
Peek mode allows CV fragments to be visible but not marked viewed and read. TPC keeps a global flag for whether the current conversation should be peeked vs marked read. I have tried to manually reset the flag in the 6 cases that cause the current conversation to change: 1. tap another conversation (don't peek) 2. swipe to another conversation (don't peek) 3. keyboard-advance to another conversation (peek) 4. auto-advance=newer|older (don't peek) 5. auto-advance=list (go older & peek) 6. empty CV and a list cursor has loaded (peek at i=0) Swipe, in particular, required a new onConversationViewSwitched() call in CPA because onPageSelected() is triggered both when swiping around in the view pager AND when simply setting the initial page as part of constructing a view pager. Thankfully, there is only ever one copy of this peek flag in the app, in TPC, since AAC/TPC is where all the work is done both to mark conversations seen and to switch to new conversations. Rotation to portrait on tablets now requires tearing down a ViewPager; this code and thought process is documented here: http://go/xqaxk TODO: selected indicator for transition from peek->read state in-place TODO: touches in CVF should mark it read Bug: 17291366 Change-Id: I24f71a2b7985773814d8caad9f3ab3fe5c3609c8
Diffstat (limited to 'res/values-sw720dp')
-rw-r--r--res/values-sw720dp/constants.xml4
1 files changed, 0 insertions, 4 deletions
diff --git a/res/values-sw720dp/constants.xml b/res/values-sw720dp/constants.xml
index bd90d8bf7..12742902e 100644
--- a/res/values-sw720dp/constants.xml
+++ b/res/values-sw720dp/constants.xml
@@ -21,8 +21,4 @@
Note: this this value should be set with the same qualifiers where
show_two_pane_search_results is set to false -->
<integer name="conversation_list_search_header_mode">0</integer>
-
- <!-- Whether to show single or 2 pane search results -->
- <bool name="show_two_pane_search_results">false</bool>
-
</resources>