| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
Activities using it will crash with an IllegalStateException stating
that an AppCompat theme needs to be used.
Change-Id: I09acbe9cc0cc9fe1653044194ae4822c923bf987
|
|
|
|
|
|
|
|
|
|
|
| |
Instead of using autoResize to resize when soft keyboard shows
up, use a custom list view that takes visible display frame into
account during onMeasure so that the listview itself will simply
measure based on the available space.
b/17916077
Change-Id: If2b771e59f67689a7431284a0ec05af6a04fd055
|
|
|
|
| |
Change-Id: I0b2a79e9ec0939d0702e82857f323d64f88c9d3a
|
|
|
|
| |
Change-Id: I8cca71c375944d8160955bc6bdf88b2ce1155eaf
|
|
|
|
| |
Change-Id: I0f0823ba19483eaa0b2feb53c2d5ae4dbacb2ec8
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
I apologize in advance for this huge CL.
- New icons (yay!)
- Abandon framework search and handle in-app search
functionality ourselves. This is made possible because
we use Toolbar and can position any custom view on top.
- Remove all previous search related attributes, including
search providers, searchable, search authority, default
search menu item layout, etc.
- Cleaned up the recent history provider to contain only
the functionalities we need - query, add, and delete.
Instead of using the framework to add recent queries,
we directly insert into our database. Since the provider
no longer needs to extend ContentProvider, removed
some unnecessary callbacks such as onCreate.
- Custom quantum search views:
- Top search bar, this is inserted in a FrameLayout
on top of Toolbar. The search bar interacts with
the suggestion list and AbstractActivityController
via the QuantumSearchViewController interface.
- Suggestions list, this is inserted in the FrameLayout
that typically contains the main content pane for
either one-pane or two-pane layouts. Again, this
interacts with the action bar via the controller.
- Voice search, this is simply an implicit intent
that converts speech to text.
b/16518233
Change-Id: I589c40e6c6e3d8c719856b735d0c53e8db986e65
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Currently only for MailActivity, ComposeActivity,
and FolderSelectionActivity.
Any activity that inherits from ActionBarActivity must
use an Appcompat-derived style. Three styles currently
exist: UnifiedEmail.Appcompat, UnifiedEmail.Appcompat.Toolbar,
and ShortcutWidgetTheme are all based on appcompat.
go/appcompat-material-doc contains the full migration guide.
The fast version is:
All MenuItem-related work that relates to actions must use
the MenuItemCompat-equivalent.
Any theming should use the appcompat versions which don't require
a namespace prefix. For instance, use actionBarStyle instead of
android:actionBarStyle.
There are a few missing styles on views that can't use appcompat versions.
Those still use style overrides for v21 changes. All others use appcompat versions.
A few methods on activity should now use the support equivalents:
getSupportActionBar()
supportInvalidateOptionsMenu()
startSupportActionMode()
Change-Id: Ic6f5964f4115ab4bde49c19df5fe49c9086df965
|
|
|
|
|
|
|
|
|
|
| |
Enable test for GeneralPrefsFragment
Add test instance support to MailPrefs
Fix some values that weren't getting .apply()'d
b/9566150
Change-Id: Ia636c748c67518b0a6e3d436c8bfd09620fda6fc
|
|
|
|
| |
Change-Id: I38a6a839fced506ebdf6f0eee5318453061a6b05
|
|
|
|
|
|
| |
b/10609607
Change-Id: I08c532c47e6476db08488b89a12fa01df67d344d
|
|
|
|
| |
Change-Id: I2432d7eb3e13411cb4f4e2da5af03ccc10f9c8b4
|
|
|
|
| |
Change-Id: I4ea99854924d3e40185f4b04068939f6db2d0a2f
|
|
|
|
|
|
| |
b/7221227
Change-Id: Idf4b909811bf7c74e6d202346f21506c4cf875dd
|
|
|
|
| |
Change-Id: Iff87382778759b409b75e454f4dd5efd9a2020c1
|
|
|
|
|
|
| |
A subsequent test will add some more unit tests
Change-Id: I7e584dae397a4100de3495a3f9c597a09917aad4
|
|
|
|
|
|
|
|
|
|
| |
It's kinda slow for large eml files
(because we have to parse the entire
file) but it works. Hooray.
Fixes b/6393073.
Change-Id: I2d7a87a484cd282a000a0905fe069f3ab45e2061
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
There's really no reason why it shouldn't be
and having it exported prevents b/9334785 from occurring.
Additionally, so that we only use the app's eml viewer,
we check if the attachment is an eml file, and if so,
just open the viewer directly rather than letting the
framework disambiguate (which causes an activity chooser
to show when we have multiple activities that can accept
eml files).
Change-Id: I98e13f894c9218d62049b16e0f4c20c77501fcc5
|
|
|
|
|
|
|
|
|
|
| |
In order to support EML viewing, we need a bunch of
the overhead provided by AbstractConversationViewFragment
without actually inheriting from it. Additionally, most of
the code was inner classes that had no business being such.
These are now moved into their own classes.
Change-Id: I80769d2606b52c41dc116a6bdee17c00adc66a5a
|
|
|
|
|
|
|
| |
The base of an implementation is there.
We can view the plaintext right now.
Change-Id: Ib9dd37197c0592221f49b7770efb459484a4e6f0
|
|
|
|
|
|
|
|
|
| |
Define a resource that specifies which content provider uris should be used
to get the account list. This removes the need to have the extra code to handle
various provider/receiver startup orders, as only after MailAppProvider is
in onCreate() will we attempt to load the account list
Change-Id: Ief5f188bf1663fcc1c389c5ce48e2173b474f6ea
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
MailLogService provides logging to circular buffers for a given tag.
The application adds logging to these circular buffers. When a
bugreport is captured, the last fifty lines of logs per tag is printed
out on the bugreport.
A compile-time boolean can disable this entire functionality. Even if
it is enabled, the user needs to increase the log level using adb
shell setprop to start the service. If the service is not running,
logging is still carried out, though it will never be dumped.
This is for development only. It needs to be turned off before
release.
Bug: 8293525 Add debugging information for Gmail
Change-Id: Id59a9ff9a88a40e1afdfd31f0441b9531e797d4d
|
|
|
|
|
|
| |
fixes b/7726696 Switching between an input field that causes keyboard suggestions to show or hide wreaks havoc with jank
Change-Id: Id9302dd749fefec8e9a13d65dae5e0f1b5b81b7d
|
|
|
|
|
|
|
| |
We will need this for jank testing in the future as well as to try
to reduce object allocations.
Change-Id: I47a9fd301ebe0517bf16afd43c8736ab2bb7e18e
|
|
|
|
|
|
|
|
| |
UnifiedEmail doesn't have the correct permissions to access Gmail accounts,
so just load the mock accounts when building/ running the unifiedemail app
Also, create mock conversationinfo's to test out ui side changes to sender
formatting in the conversation list
Change-Id: Iddaad001df8dd40a859c44a080cfe76d5077fa3d
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Photo viewer now shows the display name of the
image. Additionally, it now has a subtitle that
contains the current number of that attachment.
Additionally, the implementation in Unified utilizes
a derived class of PhotoViewActivity that tweaks
the subtitle to display image size and adds action
items. Currently the items are visible but do not do
anything. Next commit will wire these up.
As part of refactoring to make the derived classing work
properly, a bunch of legacy code was deleted including
all of BaseFragmentActivity as its sole reason remaining
was for spoofing the ActionBar.
Finally, a small change to the cancel attachment button
was made so that it was appropriately selectable and
48dip by 48dip.
Change-Id: I5a50bd420fa23a3e7d8734b5a46a6f28198ccef4
|
|
|
|
|
|
|
|
| |
It compiles but you can't actually get to it
yet. I figured that at some point, this big commit
would have to happen so I'm just doing it now.
Change-Id: I0a7675545ee7708a5eff2e60708f84b151a87114
|
|
|
|
|
|
|
| |
This is the final issue: we remove the intermediate activity when
searching. After this, back at search results goes directly to the Inbox.
Change-Id: I437d7bd7b08da1d7befdd873b43edaeee6ac99ee
|
|
|
|
| |
Change-Id: I363e8f00c7baeed9cae94fe25242594d6e4d4250
|
|
|
|
|
|
|
| |
This is why reply/reply all switcher didn't have the correct
background assets.
Change-Id: I9deff726175dc4b376d59bb44696a3a4518fe50d
|
|
|
|
|
|
| |
This is one of the reasons we weren't getting widget updates.
Change-Id: I3b21b26ac84d6ab8cecf0d213eb3d4619980269f
|
|
|
|
| |
Change-Id: Iecf981dd50ae0d3e7eee73e09ee64e9062ac902d
|
|
|
|
|
|
| |
Remove ActionBarView interface and rename MailActionBar
to actionbarview. We needed this for pre v-14 support, but no longer.
Change-Id: I539b6751313e561311921010b03250df632260bc
|
|
|
|
|
|
|
| |
Since we want the spinner behind the text and the number next to it,
but we dont want a total custom view, we need to override the styles.
Change-Id: I28bfdc899336b25e7ab94b5b42d1fd3dfc1428f3
|
|
|
|
|
|
| |
Now the AccountCacheProvider rus th queries and updates
the data when changes happen
Change-Id: I32333f77579009506db790eab1e48c05a639e4cc
|
|
|
|
| |
Change-Id: Iff2027620f8d109aec581f82528430f04ad58e9b
|
|
|
|
| |
Change-Id: I2eb09bee0d56efa91c31d809013edab6b30468bc
|
|
|
|
|
|
| |
Also cleans up some cursors properly; these issues were caught
by strict mode.
Change-Id: I632dbd3a9b170711e3b5740afc919e6b37be51e6
|
|
|
|
|
|
| |
Allows the user to select an account and a folder.
Change-Id: I7760995166cff7db25264c2cc330bc394c984113
|
|
|
|
|
|
|
|
|
|
| |
This renames/ moves over styles and drawables for the widget
as well as xml files and classes.
Doesn't do much right now except display a unified email
widget in the widgets selection area and then say "app not
installed" when you drop it. But its a start!
Change-Id: Ie2759ce0adf520bd65222b50ddc8ab14c6659a37
|
|
|
|
| |
Change-Id: I79be2fb42ed6902129b65f56b4ef70de5d4c1d90
|
|
|
|
|
| |
Also, removed unused activities.
Change-Id: Ib80e71dce03a3821a0e27e9e2d638280dad0ce83
|
|
|
|
|
|
|
| |
This is just the start. Needs a lot more passes, and will
want to make this a fragment instead of an activity.
Change-Id: I107390ee6c2e3af044c977c160b8d9a52477d569
|
|
|
|
|
|
|
|
|
|
|
|
| |
This allows us to build a UnifiedEmail that supports all providers
and use this base to build applications that only supports a subset
of the providers
Made AccountCacheProvider and ConversationProvider abstract. This allows
the extending class to specify the authority that should be used (This allows
both UnifiedEmail and Gmail to be installed at the same time)
Change-Id: I31295f4630906e7182e423fcbb7b47c33ba4cd4f
|
|
|
|
| |
Change-Id: Iae42a9c728619ad73c46067935bf6765a3a67e7d
|
|
|
|
|
|
|
|
| |
ui.ControllableActivity added from Gmail.
One pane layout files brought in.
Minor changes to make everything work with the test activity.
Change-Id: I8cacd5f36394fe4a786590e2e381369a3afb5494
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Handles updates/deletes from the list instantly, then forwards the request
to the underlying provider
* Only starred/delete are implemented currently for Email types; the Gmail
provider doesn't yet support updates to UIProvider uri's
Note: Email types support read there's no read/unread support in the prototype
UI
* Updated UIProvider/MockUiProvider with latest adds to Conversation class
* Underlying provider must notify ConversationCursor of changes via newly
defined notifier URI
TODO: ConversationCursor wants unit tests
Change-Id: I91babcd5c27109acaa1f7479d584524e8a508a56
|
|
|
|
| |
Change-Id: I0273ce0f7270807de6ca325503c5b8a1339b3eae
|
|
|
|
|
|
| |
* Add accounts hackishly (as per Gmail)
Change-Id: Ia809dbb351adcde67e973bdac3a93a0eefed5377
|
|
|
|
|
|
|
| |
New code needs a new package name. Fixes IDE conflicts when
browsing.
Change-Id: I328484c6d6c71df077a05d2f7d6d1e85074107c2
|
|
|
|
|
|
|
| |
We now have the flow from conv list --> conv -> compose
so remove the conversation list item and compose tests.
Change-Id: Iadcb44ce9ed015c7f285408241397099923e48bd
|