History log of /packages/apps/Settings/src/com/android/settings/print/PrintSettingsFragment.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
0ec96fe64cea4d27e866fc2dc17b799cf9c265a4 05-Jun-2015 Makoto Onuki <omakoto@google.com> Promote "add service" from menu to list item

Also show the app icon for each service.

Bug 19914125

Change-Id: I592c526746a3ec9f67e8e8a6c6f1530e7724e310
/packages/apps/Settings/src/com/android/settings/print/PrintSettingsFragment.java
28c3f6bb71da1727fdc39bdc622518b1daeb3b0a 22-Apr-2015 Maurice Lam <yukl@google.com> [WifiSettings] Add progress bar when scanning

Add a progress bar when the Wi-Fi screen is in a transient state,
like enabling, disabling Wi-Fi and scanning for network. This change
sets the progress bar as a pinned header at the top of the activity.

The pinned header container needs to be match parent so that the
progress bar can occupy the full width of the screen. If the header
view doesn't want to fill the width, then the header view *inside*
the container should be wrap_content.

Added an overloaded setPinnedHeader method that takes a layout
resource ID, and returns the view to the caller. This way the
inflater can set the parent property so that layout params will not
be ignored.

Bug: 17389577
Change-Id: I18d0eb7c72ad31d1c4b35a54789016c32c81fb93
/packages/apps/Settings/src/com/android/settings/print/PrintSettingsFragment.java
23acc2bb8af7da000d72a8c1d8c28a2792200348 14-Apr-2015 Jason Monk <jmonk@google.com> Allow help to be defined to intent uri

Allow help uris to be either an intent uri or as uri (as they were
before). Also add a default help uri, and specific helps for several
screens.

Bug: 15475009
Change-Id: Iff982892973f01d32ff61ea88d4844e9a7153500
/packages/apps/Settings/src/com/android/settings/print/PrintSettingsFragment.java
8a963babe2e36b7a41f77b8d2598c97658196e58 20-Mar-2015 Chris Wren <cwren@android.com> log visibility of views

Depends-On: I5b1dccb5d103ece3112acf38889bae16273b092f
Change-Id: I116aed2bb805f723a5bf2ec9eb94257de0b4a7b5
/packages/apps/Settings/src/com/android/settings/print/PrintSettingsFragment.java
2ebc8a01696c4e7dd29863b92a15ae0bbbbb254d 13-Feb-2015 Jason Monk <jmonk@google.com> Allow system apps to add to settings dashboard

Allow system apps to add a tile to the top level of settings that
links to an activity through adding a filter for a specific action.
Determine the info for the tile based off manifest info for the
activity. Also allow the same for managed profiles, but show a dialog
in between to select which profile.

The category in which the item is to be placed must be in meta-data.
The icon and title can be specified through meta-data as well or
if unspecified the activity's label and icon will be used.

Also added an optional <external-tiles> tag to the dashboard
category xml, this allows Settings to put external tiles
in the middle of some categories (Personal does this).

Bug: 19443117
Change-Id: Idc9938d1549d181103a3030a8784b527215a8399
/packages/apps/Settings/src/com/android/settings/print/PrintSettingsFragment.java
9a23adf69dc53126c9858b19760eab5b67c23b97 18-Mar-2015 John Spurlock <jspurlock@google.com> Settings: Remove all unused imports.

Change-Id: Iebfa52cb849d69974c94902b0b020893cf5618a3
/packages/apps/Settings/src/com/android/settings/print/PrintSettingsFragment.java
6cfe7996541d608438fa7bec2cbad813ace93a4f 14-Jan-2015 Svetoslav <svetoslavganov@google.com> Settings not showing print jobs for a managed profile.

The settings app is shared among the personal and work profiles.
When fetching print jobs it was not getting the ones for the work
profile, rather the ones for the current user which is the personal
profile.

bug:18867406

Change-Id: I99f8cf3a3e2b133a0a4d5a8915473d1190e205f4
/packages/apps/Settings/src/com/android/settings/print/PrintSettingsFragment.java
06cd50177a4eddf6e8fc86a5b935f6985d8d82c9 18-Sep-2014 Alexandra Gherghina <alexgherghina@google.com> Reset spinner selection

This makes sure that when you go back to the spinner screen, the
selection is the one corresponding to the current profile.

Bug: 17378446
Change-Id: I536cc2701f9481986a63df1b01a38151edf2fa83
/packages/apps/Settings/src/com/android/settings/print/PrintSettingsFragment.java
031e8b14322ec0a4ec3620de920fd5966290625c 11-Sep-2014 Svetoslav <svetoslavganov@google.com> Fix print icons in settings.

The print icons are in the framework resources and are not tinted
to enable usage from various places such as print spooler and
settings with different tinting. Settings was using not-tinted
print icons which were invisible on the white background. This
change switches settings to user tinted drawables.

bug:16966145

Change-Id: I2cf55d36d90b0192ba23686aac4f1d8e7e23f75a
/packages/apps/Settings/src/com/android/settings/print/PrintSettingsFragment.java
56645002b2729c1f7696529e530164a031fb7978 04-Sep-2014 Alexandra Gherghina <alexgherghina@google.com> Reset Settings task when using the user switcher

Bug: 17294618
Change-Id: I8bd9d7226e52017938828f3bc195cc995fe80b20
/packages/apps/Settings/src/com/android/settings/print/PrintSettingsFragment.java
80e1f1bfdb814a08fb8b07b2e279285d495042e9 31-Jul-2014 Alexandra Gherghina <alexgherghina@google.com> Extract common functionality for profile spinner into Utils

Bug: 16645615
Change-Id: Ic8928fff8294cd99eeb86b69b44b8e4128cadf92
/packages/apps/Settings/src/com/android/settings/print/PrintSettingsFragment.java
01daaca5475930e394295b06f5a46dc057b44b0f 29-Jul-2014 Svetoslav <svetoslavganov@google.com> Remove unnecessary code.

Change-Id: I4a81cd7f855bb075ab71f6c6c812288e3677c90a
/packages/apps/Settings/src/com/android/settings/print/PrintSettingsFragment.java
fe47a8dc89fe0393dae16b1c2152c901feab4dcb 18-Jul-2014 Alexandra Gherghina <alexgherghina@google.com> Toggle between primary and managed profile in Print Settings

This adds a spinner to the print settings screen which can be used to toggle
between the Settings app in the primary and managed profile so that the user
can edit settings belonging to both profiles.

Bug: 16369104
Change-Id: I2556a331d09379c2a501bc6b192ab1631b5215f5
/packages/apps/Settings/src/com/android/settings/print/PrintSettingsFragment.java
d729029b904d43c5c6d06f1d95004fe35445873d 01-Jul-2014 Fabrice Di Meglio <fdimeglio@google.com> Fix some Dashboard top categories not showing for Search

- fix Date & time / Printing / Security

See bug: #12910134 Implement Search into the Settings App

Change-Id: I7e96eb35a6802fde7589ccfe244e71f8be43dea8
/packages/apps/Settings/src/com/android/settings/print/PrintSettingsFragment.java
11a67c14a2969668d00d30a43d12e0685596884f 02-Jun-2014 Fabrice Di Meglio <fdimeglio@google.com> Push Local Printer Search action to the ActionMenu

See bug #14325350 Printing > CloudPrint ActionBar is overcrowded

Change-Id: I9c7ca08ecbcf2a918239d952dc8c23315c46f152
/packages/apps/Settings/src/com/android/settings/print/PrintSettingsFragment.java
7ba17ab12c90c24cf0baa6644a64c962cb92b699 16-May-2014 Fabrice Di Meglio <fdimeglio@google.com> Use SwitchBar for Print Settings

- follow up CL to 41937766981423c9252e12e3319b2e7532739627

Related to bug #14898161 On/Off switches must move down from Action Bar

Change-Id: Ife4990a52ef282563267dc0bff6d3a7f354b0bd0
/packages/apps/Settings/src/com/android/settings/print/PrintSettingsFragment.java
63609c58a0ae857cc6ec62d28d73e2a0fb8241e9 22-Apr-2014 Fabrice Di Meglio <fdimeglio@google.com> Rename SettingsUtils to PrintSettingsUtils

Change-Id: I67e9222265f6326b399de3779f2210e202777ecd
/packages/apps/Settings/src/com/android/settings/print/PrintSettingsFragment.java
7e920da6564032ddcc40db95925083ef59d19e58 21-Apr-2014 Fabrice Di Meglio <fdimeglio@google.com> Code cleaning

- remove duplicate semicolon

Change-Id: I807ce89dfa6b46c415a95a9c6cdc71fd3e9a2502
/packages/apps/Settings/src/com/android/settings/print/PrintSettingsFragment.java
c853a4282d0511d4a6886dfa95000c4dddff6a31 19-Apr-2014 Fabrice Di Meglio <fdimeglio@google.com> Enable highlighting of Print services

- add to SettingsPreferenceFragment to know when the associated
RootAdapter is changing and thus being able to find the highlighted
Preference
- also, add the correct Search key during indexing. She should
match the one created when adding dynamically the Preference
- last, increase to 400ms the delay to do the highlight

Change-Id: I3a1a81fdf5c8ab5f3aaab29f16ea9879ab6df056
/packages/apps/Settings/src/com/android/settings/print/PrintSettingsFragment.java
7476f5b904f16a0b330a99fc0f7d900a722554ea 19-Apr-2014 Fabrice Di Meglio <fdimeglio@google.com> Fix Print title name in search results

- use R.string.print_settings

Change-Id: I3a945aed9efbc323e865db1cdbcfd8ceeb6b2558
/packages/apps/Settings/src/com/android/settings/print/PrintSettingsFragment.java
ede14355180b84c634cade7e3f02d67be64cbff4 19-Apr-2014 Fabrice Di Meglio <fdimeglio@google.com> Make all the Settings Switches appear again

- use the ActionBar Theme context when creating the Switch for
getting the correct Theming

Change-Id: Ic3701c53662b0f245c7149b119de8bb5cbaae232
/packages/apps/Settings/src/com/android/settings/print/PrintSettingsFragment.java
d78d44d32ae76e4eab843504114446dec3b22ed3 12-Apr-2014 Svetoslav <svetoslavganov@google.com> Adding search for dynamic print settings.

The print service list is dynamically constructed, therefore we need
a local provider that will emit print service data to be indexed.

bug:13929163

Change-Id: I51d5ae40c00edc6be7b212dc8aa08fd7ebfbf349
/packages/apps/Settings/src/com/android/settings/print/PrintSettingsFragment.java
97e962cd36e1a2bbadc264ec9ce8627a7decf268 15-Nov-2013 Svetoslav <svetoslavganov@google.com> Show correct message for a print job that is being canceled.

1. If a print job is being canceled we now show appropriate
message that matches what the notification shows.

2. If a print job is being canceled we do not show the cancel
button.

bug:11696928

Change-Id: I0fc4f8226c4aa9acd6a4b65811f4228e56018315
/packages/apps/Settings/src/com/android/settings/print/PrintSettingsFragment.java
d9f156ddf072775c894db1ca3c3fe8989be4dbeb 10-Oct-2013 Svetoslav <svetoslavganov@google.com> Coalescing multiple print job notifications (Settings)

We used to show a single notificaiton for every print job but
this is against th UX guidelines. Since we have to lead by
example, this change adds coalescing of multiple notifications.

bug:11155212

Change-Id: I865450495e7e85bd6620c1f42aeef07d2f83a01a
/packages/apps/Settings/src/com/android/settings/print/PrintSettingsFragment.java
5c3052936883038d25b2afe52c2dd023e9aa6812 01-Oct-2013 Svetoslav <svetoslavganov@google.com> Remove Google Play specific search URIs from Settings.

1. If there are no installed print services or NFC payment services,
we would like to allow the user to search for one in Play. However,
Play is Google specific and we should not have hard coded URI that
rely on it in settings. Declare secure settings for each of these
URI and check at runtime if the URI is non-empty, then show the
add menu item.

bug:11011519

Change-Id: I2c5cb172015bbecd7d2f8ffd3cb7fd790b01dab8
/packages/apps/Settings/src/com/android/settings/print/PrintSettingsFragment.java
bc2c3db8f923b9ee25345f5ebbad9f6c762a1e23 24-Sep-2013 Svetoslav Ganov <svetoslavganov@google.com> Add print job settings screen.

Added a list of active print jobs to the main print settings
screen. Selecting a print job from there leads to a print job
settings screen with more information about the print job and
actions to change the prit job state such as cancel and restart.

bug:10935736

Change-Id: Idd6826a998309941c3d8478dafe4b039c8ca4f45
/packages/apps/Settings/src/com/android/settings/print/PrintSettingsFragment.java
0ad40283bb6b811c26874af3fccf25745f63de8d 21-Sep-2013 Svetoslav <svetoslavganov@google.com> Offer to enable a print service after it is installed (Settings).

The user has to explicitly enable a print service from the settings UI
before using it. Usually, users very rarely if at all interact with print
services, therefore all print service management task are performed from
the print settings. We also have to get user consent warning that the
user's data is about to be given to a third-party app. We now post a
notification allowing the user to go directly to the settings screen to
turn the service on.

bug:10447510

Change-Id: Ibfb5368a09b1e012dd6dd0f3d33a5ad10e5ee00e
/packages/apps/Settings/src/com/android/settings/print/PrintSettingsFragment.java
74648ac808b6a625f6c91035a263822b3765215d 05-Sep-2013 Svetoslav Ganov <svetoslavganov@google.com> Print settings polish

1. Added support for launching the top level print settings.

2. Updated some strings.

3. Removed the uninstall option for a print service.

4. Added search for the list of printers of a print service.

Change-Id: I9e175ba78b2d22b2bf90cf79153dc73327dfaff1
/packages/apps/Settings/src/com/android/settings/print/PrintSettingsFragment.java
2d531653595344ed7e61c093dca308b9ba7ec185 04-Sep-2013 Svetoslav <svetoslavganov@google.com> Implementing print settings as per UX spec.

Change-Id: Iafe99a1e959472f893cf168d952d9dd19ff160c0
/packages/apps/Settings/src/com/android/settings/print/PrintSettingsFragment.java