diff options
author | Svetoslav Ganov <svetoslavganov@google.com> | 2013-09-30 09:04:50 -0700 |
---|---|---|
committer | Svetoslav <svetoslavganov@google.com> | 2013-10-04 11:45:15 -0700 |
commit | 7be27acac922b5ea66ec6b464ded6f057bd6f1e5 (patch) | |
tree | cfc3d44f5fbe42a88de0f540c8c2a0b07a94b37f /packages/PrintSpooler/res/values-zh-rCN/arrays.xml | |
parent | 5c126892ec53772d784fcf9cef9165acf1d92ce3 (diff) | |
download | frameworks_base-7be27acac922b5ea66ec6b464ded6f057bd6f1e5.zip frameworks_base-7be27acac922b5ea66ec6b464ded6f057bd6f1e5.tar.gz frameworks_base-7be27acac922b5ea66ec6b464ded6f057bd6f1e5.tar.bz2 |
Print attributes hint not honored.
1. Initially we have a single printer, the fake PDF printer, and
wait for printers to be discovered. This printer was handling
only a couple of media sizes. Hence, if the app provides a
media size hint and the PDF printer does not support it, we
were essentially ignoring the suggested media size since it
was not supported by the selected printer and we fell back to
the default paper size for that printer. The fake PDF printer
should support all predefined media sizes.
2. The list of available paper sizes was shown in the order they
are added ignoring the current locale. It is much better user
experience if the media sizes used in the current locale are
shown at the top and all others after that. Also the media
sizes for the current locale should be alphabetically ordered
so the user can quickly find the desired one.
3. The orientation was reset on media size or printer change.
bug:10564537
Change-Id: Iaa0d42242730ce69cea3effd4d0f4bc087068804
Diffstat (limited to 'packages/PrintSpooler/res/values-zh-rCN/arrays.xml')
-rw-r--r-- | packages/PrintSpooler/res/values-zh-rCN/arrays.xml | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/packages/PrintSpooler/res/values-zh-rCN/arrays.xml b/packages/PrintSpooler/res/values-zh-rCN/arrays.xml new file mode 100644 index 0000000..4fc75db --- /dev/null +++ b/packages/PrintSpooler/res/values-zh-rCN/arrays.xml @@ -0,0 +1,37 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 2013 The Android Open Source Project + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> +<resources> + + <string-array name="pdf_printer_media_sizes" translatable="false"> + <item>ROC_8K</item> + <item>ROC_16K</item> + <item>PRC_1</item> + <item>PRC_2</item> + <item>PRC_3</item> + <item>PRC_4</item> + <item>PRC_5</item> + <item>PRC_6</item> + <item>PRC_7</item> + <item>PRC_8</item> + <item>PRC_9</item> + <item>PRC_10</item> + <item>PRC_16K</item> + <item>OM_PA_KAI</item> + <item>OM_DAI_PA_KAI</item> + <item>OM_JUURO_KU_KAI</item> + </string-array> + +</resources> |