diff options
author | Christopher Tate <ctate@google.com> | 2010-07-26 11:24:18 -0700 |
---|---|---|
committer | Christopher Tate <ctate@google.com> | 2010-07-28 15:33:28 -0700 |
commit | b100cbf178e91d6652ebbad3ed36684cacb9d10e (patch) | |
tree | acb386c8adee2d0390193fc631f841f8d76ea5d7 /tests/LargeAssetTest/res/values | |
parent | 0c39b6c65bcb96ed6438c7d792a67708409d8f0f (diff) | |
download | frameworks_base-b100cbf178e91d6652ebbad3ed36684cacb9d10e.zip frameworks_base-b100cbf178e91d6652ebbad3ed36684cacb9d10e.tar.gz frameworks_base-b100cbf178e91d6652ebbad3ed36684cacb9d10e.tar.bz2 |
Support streaming of compressed assets > 1 megabyte
Compressed assets larger than one megabyte are now decompressed on demand
rather than being decompressed in their entirety and held in memory. Reading
the data in order is relatively efficient, as is seeking forward in the stream.
Seeking backwards is supported, but requires reprocessing the compressed data
from the beginning, so is very inefficient.
In addition, the size limit on compressed assets has been eliminated.
Change-Id: I6e68247957e6c53e7e8ba70d12764695f1723bad
Diffstat (limited to 'tests/LargeAssetTest/res/values')
-rw-r--r-- | tests/LargeAssetTest/res/values/strings.xml | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/tests/LargeAssetTest/res/values/strings.xml b/tests/LargeAssetTest/res/values/strings.xml new file mode 100644 index 0000000..54478fa --- /dev/null +++ b/tests/LargeAssetTest/res/values/strings.xml @@ -0,0 +1,23 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 2010 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 name="prompt">Click the button below to read and validate the large binary asset.</string> + <string name="button_text">Validate the asset</string> + +</resources> + |