Commit Graph

857 Commits

Author SHA1 Message Date
Android (Google) Code Review
3e6438995b Merge change 5091 into donut
* changes:
  * new screen resolution support impl.   * use full window for activities, and shift & clip the content   * refactored the compatibility code, and introdcued Translator class to handle cooridnate translations.   * removed a workaround to handle an activity with configChagne=rotation in old implementation.   * I'll fix background issue on rotation in next CL.
2009-06-24 17:53:57 -07:00
Android (Google) Code Review
d7a055a03f Merge change 5289 into donut
* changes:
  Fix TextView's fading edge when compound drawables are setup.
2009-06-24 17:18:48 -07:00
Android (Google) Code Review
0dc0e02445 Merge change 5196 into donut
* changes:
  Modify the IBackupTransport API to support bulk restore operations. Change the BackupManagerService and LocalTransport to support the new API.
2009-06-24 16:52:16 -07:00
Android (Google) Code Review
4d3273dcc0 Merge change 5259 into donut
* changes:
  Adding TTS_QUEUE_PROCESSING_COMPLETED action to the list of Intents
2009-06-24 16:25:29 -07:00
Android (Google) Code Review
fd69c79a11 Merge change 5248 into donut
* changes:
  Spell out the month names in the de_AT date format file.
2009-06-24 15:55:48 -07:00
Android (Google) Code Review
abcdcd7bed Merge change 5171 into donut
* changes:
  Track native processes and airplane mode.
2009-06-24 15:21:16 -07:00
Android (Google) Code Review
b7655ae567 Merge change 4556 into donut
* changes:
  Added info about mcc and mnc, plus other changes per http://b/1918247; rewrote "How Android find best match" section per rgreenwalt's comments and added flowchart.
2009-06-24 14:32:40 -07:00
Android (Google) Code Review
50870119ea Merge change 5240 into donut
* changes:
  Fixing the synth function so that queue processing continues.
2009-06-24 14:03:33 -07:00
Android (Google) Code Review
b6ab1e9010 Merge change 5243 into donut
* changes:
  Only report "unknown metadata" once per restore helper
2009-06-24 13:58:52 -07:00
Christopher Tate
bd95c1d3af Only report "unknown metadata" once per restore helper
Also removes the auto-free object, replacing it with direct memory manipulation.
2009-06-24 13:57:29 -07:00
Android (Google) Code Review
56a183daf2 Merge change 5238 into donut
* changes:
  Fix the weird anchoring of the search dropdown when pivoting into an app for search. (This started when we moved to system process, not sure why then, but we should be getting the dropdown to update at this point regardless.)
2009-06-24 13:54:28 -07:00
Android (Google) Code Review
b24aebb3f1 Merge change 5226 into donut
* changes:
  Fix bug in TTS service where the language setting was using the default language when the setting wasn't enforced, and vice-versa. Cleaning the log of the native TTS layer to use LOGV for verbose messages, rather than LOGI.
2009-06-24 13:15:05 -07:00
Android (Google) Code Review
581fbec215 Merge change 5237 into donut
* changes:
  Calling setItemChecked(p, true) twice would toggle the selection in ListView.
2009-06-24 12:59:15 -07:00
Android (Google) Code Review
eff8b7ef72 Merge change 5236 into donut
* changes:
  RelativeLayout was ignoring some dependencies.
2009-06-24 12:44:30 -07:00
Android (Google) Code Review
ae0dcb536b Merge change 5220 into donut
* changes:
  Cleanup header file. Disallow copy of Camera object by making copy constructor and operator= private.
2009-06-24 12:26:02 -07:00
Christopher Tate
6441a76b2e Put back LOGP -> printf in the backup helper code 2009-06-24 11:20:51 -07:00
Android (Google) Code Review
8068d16df6 Merge change 5162 into donut
* changes:
  Preserve file access mode when backing up / restoring files
2009-06-24 11:18:01 -07:00
Dave Sparks
f5a8faa751 Cleanup header file. Disallow copy of Camera object by making copy
constructor and operator= private.
2009-06-24 10:42:53 -07:00
Android (Google) Code Review
fd9e3c5546 Merge change 5142 into donut
* changes:
  Fix NPE in GradientDrawable constructor
2009-06-24 09:48:07 -07:00
Android (Google) Code Review
43b4f796bb Merge change 5172 into donut
* changes:
  Remove deprecated callback function support. This is the last of a 3-part change to modify the camera to use a more streamlined callback interface. This change removes the old code. Bug 1884362
2009-06-24 09:10:05 -07:00
Android (Google) Code Review
e1a75447f5 Merge change 5158 into donut
* changes:
  Use a ref-counted callback interface for Camera. This allows the camera service to hang onto the callback interface until all callbacks have been processed. This prevents problems where pending callbacks in binder worker threads are processed after the Java camera object and its associated native resources have been released. Bug 1884362
2009-06-24 08:34:34 -07:00
Dave Sparks
dc76f7bfa1 Remove deprecated callback function support.
This is the last of a 3-part change to modify the camera to use
a more streamlined callback interface. This change removes the
old code.
Bug 1884362
2009-06-24 07:58:27 -07:00
Dave Sparks
bbbc7cb77e Use a ref-counted callback interface for Camera.
This allows the camera service to hang onto the callback interface
until all callbacks have been processed. This prevents problems
where pending callbacks in binder worker threads are processed
after the Java camera object and its associated native resources
have been released.
Bug 1884362
2009-06-24 07:58:27 -07:00
Android (Google) Code Review
c8be159ba6 Merge change 5190 into donut
* changes:
  Fix 1933269: startPreview failed.
2009-06-24 01:02:46 -07:00
Chih-Chung Chang
fa89f9f897 Fix 1933269: startPreview failed.
The reason we need this count is a new CameraService::connect() request may
come in while the previous Client's destructor has not been run or is still
running. If the last strong reference of the previous Client is gone but
destructor has not been run, we should not allow the new Client to be created
because we need to wait for the previous Client to tear down the hardware
first.
2009-06-24 15:50:57 +08:00
Android (Google) Code Review
fae6a84c56 Merge change 5188 into donut
* changes:
  Fixes #1905761. Updates the height of ACTV's drop down whenever the IME changes.
2009-06-23 22:46:29 -07:00
Android (Google) Code Review
dc1bcbf178 Merge change 5176 into donut
* changes:
  Export the output to a text file and save to sdcard
2009-06-23 19:51:00 -07:00
Android (Google) Code Review
afc52f99e1 Merge change 5129 into donut
* changes:
  Improve RelativeLayout by allowing dependencies to be declared in a random order.
2009-06-23 17:48:11 -07:00
Christopher Tate
5c2882b25c Preserve file access mode when backing up / restoring files
This change adds a fixed-size metadata block at the head of each file's content
entity.  The block is versioned, and fixed-size on the theory that it might be
nice to be able to recover the content (if not the full metadata) of the files
if we're ever confronted with data backed up some hypothetical future helper
that stored expanded metadata.

The net effect is that now on restore, we assign the same access mode to the
file that it originally had when backed up.

Also, some of the code was failing to properly free transient heap-based buffers
when it encountered errors.  This has been fixed with the addition of a tiny
stack-based object whose job it is to free() its designated pointer from its
destructor.
2009-06-23 17:40:44 -07:00
Android (Google) Code Review
4b1af26754 Merge change 5119 into donut
* changes:
  Adding support for pitch changes of the synthesized text in Text-To-Speech.
2009-06-23 15:50:43 -07:00
Android (Google) Code Review
612a7bdd47 Merge change 5100 into donut
* changes:
  Fill in CDMA gaps and clean up ToneGenerator code
2009-06-23 13:38:34 -07:00
Christopher Tate
ab2e9e81e1 Add file mode to the file-backup saved state blobs
This change puts the file's access mode into the saved-state blob used by the
file backup helpers.  The tests have been updated for the new blob content
format.

What this change *doesn't* do is actually backup/restore the file mode.  This
change is a prerequisite for that, but mode preservation in backup/restore will
require adding metadata to the backup data stream itself, so will be approached
a bit more carefully.

(Also fixed one outright bug in the test program: ReadEntityData() had been
changed to return a ssize_t union of either a byte-count or a negative number
indicating error, but the test program was still assuming that nonzero == error,
and was spuriously failing.)
2009-06-23 13:07:47 -07:00
Android (Google) Code Review
e9107fd745 Merge change 5054 into donut
* changes:
  Rollback the number of loop in the memory stress test
2009-06-23 10:09:03 -07:00
Android (Google) Code Review
85845dcded Merge change 4878 into donut
* changes:
  Add smalltest annotation to HardwareServicePermissionTest.
2009-06-23 09:52:21 -07:00
Android (Google) Code Review
610f4dbe21 Merge change 5024 into donut
* changes:
  Remove opengl tests from tests build
2009-06-22 18:30:40 -07:00
Android (Google) Code Review
da4e89dc31 Merge change 5014 into donut
* changes:
  Fix issue #1933587.  Perform dexopt of instrumentation .apks.
2009-06-22 18:30:05 -07:00
Android (Google) Code Review
6bca3daec9 Merge change 5035 into donut
* changes:
  add glTexParameteri() and fix glTexParameteriv()
2009-06-22 18:18:39 -07:00
Mathias Agopian
b12f99b315 add glTexParameteri() and fix glTexParameteriv() 2009-06-22 18:09:09 -07:00
Sriram Raman
8c1127fbe3 Remove opengl tests from tests build 2009-06-22 17:22:12 -07:00
Android (Google) Code Review
8ae84423fd Merge change 4885 into donut
* changes:
  Merge the output file into one.
2009-06-22 17:14:59 -07:00
Android (Google) Code Review
7c4fa86d2f Merge change 5006 into donut
* changes:
  Pass the originating app's versionCode along with a restore set
2009-06-22 16:47:06 -07:00
Android (Google) Code Review
94116aeb6b Merge change 4990 into donut
* changes:
  Fix a few more blatantly wrong date formats.
2009-06-22 16:45:20 -07:00
Android (Google) Code Review
6e510838fc Merge change 4961 into donut
* changes:
  Set organizations to be null for generateKeyPair to use the default.
2009-06-22 16:22:33 -07:00
Android (Google) Code Review
e77efd3ea5 Merge change 4977 into donut
* changes:
  Update the gservices gtalk setting for the terms and services url.
2009-06-22 15:45:31 -07:00
Android (Google) Code Review
cc33ce7046 Merge change 4965 into donut
* changes:
  Fix bugs 1827027, 1808979, 1820700.
2009-06-22 14:31:21 -07:00
Android (Google) Code Review
cfb991d1f8 Merge change 4910 into donut
* changes:
  fix warnings that will show up with GCC 4.4 (in master)
2009-06-22 14:01:25 -07:00
Android (Google) Code Review
7412caaa8c Merge change 4947 into donut
* changes:
  Yet another round of trying to get the date formats right.
2009-06-22 13:48:02 -07:00
Android (Google) Code Review
1c34a75937 Merge change 4954 into donut
* changes:
  gps: Check for null APN name to avoid a runtime restart.
2009-06-22 13:22:48 -07:00
Android (Google) Code Review
2e69f210fd Merge change 4952 into donut
* changes:
  Helper API cleanup.  Allows multiple helpers to function, because they'll always go in the same order, and this lets us not have to write headers to keep them paired.
2009-06-22 13:18:09 -07:00
Android (Google) Code Review
149b67dd30 Merge change 4477 into donut
* changes:
  BulkCursorToCursorAdaptor.respond no longer assumes RemoteException is impossible, fails more gracefully.
2009-06-22 13:02:36 -07:00