summaryrefslogtreecommitdiffstats
path: root/core
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | | Tweak the core and maximum pool sizes for AsyncTask.Romain Guy2009-06-261-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change allows up to 5 AsyncTasks to run concurrently. Before, only 1 task could run at a time, which was too limited. This change also bumps up the maximum number of tasks that can be created; this large number is not an issue because tasks are queued up and run only 5 at a time.
* | | | | | Don't crash in various ways when using backup services too earlyChristopher Tate2009-06-261-6/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | BackupManager now no longer tries to use a null service binder if it's used early during the boot process. ActivityManagerService no longer tries to dereference null pointers if bind/unbind semantics get out of step due to things being run too early.
* | | | | | Merge change 5537 into donutAndroid (Google) Code Review2009-06-261-1/+1
|\ \ \ \ \ \ | |_|/ / / / |/| | | | | | | | | | | | | | | | | * changes: Add a test for SharedPreferencesBackupHelper
| * | | | | Add a test for SharedPreferencesBackupHelperJoe Onorato2009-06-261-1/+1
| | |/ / / | |/| | | | | | | | | | | | | | | | | | (which nobody had ever tested. I like it when stuff just works the first time).
* | | | | Merge change 5447 into donutAndroid (Google) Code Review2009-06-261-1/+5
|\ \ \ \ \ | |/ / / / |/| | | | | | | | | | | | | | * changes: Adding skeleton methods for IPA support.
| * | | | Adding skeleton methods for IPA support.Charles Chen2009-06-261-1/+5
| | | | |
* | | | | framework: process: Set the control group of a thread to the background groupSan Mehat2009-06-261-2/+2
| |_|_|/ |/| | | | | | | | | | | | | | | | | | | if the priority is logically-lower than ANDROID_PRIORITY_BACKGROUND Signed-off-by: San Mehat <san@google.com>
* | | | Add a new IRestoreObserver callback class to the restore processChristopher Tate2009-06-252-1/+54
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The observer is told when restore begins how many packages are being restored. It then gets an onUpdate() call telling it that the Nth package is now undergoing restore. Ultimately, its restoreFinished() callback is invoked, passing a simple success/fail error code, to let it know that the restore operation has concluded.
* | | | Make the BackupHelperDispatcher properly handle multiple helpers.Joe Onorato2009-06-256-9/+330
|/ / /
* | | Keep track of backup state independently for each transportChristopher Tate2009-06-252-0/+22
|/ / | | | | | | | | | | | | | | | | | | | | | | | | Backup transports now provide the Backup Manager with a suggested name with which it can disambiguate any transport-specific bookkeeping that it needs to maintain. The Manager keeps separate application backup 'state blobs' for each transport now, preventing things from getting out of step if the device is switched among multiple transports. Also, the metadata backup agent is always invoked now on each backup pass. This is cheap when there is nothing to do, but also strongly ensures that we never wind up in a situation where a given transport destination has not been given all of the metadata necessary for the backup set.
* | Merge change 5428 into donutAndroid (Google) Code Review2009-06-251-3/+8
|\ \ | | | | | | | | | | | | * changes: Improve handling of FILL_PARENT in RelativeLayout.
| * | Improve handling of FILL_PARENT in RelativeLayout.Romain Guy2009-06-251-3/+8
| | | | | | | | | | | | This was causing trouble with VideoView, in Gallery in particular.
* | | Merge change 5350 into donutAndroid (Google) Code Review2009-06-254-1/+290
|\ \ \ | | | | | | | | | | | | | | | | * changes: move ui/Time.cpp to core/jni, since this is the only place it is used
| * | | move ui/Time.cpp to core/jni, since this is the only place it is usedMathias Agopian2009-06-254-1/+290
| | | |
* | | | Merge change 5414 into donutAndroid (Google) Code Review2009-06-251-52/+41
|\ \ \ \ | |_|/ / |/| | | | | | | | | | | * changes: Add caching of the speech rate and language in android.speech.tts.TextToSpeech so the speech params can be passed along in calls for text synthesis.
| * | | Add caching of the speech rate and language in android.speech.tts.TextToSpeechJean-Michel Trivi2009-06-251-52/+41
| |/ / | | | | | | | | | so the speech params can be passed along in calls for text synthesis.
* | | Merge change 5417 into donutAndroid (Google) Code Review2009-06-251-12/+69
|\ \ \ | | | | | | | | | | | | | | | | * changes: Fixes #1943309. RelativeLayout was confused by gravities.
| * | | Fixes #1943309. RelativeLayout was confused by gravities.Romain Guy2009-06-251-12/+69
| |/ / | | | | | | | | | | | | | | | | | | | | | RelativeLayout, when measured with AT_MOST, was applying the gravity on its children way too early. This caused the RL to set its measured size to a value that was larger than necessary. This fixes the issue by deferring the positioning of the gravity-dependent children until the dimensions of the layout are known.
* | | Merge change 5413 into donutAndroid (Google) Code Review2009-06-251-1/+1
|\ \ \ | |/ / |/| | | | | | | | * changes: Need to write the correct float math.
| * | Need to write the correct float math.Grace Kloba2009-06-251-1/+1
| | |
* | | Merge change 5397 into donutAndroid (Google) Code Review2009-06-251-11/+26
|\ \ \ | | | | | | | | | | | | | | | | * changes: Fixes #1943915. Prevents circular dependency exception when using several NO_ID views.
| * | | Fixes #1943915. Prevents circular dependency exception when using several NO_IDRomain Guy2009-06-251-11/+26
| | | | | | | | | | | | | | | | views.
* | | | Merge change 5385 into donutAndroid (Google) Code Review2009-06-251-14/+66
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | * changes: Updating the TextToSpeech.java with skeleton methods.
| * | | | Updating the TextToSpeech.java with skeleton methods.Charles Chen2009-06-251-14/+66
| | | | |
* | | | | Merge change 5390 into donutAndroid (Google) Code Review2009-06-251-3/+5
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | * changes: When mPreventDrag is true, don't respond to long press. This should prevent the context menu popping up in the Map sites.
| * | | | | When mPreventDrag is true, don't respond to long press. This should prevent ↵Grace Kloba2009-06-251-3/+5
| | |_|/ / | |/| | | | | | | | | | | | | the context menu popping up in the Map sites.
* | | | | Merge change 5389 into donutAndroid (Google) Code Review2009-06-251-1/+1
|\ \ \ \ \ | |_|_|/ / |/| | | | | | | | | | | | | | * changes: Skip spaces and tabs in readProcLines()
| * | | | Skip spaces and tabs in readProcLines()Amith Yamasani2009-06-251-1/+1
| | |/ / | |/| | | | | | | | | | This is to fix a problem in the parsing of /proc/pid/status file.
* | | | Fixes #1940605. RelativeLayout was swapping horizontal and verticalRomain Guy2009-06-251-2/+2
| | | | | | | | | | | | | | | | dependencies.
* | | | Merge change 5288 into donutAndroid (Google) Code Review2009-06-251-0/+7
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | * changes: Invoke getSystem.updateConfiguration when binding an application to update config changes in Resources.mSystem Since Resources is preloaded in the zygote, system resources in Resources need to be updated with config changes every time an application is started
| * | | | Invoke getSystem.updateConfiguration when binding an application toSuchi Amalapurapu2009-06-251-0/+7
| | |/ / | |/| | | | | | | | | | | | | | | | | | update config changes in Resources.mSystem Since Resources is preloaded in the zygote, system resources in Resources need to be updated with config changes every time an application is started
* | | | Merge change 5386 into donutAndroid (Google) Code Review2009-06-251-0/+3
|\ \ \ \ | |/ / / |/| | | | | | | | | | | * changes: Fixes #1940839. Prevents NPE in RelativeLayout when a non-existing View is targeted.
| * | | Fixes #1940839. Prevents NPE in RelativeLayout when a non-existing View isRomain Guy2009-06-251-0/+3
| | | | | | | | | | | | | | | | targeted.
* | | | Add ZoomDensity so that we can change the desired default scale.Grace Kloba2009-06-253-11/+88
| |/ / |/| | | | | | | | Fix a bug where we didn't adjust the viewport scale according to our density.
* | | Merge change 5351 into donutAndroid (Google) Code Review2009-06-252-5/+17
|\ \ \ | | | | | | | | | | | | | | | | * changes: Add a method to Process to get uid for a pid.
| * | | Add a method to Process to get uid for a pid.Amith Yamasani2009-06-242-5/+17
| | | | | | | | | | | | | | | | | | | | Use the uids to track native processes. Cache the uids to avoid checking /proc every time.
* | | | Merge change 5329 into donutAndroid (Google) Code Review2009-06-241-0/+44
|\ \ \ \ | |/ / / |/| | | | | | | | | | | * changes: frameworks/base - CDMA settings additions
| * | | frameworks/base - CDMA settings additionsDavid Krause2009-06-241-0/+44
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | These changes are the frameworks/base portion of CDMA UI changes. Five settings are added: - In-call DTMF type (burst or long) - Emergency tone type - CDMA auto-retry - Hearing Aid Compatibility (on/off) - TTY mode
* | | | Merge change 5319 into donutAndroid (Google) Code Review2009-06-241-8/+20
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | * changes: Add new APIs to LauncherActivity to be used elsewhere.
| * | | | Add new APIs to LauncherActivity to be used elsewhere.Dianne Hackborn2009-06-241-8/+20
| | | | |
* | | | | Merge change 5317 into donutAndroid (Google) Code Review2009-06-243-0/+102
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | * changes: Start backing up wallpaper
| * | | | | Start backing up wallpaperChristopher Tate2009-06-243-0/+102
| | |_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This CL does the following: + adds an AbsoluteFileBackupHelper class for managing backup of files known by absolute path, not based off of the app's getFilesDir() root + bumps up the collection interval from its testing-only default of 1 second to 3 minutes + adds a SystemBackupAgent class to the main system package and names it as the android:backupAgent for the main OS package. Right now this agent only backs up & restores the wallpaper file. + amend the Wallpaper Service to inform the Backup Manager when the wallpaper changes. On the subject of the 3-minute collection interval before the backup actually occurs: this can be short-circuited from an adb shell. Running the command 'bmgr run' will cause the Backup Manager to kick off any pending backup operations immediately.
* | | | | Merge change 5091 into donutAndroid (Google) Code Review2009-06-249-195/+533
|\ \ \ \ \ | |/ / / / |/| | | | | | | | | | | | | | * 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.
| * | | | * new screen resolution support impl.Mitsuru Oshima2009-06-239-195/+533
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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. * removed unnecessary scaling code in SurfaceView, which I forgot to remove when I changed SurfaceView not to scale the content.
* | | | | Merge change 5289 into donutAndroid (Google) Code Review2009-06-241-6/+9
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | * changes: Fix TextView's fading edge when compound drawables are setup.
| * | | | | Fix TextView's fading edge when compound drawables are setup.Romain Guy2009-06-241-6/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | TextView was not correctly taking into account the extra space taken by compound drawable when drawing the fading edge of a marquee'd text.
* | | | | | Merge change 5196 into donutAndroid (Google) Code Review2009-06-243-117/+105
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | * changes: Modify the IBackupTransport API to support bulk restore operations. Change the BackupManagerService and LocalTransport to support the new API.
| * | | | | | Modify the IBackupTransport API to support bulk restore operations.Dan Egnor2009-06-243-117/+105
| | |_|/ / / | |/| | | | | | | | | | | | | | | | Change the BackupManagerService and LocalTransport to support the new API.
* | | | | | Merge change 5259 into donutAndroid (Google) Code Review2009-06-241-0/+10
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | * changes: Adding TTS_QUEUE_PROCESSING_COMPLETED action to the list of Intents
| * | | | | | Adding TTS_QUEUE_PROCESSING_COMPLETED action to the list of IntentsCharles Chen2009-06-241-0/+10
| | | | | | |