Commit Graph

4121 Commits

Author SHA1 Message Date
Andy Stadler
071274f078 Merge "Update file type acceptance rules" into honeycomb 2011-01-11 14:45:54 -08:00
Andy Stadler
86753bc41c Update file type acceptance rules
* Open up all types for view/save rules
* Add anti-malware block list (based on extensions)
* Clean up code that shows/hides view & save buttons
* Redo handling of load/cancel 1sec timer
* Unit test for new little utility
* Allow larger items when on wifi

Bug: 3338984
Bug: 3334950
Bug: 3338988
Bug: 3340835

Change-Id: I991135636d507f2660e2860720dbed21bd1a955b
2011-01-11 14:40:41 -08:00
Todd Kennedy
56ffd12fcd Update chips per UI design specification
bug 3335090

Change-Id: I4922621b14f10a2013f3a91c7d76f9c6482a327d
2011-01-11 14:03:21 -08:00
Marc Blank
421055a70a Allow unlimited folders in EAS by batching folder changes
Bug: 3314445
Bug: 3325575
Bug: 3329867
Change-Id: Iefce7b334462919fd6391a449fc16196b9da168a
2011-01-11 13:50:58 -08:00
Andy Stadler
0faa37d771 Save attachments to /sdcard/Download
Bug: 3339015
Change-Id: Iee08f0c358e6680175c732ef0d5e416a86da5a5d
2011-01-11 13:46:01 -08:00
Marc Blank
f6fe21b483 Merge "Check download request before trying to remove it from the queue" into honeycomb 2011-01-11 13:22:39 -08:00
Marc Blank
3d87da33b8 Merge "Add logging for widget view switching" into honeycomb 2011-01-11 13:21:57 -08:00
Marc Blank
7fbe563f51 Add logging for widget view switching
Change-Id: I5e39ffffa0860fb43a503e4ec00ddad8003f5ef4
2011-01-11 13:21:21 -08:00
Makoto Onuki
92b50897d6 Merge "Pixel perfect: newer/older buttons" into honeycomb 2011-01-11 13:04:45 -08:00
Makoto Onuki
e75a8d1cc3 Merge "Add ScrollView to "Message Details"" into honeycomb 2011-01-11 13:04:27 -08:00
Makoto Onuki
b6171541b6 Pixel perfect: newer/older buttons
We haven't gotten all dimensions yet, but this is what I inferred from
the latest redlines.

Also fixed a margin above the message area on message view.
(Keep the margin even if there's no tabs.)

Bug 3138021

Change-Id: Iafff578f499737674ec10206b75566377cf2383b
2011-01-11 12:31:51 -08:00
Marc Blank
782c21e953 Check download request before trying to remove it from the queue
Bug: 3312633
Change-Id: I443d9a8f786f93c7cd72b6b96ea838bf0d05f4d4
2011-01-11 11:45:36 -08:00
Makoto Onuki
107093056f Add ScrollView to "Message Details"
Bug 3340780

Change-Id: I9d5935ae7c9beb0e4f39b4bef5f2287f52897dd3
2011-01-11 11:15:55 -08:00
Todd Kennedy
43600c915f Merge "Remove/fix STOPSHIP comments" into honeycomb 2011-01-11 10:24:43 -08:00
Makoto Onuki
30d8dcbc32 Merge "Fix divider style for message compose" into honeycomb 2011-01-11 09:58:33 -08:00
Todd Kennedy
8a63a72104 Simplify drag-n-drop scrolling logic
Remove the concept of scroll speeds. According to Mark, multiple scroll speeds
is a "nice to have" feature and not a "must have". Besides, this did not work
(there was only ever one scroll speed), and, when fixed, the top scroll speed
was way too fast to be usable.

bug 3335062

Change-Id: I160bec2ca5de0b26da81ed31dfb96fc86e543988
2011-01-11 09:41:19 -08:00
Todd Kennedy
518124e47d Remove/fix STOPSHIP comments
* Remove the drag_background drawable as it is not referenced
* Correct icons for menus have been submitted; remove STOPSHIP
* Reverse target location check in MailboxListItem to fail fast if we do
  not have a "down" touch event; STOPSHIP not necessary, removed
* Remove 10dip guard on mailbox list; this is near impossible to trigger

bug 3335078
bug 3335096
bug 3335065

Change-Id: I4bcc42ee03502c8a5c44d431e935dff92a648fb1
2011-01-11 09:28:13 -08:00
Makoto Onuki
52d0966b86 Fix divider style for message compose
Bug 3335145

Change-Id: I45aed96d6452d2cbffab543c654e9733baa81879
2011-01-10 18:23:22 -08:00
Makoto Onuki
5fed5c8a59 Don't show "Stop" for loaded attachments
There's a case where we show both the "stop" and "view" buttons at the same
time.

Bug 3138021

Change-Id: Ib12f5dc1e522a04b1cc175626d084ed8bc5c8065
2011-01-10 16:28:38 -08:00
Makoto Onuki
84c4ec4aef Merge "Remove STOPSHIPs" into honeycomb 2011-01-10 16:03:16 -08:00
Makoto Onuki
a826d3fb03 Pixel perfect: Message view
Still waiting for a few missing assets, but it's done other than that.

The divider change is already merged; new layouts all use the framework style.

It's basically all layout changes, except for:
- Now the recepient address line has "Show details", which shows a dialog with
  all to/cc/bcc addresses with the timestamp.
- Now invite response buttons are checkboxes.
  (But the basic behavior doesn't change -- once you check a response,
  the message will be gone, so you can't change the response later.)

Copied message_header_bg from gmail manuall.  It'll look silly without it.

Bug 3138021
Bug 3307021

Change-Id: I6f7eb91d6104c3143a5c58b0c4c6c19929cea477
2011-01-10 15:51:32 -08:00
Todd Kennedy
07f5f60b8f Implement proper drag-n-drop
Still some tweaks to be done, but, we're real close to what it should
look like.

Bug 3322756
Change-Id: I8549ab59677a344e8f259c88bed950169d7381a8
2011-01-10 15:23:40 -08:00
Makoto Onuki
42c6881494 Remove STOPSHIPs
Bug 3335094
Bug 3335069

Change-Id: I307a762a83ca7fa94cf62f1d80f32a2b3f30b27a
2011-01-10 14:36:17 -08:00
Todd Kennedy
285fac8554 Replace private divider with framework divider
The framework defines ?android:attr/dividerHorizontal. Instead of defining our
own divider by specifying some arbitrary RGB colour, utilize the framework's
divider.

bug 3335145

Change-Id: I64dd30a5a73b0884f82f6a2b9fbbd88c6782e0db
2011-01-10 13:16:10 -08:00
Marc Blank
26cf5639e0 Remove STOPSHIP from WidgetProvider
Bug: 3335070
Change-Id: I838d5eeb795759da30946fbdb00fa3f0e4dbdb12
2011-01-10 11:33:21 -08:00
Marc Blank
75396e175d Merge "Remove STOPSHIP from AttachmentDownloadService" into honeycomb 2011-01-10 11:29:42 -08:00
Marc Blank
cec50e08ea Merge "Remove STOPSHIP from providers.xml" into honeycomb 2011-01-10 11:28:18 -08:00
Andy Stadler
0b63258999 Merge "Near-final layout tweaks to setup screens" into honeycomb 2011-01-10 11:00:45 -08:00
Andy Stadler
a7b781b5dd Near-final layout tweaks to setup screens
* Dimensions, Colors, Paddings, Text styles, etc.
* Update AccountSetupBasics, AccountSetupAccountType,
    AccountSetupOptions, and AccountSetupNames
* Extracted shared layouts in AccountSetupOptions & AccountSetupNames
* Leave behind STOPSHIP entries for:
  - button positioning (primarily vertical)
  - colors of text & dividers
* Will do incoming, outgoing, exchange in a separate CL (because they
  are shared with settings)

Bug: 3335093
Bug: 3188940
Change-Id: Idf727e3b2b6a0293d6d41bf29f1c0c48d746ab7c
2011-01-10 00:42:26 -08:00
Marc Blank
33799ad2d0 Remove STOPSHIP from AttachmentDownloadService
Bug: 3335071
Change-Id: Ia6a8e2e7378510db234c4ec5164cb5ef39c529d7
2011-01-09 18:30:24 -08:00
Marc Blank
fb4bc09428 Remove STOPSHIP from providers.xml
Bug: 3335087
Change-Id: Id7172370ecdaf61e6ff08ca50e618bab3d2597de
2011-01-09 18:28:35 -08:00
Marc Blank
d9d120bfe4 Merge "Fix issues w/ security-related account data deletion" into honeycomb 2011-01-09 18:25:53 -08:00
Marc Blank
69af769688 Fix issues w/ security-related account data deletion
* Stop running syncs
* Delete all EmailProvider data except the account itself (with
  cleared sync key) and the account mailbox (necessary for syncing
  to sync after security hold is lifted

Bug: 3245779
Bug: 3253952
Change-Id: Idc208ef5ed85808b085ebab9c26a428fb0451e34
2011-01-09 18:24:35 -08:00
Brett Chabot
85985b5db3 Merge "Use new public API to protect force account creation." into honeycomb 2011-01-09 16:35:51 -08:00
Andy Stadler
a8ef07fabc Cleanup STOPSHIPs in strings.xml
* cleaned out old placeholders
* moved a bunch of unused strings into placeholders
* moved three strings into active status.

Bug: 3335092
Change-Id: Ibb0690f7cc9ddd1b8f7f337964faff6471be880c
2011-01-09 16:16:08 -08:00
Brett Chabot
ea4c564261 Use new public API to protect force account creation.
Check value of ActivityManager.isRunningInTestHarness() before allowing force
account creation, instead of ActivityManager.isUserAMonkey().

Bug 3329873

Change-Id: I5028eef9caced2cacc9c187dfd746865939fdedd
2011-01-09 15:25:52 -08:00
Andy Stadler
7271bbef13 Remove a couple of STOPSHIP notes
* Restore ActionBar based progress in phone UX
* Removed unused debugging method

Change-Id: Ia36847d27fe9c9fa121a29f1e6a65bd3da0c3ffc
2011-01-09 14:19:35 -08:00
Dianne Hackborn
0e50c33ec7 Merge "Remove use of old methods." into honeycomb 2011-01-08 14:23:54 -08:00
Dianne Hackborn
6c7075fb86 Remove use of old methods.
Change-Id: Ibc686a39cb2c481e6cd57b1d6029979cfd9f5b71
2011-01-08 13:08:04 -08:00
Christopher Tate
b50872abd0 Rename drag "thumbnail" to the drag "shadow"
No functional changes; just a rename of the relevant class/method/parameters.

Change-Id: I80c0297d0ccbf1bb30196fb919ae68194e18d732
2011-01-07 16:31:05 -08:00
Marc Blank
d6ce2998f7 Merge "Fix widget view switching with > 1 account" into honeycomb 2011-01-07 16:01:49 -08:00
Todd Kennedy
5bd42764c7 Merge "New icons from designer git" into honeycomb 2011-01-07 15:30:05 -08:00
Makoto Onuki
f6cb1b002e Merge "Don't pass ACCOUNT_ID_COMBINED_VIEW to message compose." into honeycomb 2011-01-07 15:11:54 -08:00
Makoto Onuki
f29ce4d37b Don't pass ACCOUNT_ID_COMBINED_VIEW to message compose.
If you do so, MessageCompose won't be able to restore an account, so it'll
use null account...

Bug 3324472

Change-Id: Ic0e615b31e21246e41f6f2c709a8422bef230040
2011-01-07 14:57:05 -08:00
Todd Kennedy
cd49800f78 Merge "Remove unused icons" into honeycomb 2011-01-07 14:20:55 -08:00
Todd Kennedy
0fc4902a5a use official holo icon for mark message read
Change-Id: I3f2c8ce096ecd0eff7ec7719f7f99f7f8dc497a0
2011-01-07 14:14:19 -08:00
Todd Kennedy
f41756f8be New icons from designer git
Change-Id: I9ae2f596fdd5b43c8784eb425a6cb73ba4afe75c
2011-01-07 14:13:11 -08:00
Todd Kennedy
b59cd9d406 Remove unused icons
Icons reported as unused by running the script "findUnusedAssets". This
script checks for any reference to a drawable in all XML and Java files.

Some _holo_light icons are removed as they are no longer in the designer
git and should not be used.

Change-Id: Ie42d13394d6d81d35fcb48f8f76c6abd4cb09ee4
2011-01-07 14:01:27 -08:00
Andy Stadler
4b311dcdd4 Merge "Move account edit save settings off UI thread" into honeycomb 2011-01-07 13:34:41 -08:00
Andy Stadler
6e71978ec3 Move account edit save settings off UI thread
* Caught by StrictMode
* The fix prevents ANR
* Removed vestigial cruft from the saveSettingsAfterEdit() implementations

Bug: 3133633
Change-Id: Id41fb74269a2b72cc17121e33684b459d3eec869
2011-01-07 13:33:07 -08:00