Commit Graph

508 Commits

Author SHA1 Message Date
Marc Blank 0fd8ae8808 Pixel perfect Email widget
* Functionally correct and pixel perfect
* All current assets in place

Bug: 3292507
Bug: 3284201
Bug: 3135118
Bug: 3255036
Bug: 3252913

Change-Id: I8fa6752748c74b3a9789a3675da12f6c0c11975f
2010-12-20 11:55:01 -08:00
Marc Blank 13c615314f Fix broken asset (and build)
Change-Id: Ie03ca71dd44f91d43e86d7bc501284b9c1e15f8c
2010-12-17 17:03:03 -08:00
Makoto Onuki e4355b8be9 Merge "Latest assets from designer git" 2010-12-17 14:30:19 -08:00
Makoto Onuki 992d606dd5 Latest assets from designer git
Change-Id: I8837b6ff31ff7af274904e274cdd3ce1e6e21b3e
2010-12-17 13:44:48 -08:00
Makoto Onuki 6a5a39c9e8 Merge "Make reply/forward/etc buttons selectable with keyboard" 2010-12-17 13:44:08 -08:00
Makoto Onuki 4aa8d1850d Make reply/forward/etc buttons selectable with keyboard
Reply, reply-all, forward, star, and the quick contact badge are now clickable
with the keyboard.

Bug 3292854

Change-Id: Ieeb9f50c9e63f251cafb23255dd3f923b2501849
2010-12-16 16:45:38 -08:00
Makoto Onuki dd26e24dca New assets from designer's git
- Note the widget preview has moved from drawable/ to drawable-mdpi/.
- Also note not all mdpi assets have their conterpart in hdpi.
  Not sure if it's okay or not...

Change-Id: I087a800cdbb7ea1732df197827c1a0bfe8c4b809
2010-12-16 13:45:05 -08:00
Andy Stadler fdfd466fe6 Update widget with slightly newer drawable
Change-Id: Iea4a1a3e0d8b2601d515c02d792636a416de3756
2010-12-15 22:07:55 -08:00
Andy Stadler d2fcefc567 Add widget preview
* Also bumped email version number to 3.0 because the version# may need
  to increment to force refresh of the preview tile.

Bug: 3277453
Change-Id: Ic556e49a4b531fcfdbf3c8f6a2537a34ee0f3c63
2010-12-15 17:49:07 -08:00
Andy Stadler c1c3b6f21e Use generic contact icon for notifications & messages
* Copies the icon from contacts
* Used whenever the sender doesn't have a local photo
* Used in notifications and in messageview

Bug: 3282187 (notification)
Bug: 3285156 (memory leak from the placeholder graphic)
Change-Id: I528cae20355aa8cce7be37b26f32aa90e092708b
2010-12-15 15:26:30 -08:00
Eric Fischer e23530456c Import revised translations.
Change-Id: I34ffef45bbff0751e940c063b2e45da27a3a7b26
2010-12-14 13:57:15 -08:00
Marc Blank 06a2f4a3b1 New message list formatting per pixel perfects
* Need icon assets (attachment, meeting, star on/off, and
  checkbox on/off)

Change-Id: I6780fb354584ce5ea398b555a8485cf600617586
2010-12-13 15:32:05 -08:00
Andy Stadler 4f2f603bb2 Add scrollview to all setup activities
* Prevents hidden elements while keyboard open
* Buttons float to bottom in portrait mode

Note: Actual positions & sizes are non-final


Bug: 3188940
Change-Id: I1ee849a7dadc7da874df0fb420101c38d8e01f37
2010-12-10 17:53:49 -08:00
Marc Blank 369daac5c3 Merge "Prevent display of incorrect widget title on orientation change" 2010-12-10 15:32:05 -08:00
Marc Blank 7fcc12f799 Prevent display of incorrect widget title on orientation change
Change-Id: Ib43e3d4e261a65f0c7a49b8595131e0b0150484a
2010-12-10 10:04:00 -08:00
Eric Fischer ed47cd81c5 Import revised translations.
Change-Id: I3e06adb0ef6c40fd0ad36b618100248a3f2292bf
2010-12-09 16:06:49 -08:00
Andy Stadler 3dedc8b191 Defragment AccountSetupBasics
* This was an early attempt at fragmentation
* But it turned out that no fragment was needed here - it is
  not shared or reused in any way.
* Precursor to doing final layouts for the activity.
* Tested working:
    Automatic provider lookup
    Manual
    POP/IMAP and EAS flow modes (from accounts & sync)
    Force account creation intent
    Provider note
    Duplicate account detection

Change-Id: I434edd4b152391d36e70440873932db3ec1a1c99
2010-12-09 11:05:34 -08:00
Andy Stadler 6a78be9623 Merge "Add preference for background downloading" 2010-12-08 12:28:22 -08:00
Andy Stadler f983c75b44 Add preference for background downloading
* Defaults to false
* Placeholder text

Change-Id: I7c729eddb7b4d368a0ac47552c911d2ef11b3ee1
2010-12-08 12:28:02 -08:00
Makoto Onuki 45e04b009d Update error banner
1. Error banner now pushes down the entire screen, rather than covers it.
2. Switch to the new ObjectAnimator for the animation to achieve #1.
   (Traditional Animation doesn't do this)
3. Dismiss the banner when getting any callback with MessagingException == null
   and progress > 0, only when the account is the one that caused the last error.
4. MessageListXL now registers its own ControllerResult to detect
   connection errors, and more importantly, when they're cleared.

Bug 3240874
Bug 3240406

Change-Id: I07f8e2f589bb1d312859824f9ec398879003ba16
2010-12-07 16:49:26 -08:00
Makoto Onuki 4d02297f4a MessageView: Show progress icon while loading
To avoid flicker.

Bug 3225088

Change-Id: Ic5faea4e6fc810aa751b9f0b9d04537e5dc29970
2010-12-07 14:36:09 -08:00
Makoto Onuki dff337af12 Merge "Message view: Use system tab style" 2010-12-07 14:24:03 -08:00
Marc Blank cb5f42dab9 Add CHAR_LIMIT to strings
Bug: 3197247
Bug: 3174971
Change-Id: If1307429cd2fee290d28f75d50b01d9c84534705
2010-12-07 11:09:13 -08:00
Makoto Onuki 2ac95b550d Message view: Use system tab style
Bug 3138021

Change-Id: I18ec66966e984a4f2b9e330d0ef14dbca5cce5e3
2010-12-06 16:51:01 -08:00
Makoto Onuki 74e094834c New style for the new message notification
Bug 3176956

Change-Id: Id7418fb8bb942230266815167f0a2e79062a9116
2010-12-06 14:51:19 -08:00
Justin Ho 1003d9584b Integrating updated Email status bar notification icons
Change-Id: I639e1959c25a04583cf06820918679d2a5265e4a
2010-12-03 18:18:27 -08:00
Andy Stadler 112ed496f8 Update server settings to current look
* For each of incoming, outgoing, exchange fragment, create a "settings
  mode" which slightly alters the layout for use in AccountSettingsXL.
  * Build a settings mode wrapper layout around the basic fragment
  * Add new constructor to set "settings mode" and select layout
  * Add wiring for cancel/next buttons in the fragment
* AccountSettingsXL configures each fragment in its settings mode
* Remove old actionbar "Next" options (no longer needed)

TODO: Pixel perfect adjustments, colors, fonts, etc.

Bug: 3188951
Change-Id: Iba26281b214333db301dd40d6c016b6c5a932c2d
2010-12-02 21:45:04 -08:00
Eric Fischer a55a9d2dcb Rename Indonesian and Hebrew translations to match Locale.java conventions
Change-Id: I33d1c70820d5ac2aec9941aabbd83160ee879e42
2010-12-02 14:10:56 -08:00
Eric Fischer ec580af73e Import revised translations.
Change-Id: Id772f458d77b54425b80933a3e154f9f492a6cc6
2010-12-01 15:17:05 -08:00
Marc Blank 1b9337ea4f Wireframe email widget
* Formatting and assets are preliminary
* Functionality correct
* Needs cleanup, etc.

Change-Id: I75051df93d233ef529a616c7a9efae403d320bd2
2010-12-01 13:37:57 -08:00
Andy Stadler 1ca111c19c Add password expiration plumbing
* Set aggregated expiration values with DPM
* Fix min/max logic when aggregating, and fix unit test
* Add expiration tests when checking if policies are active
* Add expire-password to uses-policies set
* Handle password refresh (clear notifications and sec. holds)
* Handle password expiration (warning and/or wipe synced data)
* Unit tests for provider-level methods
* Refactor common security notification logic
* Placeholder notification strings (need final)

Bug: 3197935
Change-Id: Idf1975edd81dd7f55729156dc6b1002b7d09841f
2010-12-01 12:58:36 -08:00
Makoto Onuki d1ee5b8fa5 EML viewer: Set title, and show arrow next to the app icon
- Set "Viewing FILENAME" as title.
- Home icon now has "back" arrow.  Closes the activity when clicked.

Bug 3221312

Change-Id: I689499e10704d3c5d206df4aa12e21db9687c4c5
2010-12-01 11:35:09 -08:00
Makoto Onuki eee6f5e81f Importing new icons.
Change-Id: I1f66f934b3ccbf912f4b3305e3adffc367759423
2010-12-01 10:34:13 -08:00
Makoto Onuki 2201b38fe3 Add error message UI
Show an error message in a yellow bar at the top of the activity.

Bug 3230116

Change-Id: I45dad233c1ab52de365c8caedb4eeff29aefac65
2010-11-29 16:07:38 -08:00
Eric Fischer 947ee4537d Merge "Import revised translations." 2010-11-29 16:05:44 -08:00
Eric Fischer d23fce1ab6 Import revised translations.
Change-Id: I73185cb23b4ec2612e47e5b16b2eeddf71693065
2010-11-29 15:14:54 -08:00
Andy Stadler 97874770fc Move "Add Account" to ActionBar
Not currently enabling/disabling properly, filing a framework bug.

Bug: 3188951
Change-Id: I9c8900187048f548411a23c2a1b0208c79fc0a24
2010-11-29 15:00:37 -08:00
Gilles Debunne ac25a48d7b Merge "Removed unused assets." 2010-11-24 14:41:54 -08:00
Makoto Onuki 54513ed740 Merge "pixel-almost-perfect: mailbox list" 2010-11-24 13:47:04 -08:00
Makoto Onuki 9d6d5b3091 pixel-almost-perfect: mailbox list
Bug 3137965

Change-Id: Ic5aa3327ddbd456024e1938b74c7da0452b682f5
2010-11-24 13:40:58 -08:00
Andy Stadler d87f81e901 Update visual style shortcut picker and make it async
* Use dialog when in XL screen size
* Show different strings in launcher and in dialog/activity title
* Add cancel button to picker
* Move accounts query to AsyncTask
* Remove obsolete AccountsAdapter

Bug: 3093928
Change-Id: Ief771482c6db684c434c21cf92844c37a927d34a
2010-11-23 22:54:49 -08:00
Makoto Onuki 5b81690de1 Show color chips for combined view.
Show color chips for account rows and message items on the combined view.

Moved hard-coded color values to resource.

Bug 3138001

Change-Id: Ib93fb9d6e9592ebd0c297f83c3dee2358a80508f
2010-11-23 13:03:06 -08:00
Makoto Onuki 46e60b51e2 Merge "Fix & cleanup on EML viewer (MessageFileView)" 2010-11-23 12:18:28 -08:00
Makoto Onuki f23474a40d Revive inputType and imeOptions for address and subject fields
Also removed an unnecessary android:text.

Bug 3222325

Change-Id: Iba49ee85569d7707a0927f44f363dbc9c6cc7c8a
2010-11-23 12:17:26 -08:00
Andy Stadler 4091ffe94f Merge "Move application icon to mipmap-* directories" 2010-11-23 12:16:00 -08:00
Andy Stadler 5c4c0ab456 Move application icon to mipmap-* directories
Change-Id: Idc5df7046d0fa64ffbfce2869dffb4fe0fd144a0
2010-11-23 12:06:44 -08:00
Makoto Onuki 0d6eea970d Merge "Change "id" to "android:id"" 2010-11-23 11:44:18 -08:00
Makoto Onuki a6998d39fa Merge "Implement screen transition animation." 2010-11-23 10:18:25 -08:00
Makoto Onuki d2dac0fd6c Implement screen transition animation.
Bug 3137919

Change-Id: I077768bffb1eb246fdaa7d2def30c7b132566d69
2010-11-23 10:17:54 -08:00
Andy Stadler 1f3e117951 Fix rotation problems in setup/settings
* Fix incomplete tracking of mLoaded flag
* Defer validation on automatic reload of fields (on rotation)
  until reconstruction completes and we're ready to do validation.
* (For Incoming only) Split loadSettings into configure and reload phases;
  We need to configure the UI every time we restart, but we don't want
  to reload & overwrite user-entered values on rotation.
* (For Exchange only) Properly show/hide trust certificates options on
  rotation, and show/hide divider too.

Bug: 3170922
Change-Id: If3de30ee2d4d5668b29698af73f545510692777e
2010-11-22 19:02:16 -08:00