History log of /packages/apps/DocumentsUI/src/com/android/documentsui/base/DocumentInfo.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
af08dfede24e4b745d47fb6cfdaa6ebd09587feb 28-Nov-2017 Steve McKay <smckay@google.com> Include "remove supported" in debug view.

It was omitted from the inspector.
Also alpha sorted accessors in DocumentInfo.

Test: passing.
Change-Id: I43893b6ed0607f57620e631e14af76fbf1ddddd1
/packages/apps/DocumentsUI/src/com/android/documentsui/base/DocumentInfo.java
0404bdca5b470a7450ca746c24af19d73023e1df 21-Jul-2017 Steve McKay <smckay@google.com> Load EXIF data into new view.

Note: This CL loads EXIF data syncronously. Tracking a fix in: https://b.corp.google.com/u/0/issues/63925015

Bug: 62621970
Test: Run existing tests.
Change-Id: I892cad2a3c3d3f92724740b8e957524ab8d2e069
/packages/apps/DocumentsUI/src/com/android/documentsui/base/DocumentInfo.java
56dbeff113d613d9381692bd2a7d83d7e1d45032 15-Jul-2017 Austin Kolander <greensurfer@google.com> Merge "No longer traverse files to get folder size." into arc-apps
am: d1384dd833

Change-Id: Ibfd821b105e86788964437dcfa938d9f7fa466f9
1b49a94535875a93a6604b9200df8e6f75b55753 14-Jul-2017 Austin Kolander <greensurfer@google.com> No longer traverse files to get folder size.

Deleted DirectoryLoader and DirectoryLoaderTest. Added a method in
InspectorLoader for finding the number of items in a folder.

Refactored InspectorLoader to make it cleaner.

Bug: 63636562
Test: InspectorLoaderTest
Change-Id: Ib46e5f07917a87a67af0f6bab20dc8076e606c7b
/packages/apps/DocumentsUI/src/com/android/documentsui/base/DocumentInfo.java
3bbb0cb62f8c8b339e6a12cf85d3bf7b76e8808b 13-Jul-2017 Steve McKay <smckay@google.com> Improve debug info.

Add generic section title support to TableView.
Add debug section title.
Use sentence case for debug labels.
Add more debug values (like weblinkable!)
Minor padding layout tweaks.
Move Julian's sweet row update logic into base class, use that from Debug (solving a bug).
- exclude "web_linkable" support, since it wasn't landed in arc-apps.

Bug: 63635841, 63638300
Test: Build and view the goodness.
Change-Id: I8f66b4f75b886b366b4eeff65afe2ac104df45d1
(cherry picked from commit f433d20a7759775dfc848fdd50da2a3f01219a54)
/packages/apps/DocumentsUI/src/com/android/documentsui/base/DocumentInfo.java
f433d20a7759775dfc848fdd50da2a3f01219a54 13-Jul-2017 Steve McKay <smckay@google.com> Improve debug info.

Add generic section title support to TableView.
Add debug section title.
Use sentence case for debug labels.
Add more debug values (like weblinkable!)
Minor padding layout tweaks.
Move Julian's sweet row update logic into base class, use that from Debug (solving a bug).

Bug: 63635841, 63638300
Test: Build and view the goodness.
Change-Id: I8f66b4f75b886b366b4eeff65afe2ac104df45d1
/packages/apps/DocumentsUI/src/com/android/documentsui/base/DocumentInfo.java
012e8bac5af5bb79838a90c6be2d37af3b8a6093 27-Jun-2017 Austin Kolander <greensurfer@google.com> Added support for inspector actions.

Added support for showing an document in its provider.
Added support for clearing default app to open a file.

Changed views to adhere to android materail design.
Added unit test to test if views were visible when the conditions
were met.

Cleaned up the code from prevous PTAL.

Bug: 2474141
Test: InspectorControllerTest
Change-Id: Ic4936890b34b0657ef934afe5e9bd14f5fce0f25
/packages/apps/DocumentsUI/src/com/android/documentsui/base/DocumentInfo.java
45ac5fe9a9f21e6a73809cc575aa462690d0c058 28-Jun-2017 Austin Kolander <greensurfer@google.com> Add support for getting more infomation about a directory.

Such as number of children in a directory and size of the directory.

Bug: 62635555
Test: DirectoryLoaderTest
Change-Id: Ib3ba26bfe314cc9873d4b3be31654c703640f416
/packages/apps/DocumentsUI/src/com/android/documentsui/base/DocumentInfo.java
2e81db6f2030ec6c8dd758c3020ce5db8363bf25 28-Apr-2017 Garfield Tan <xutan@google.com> Fix crash when dragging documents from Recents.

Also not allow user to move from Recents (DnD or Ctrl+X).

Bug: 37712649
Change-Id: I5d63b6359ca478e77479872832f8f759d17c92e6
/packages/apps/DocumentsUI/src/com/android/documentsui/base/DocumentInfo.java
e967033315ed64bca8c89d601d187fd12754f1fb 07-Mar-2017 Garfield Tan <xutan@google.com> Lift loader to activity level.

Also fix a bug that leaves DocumentsUI in a weird state if it fails to
obtain root document.

Change-Id: Ibb67bfd0114f45f41c0000078ca56767b5a4542b
Tests: Manual tests and auto tests.
Bug: 35934082
/packages/apps/DocumentsUI/src/com/android/documentsui/base/DocumentInfo.java
db9fe4875f684757a036dd6b823ef21054040c80 15-Feb-2017 Tomasz Mikolajewski <mtomasz@google.com> Partial files shouldn't be openable as archives.

Test: None
Bug: None
Change-Id: I3c6e216b5a1aa65f1fd4385606915b9d31e7dbca
/packages/apps/DocumentsUI/src/com/android/documentsui/base/DocumentInfo.java
7ad3f9af821d92bd5accb17194a9e5f6df702feb 14-Feb-2017 Tomasz Mikolajewski <mtomasz@google.com> Disallow opening archives in archives.

It's unsupported and may perform badly.

Test: Tested manually.
Bug: 35336928
Change-Id: I2ca14fda8c8ab9ffe54c0cdc7b9d11fa57805cf4
/packages/apps/DocumentsUI/src/com/android/documentsui/base/DocumentInfo.java
e535c577318aee5de9d9f7a311831f220d8de112 25-Nov-2016 Tomasz Mikolajewski <mtomasz@google.com> Files in archives should be only openable by the quick viewer.

Same for sending (aka sharing).

Test: Tested manually by opening an archive on a device without
a quick viewer.
Bug: 33133419

Change-Id: I848aec3d3cd2b2dac6b423749b797f2b0f2f16c9
(cherry picked from commit 5ba2fd50f0a8f2f9619f8dec076ec7f489f8f4df)
/packages/apps/DocumentsUI/src/com/android/documentsui/base/DocumentInfo.java
8659cbccc6fbab79fb6855abe9cb31ee8171b37e 31-Oct-2016 Steve McKay <smckay@google.com> Move roots constants to a shared location.

Include URIs in debug output.
Don't cancel search after dbg: input.

Change-Id: Id0eeb0f2ee2d847c0e88c18320977ed99d3e49bb
/packages/apps/DocumentsUI/src/com/android/documentsui/base/DocumentInfo.java
358c3ecf1a92fcdc83fcf340519cbbd25c49bbd8 21-Oct-2016 Steve McKay <smckay@google.com> Add support for showing debug info on documents.

Shorten debug: prefix to just dbg:
Allow user to pass 0 or 1 as boolean values.
Use DocumentInfo instance to read from cursor in DocumentHolders.
Pass DocumentInfo instance to IconHelper to reduce zillion args.
Eliminate unnecessary State object arg from bind method.
Rename isVirtualDocument isVirtual.
Remove two unused methods from DocumentInfo.
Remove unused grid dimensions.
Address linben's ViewMode comment from previous CL.

Change-Id: I1b0c826677b69a7eaee4ee97415816aaf191121a
/packages/apps/DocumentsUI/src/com/android/documentsui/base/DocumentInfo.java
dbd6b8bd50ac660cb9eb83d0bd39712b65382797 29-Sep-2016 Tomasz Mikolajewski <mtomasz@google.com> DO NOT MERGE: Move archive support library to DocumentsUI.

This if the first step. The tests are not moved, and the original
support library is not deleted yet.

Besides, the new files are basically copy paste.

Change-Id: Ifaac019de00f2d00fe1a69f9a69e62b4d3602c24
Test: Not yet, but coming.
Bug: 31783726
(cherry picked from commit c88c588413ec78ad68afa75fa25549b5ca6a95c4)
/packages/apps/DocumentsUI/src/com/android/documentsui/base/DocumentInfo.java
d9caa6ab53aa784acaf241c0ded3c4ae2d342bf8 16-Sep-2016 Steve McKay <smckay@google.com> Move State to base and root stuff to roots.

And move Shared to base.
And lots more to base.

Change-Id: I8b01264a329473c13c59f0cd25a320ba73dbd82d
/packages/apps/DocumentsUI/src/com/android/documentsui/base/DocumentInfo.java
d080506e3aa8547605cd4783eb660775d7d2b8ee 15-Sep-2016 Steve McKay <smckay@google.com> Move more classes to more specific locations.

Moved .model classes to .base.
Deleted some unused classes.
Moved functional tests into a new .funcitonal package.
Followup to 1450250.

Change-Id: Ic087fe4a014d9179fab3dc6f833aaf73373f9452
/packages/apps/DocumentsUI/src/com/android/documentsui/base/DocumentInfo.java