700 Commits

Author SHA1 Message Date
Android (Google) Code Review
aa642c0cc2 Merge changes 1591,1596 into donut
* changes:
  Add a new feature to android.os.Debug to add the ability to inject only specific fields when calling setFieldsOn().
  Fixes #1836075. Adds consistency checks for the View hierarchy. To enable them, you need a debug build and ViewDebug.sConsistencyCheckEnabled set to true in debug.prop. This change also lets you easily enable drawing and layout profiling in ViewRoot by setting ViewRoot.sProfileDrawing, ViewRoot.sProfileLayout and ViewRoot.sShowFps in debug.prop with a debug build.
2009-05-14 11:59:33 -07:00
Android (Google) Code Review
d47d81a4de Merge change 1622 into donut
* changes:
  Fix typos.
2009-05-14 11:12:54 -07:00
Joe Onorato
290bb011c5 Get the backup calling through to the file backup helper.
This includes some cleanup to make the parameters match
between BackupService.onBackup and FileBackupHelper.performBackup.
2009-05-14 09:39:32 -04:00
Android (Google) Code Review
ec2d74d40f Merge change 1545 into donut
* changes:
  Add Intent.ACTION_APP_ERROR
2009-05-14 03:26:16 -07:00
Ken Shirriff
60b88edea7 Fix typos. 2009-05-13 17:51:37 -07:00
Android (Google) Code Review
c4cdc7d8a1 Merge change 1611 into donut
* changes:
  Replace the search dialog images so that they correctly center the microphone and magnifying glass (they were all off by 1 pixel).
2009-05-13 17:35:11 -07:00
Android (Google) Code Review
2b52b3ed46 Merge change 1610 into donut
* changes:
  Revert dividers back to their original translucent versions but add new opaque dividers to improve the speed of lists.
2009-05-13 17:34:15 -07:00
Mike LeBeau
37caecd08d Replace the search dialog images so that they correctly center
the microphone and magnifying glass (they were all off by 1 pixel).
2009-05-13 17:33:25 -07:00
Romain Guy
694bb19995 Revert dividers back to their original translucent versions but add new opaque dividers to improve the speed of lists. 2009-05-13 17:32:49 -07:00
Romain Guy
c4b11a79fb Add a new feature to android.os.Debug to add the ability to inject only specific fields when calling setFieldsOn(). 2009-05-13 17:13:42 -07:00
Romain Guy
13922e0303 Fixes #1836075. Adds consistency checks for the View hierarchy. To enable them, you need a debug build and ViewDebug.sConsistencyCheckEnabled set to true in debug.prop. This change also lets you easily enable drawing and layout profiling in ViewRoot by setting ViewRoot.sProfileDrawing, ViewRoot.sProfileLayout and ViewRoot.sShowFps in debug.prop with a debug build. 2009-05-13 15:42:23 -07:00
Android (Google) Code Review
541ff5df00 Merge change 1566 into donut
* changes:
  Fix issue #1838944: Application sync settings cant be changed with auto sync on
2009-05-13 15:25:35 -07:00
Robert Greenwalt
5347bd4cda Add wifi multicast filter api (enable/disable).
Fixes 1833432.  Automatically re-disables any request when the app
exits/crashes.  Also hooked into Battery Stats for power managment analysis.
2009-05-13 15:10:16 -07:00
Android (Google) Code Review
6063a9c9ee Merge change 1491 into donut
* changes:
  Make pressing the search button within an app that does not support search bring up global search. This still respects the case where an app has chosen to disable search entirely by overriding onSearchRequested() to return false.
2009-05-13 14:26:45 -07:00
Android (Google) Code Review
a0f87f680c Merge change 1565 into donut
* changes:
  Enable filtering <select> lists.
2009-05-13 13:25:16 -07:00
Dianne Hackborn
271cee6de8 Fix issue #1838944: Application sync settings cant be changed with auto sync on 2009-05-13 13:18:22 -07:00
Leon Scroggins
3667ce4cae Enable filtering <select> lists.
Fix a bug where the filter text could not be deleted,
and another where filtering changes the checked item,
so that filtering <select> lists can be reenabled.
2009-05-13 15:58:03 -04:00
Dianne Hackborn
e7fe35b88a Whoops fix installing. I am dumb. 2009-05-13 10:54:52 -07:00
Jacek Surazski
86b6c530f9 Add Intent.ACTION_APP_ERROR
This intent is sent to the installer when an app it installed
crashes/ANRs.
2009-05-13 18:52:20 +02:00
Joe Onorato
d39afbdc92 Make android.content.ComponentName implement java.lang.Comparable. 2009-05-12 23:40:45 -04:00
Mitsuru Oshima
c5b0e6e4eb don't scale trackball event 2009-05-12 19:26:41 -07:00
Android (Google) Code Review
6347c322b3 Merge change 1436 into donut
* changes:
  Density Compatibility mode for SurfaceView * use fixed size when requested. Otherwise, give the original size instead of scaled down size. * scale back the motion event to original size when surface view is using the orignal size.
2009-05-12 18:17:53 -07:00
Mitsuru Oshima
001a6e5244 Density Compatibility mode for SurfaceView
* use fixed size when requested. Otherwise, give the original size instead of scaled down size.
* scale back the motion event to original size when surface view is using the orignal size.
2009-05-12 18:08:20 -07:00
Dianne Hackborn
ade3ecad94 Implement issue #1783881 (manifest option for adb-install-only apps)
You can now use android:testOnly="true" to not allow your .apk to be installed
as a normal app.  The only way to do so is with the pm command and giving the
-t option, which sets a new INSTALL_ALLOW_TEST flag when installing.

I also used this to clean up the install API...  actually, mostly to hide
it, since it is not accessible to apps so shouldn't be in the SDK.  We
will be doing some more work on it, so this will prevent adding yet
another backwards-compatibility-for-no-reason version.
2009-05-12 16:09:43 -07:00
Android (Google) Code Review
807f23b2d8 Merge change 1057 into donut
* changes:
  * Add regoin scaling for transparent support
2009-05-12 15:45:25 -07:00
Romain Guy
2bb3ea162a Fix native core runtime. A messy declaration was causing a problem at boot time. 2009-05-12 15:43:26 -07:00
Mitsuru Oshima
b10f138e12 * Add regoin scaling for transparent support 2009-05-12 15:40:07 -07:00
Mike LeBeau
a59d7b0f2f Make pressing the search button within an app that does not support
search bring up global search. This still respects the case where an
app has chosen to disable search entirely by overriding
onSearchRequested() to return false.

I do not believe any changes to the SearchManager documentation
(http://developer.android.com/reference/android/app/SearchManager.html#HowSearchIsInvoked)
are necessary, because this documentation already indicates that
pressing the search button within an app that does nothing special with
regard to search can bring up global search.
2009-05-12 15:30:37 -07:00
Jacek Surazski
c64322c352 PackageManager keeps track of who installed what.
Stores the package name of the installer app in packages.xml
2009-05-12 23:16:20 +02:00
Android (Google) Code Review
3e3439d5ba Merge change 1478 into donut
* changes:
  Fixes #1847219. Add a new API to load fonts from arbitrary files: Typeface.createFromFile(String/File).
2009-05-12 13:33:07 -07:00
Romain Guy
a87a132ebf Fixes #1847219. Add a new API to load fonts from arbitrary files: Typeface.createFromFile(String/File). 2009-05-12 13:22:18 -07:00
Android (Google) Code Review
e51f3a012b Merge change 1297 into donut
* changes:
  Check the size of the data to write for STATIC AudioTrack objects. Extracted actual writing from write jni function so it can be reused in an upcoming change.
2009-05-12 11:53:05 -07:00
Android (Google) Code Review
da33d0d139 Merge change 1424 into donut
* changes:
  Fixes 1844680. Interrupted scrolling could lead to rendering artifacts. The ListView was invalidating itself in opaque mode but before the drawing could happen, it was getting rid of its scrolling cache, thus becoming translucent again.
2009-05-12 11:13:04 -07:00
Android (Google) Code Review
c70b644410 Merge change 1463 into donut
* changes:
  Fixes #1846038. DrawableContainer was wrongly returning its opacity by ignoring the visibility of the currently selected layer. This change simply reports a TRANSPARENT opacity if there is no currently selected layer of if the selected layer is not visible. Otherwise it reports the opacity computed by the state class.
2009-05-12 11:10:34 -07:00
Romain Guy
83b2107c4d Fixes #1846038. DrawableContainer was wrongly returning its opacity by ignoring the visibility of the currently selected layer. This change simply reports a TRANSPARENT opacity if there is no currently selected layer of if the selected layer is not visible. Otherwise it reports the opacity computed by the state class. 2009-05-12 10:54:51 -07:00
Mitsuru Oshima
a1565b9340 removing log message checked in by acccident. 2009-05-12 00:19:40 -07:00
Android (Google) Code Review
7e3e04c144 Merge change 1408 into donut
* changes:
  * update all metrics data when updating density. * Keyboard should use DisplayMetrics from Resource rather than getting it from WindowManager as   the display metrics can differ under compatibility mode.
2009-05-11 21:20:55 -07:00
Romain Guy
6dfed24158 Fixes 1844680. Interrupted scrolling could lead to rendering artifacts. The ListView was invalidating itself in opaque mode but before the drawing could happen, it was getting rid of its scrolling cache, thus becoming translucent again. 2009-05-11 18:25:05 -07:00
Mitsuru Oshima
58feea74b4 * update all metrics data when updating density.
* Keyboard should use DisplayMetrics from Resource rather than getting it from WindowManager as
  the display metrics can differ under compatibility mode.
2009-05-11 15:58:32 -07:00
Android (Google) Code Review
08f3b5261f Merge change 1404 into donut
* changes:
  Fix the build
2009-05-11 15:19:48 -07:00
Romain Guy
2d6afea681 Fix the build 2009-05-11 15:19:21 -07:00
Romain Guy
7ed6acdc08 Remove useless logging on every draw. 2009-05-11 15:12:57 -07:00
Android (Google) Code Review
a2ea1d3765 Merge change 1371 into donut
* changes:
  Fixes #1596240. Optimize invalidate/draw passes by marking opaque views and avoiding drawing them. Whenever a View requests an invalidate its parent check whether the view is opaque or not. When the view is not opaque, the framework behaves as it used to. However, when a view is opaque, the parent marks itself as being dirty because of an opaque view. Its parent then does the same, and so on. When the framework then starts drawing the views, it does not draw views marked as dirty opaque. If a view is dirty opaque and receives an invalidate request from a non-opaque view, it then clears the dirty opaque flag and behaves as before.
2009-05-11 14:04:23 -07:00
Android (Google) Code Review
e292086e6b Merge change 1391 into donut
* changes:
  Fix 1799207. With the new local dns, we should allow the host without any PERIOD. Otherwise http://go won't work properly.
2009-05-11 14:04:10 -07:00
Android (Google) Code Review
25fdf352d4 Merge change 1299 into donut
* changes:
  Added Java callback for JavaScript execution timeout.
2009-05-11 14:03:56 -07:00
Romain Guy
24443ea399 Fixes #1596240. Optimize invalidate/draw passes by marking opaque views and avoiding drawing them. Whenever a View requests an invalidate its parent check whether the view is opaque or not. When the view is not opaque, the framework behaves as it used to. However, when a view is opaque, the parent marks itself as being dirty because of an opaque view. Its parent then does the same, and so on. When the framework then starts drawing the views, it does not draw views marked as dirty opaque. If a view is dirty opaque and receives an invalidate request from a non-opaque view, it then clears the dirty opaque flag and behaves as before. 2009-05-11 14:03:52 -07:00
Grace Kloba
6b4e4275d3 Fix 1799207. With the new local dns, we should allow the host without any PERIOD. Otherwise http://go won't work properly. 2009-05-11 13:20:17 -07:00
Android (Google) Code Review
3b30d80f5e Merge change 1377 into donut
* changes:
  Fix typo in javadoc
2009-05-11 12:18:20 -07:00
Marco Nelissen
c53fc4ec9e Fix typo in javadoc 2009-05-11 12:15:31 -07:00
Dianne Hackborn
1655be46d2 Fix issue #1837610 and #1753079
Issue 1837610 Adding a Widget before Running the Associated App Causes a Force Close

We were not retrieving the shared libraries of an application when deliving a
broadcast to an explicit component.

Issue 1753079 loading class path of instrumented app into instrumentation may load wrong path when instrumented app shares process with other apps:

We were using the ApplicationInfo that was used to originally create the process, not the one that the
instrumentation is against.
2009-05-11 11:14:26 -07:00