534 Commits

Author SHA1 Message Date
Jeff Sharkey
af99928029 Change BIND_APPWIDGET to be signatureOrSystem.
See http://b/issue?id=1839074 for more details.
2009-05-18 14:35:49 -07:00
Romain Guy
2cad06f262 Fix the build 2009-05-18 14:06:43 -07:00
Romain Guy
9da06a4e2e Fixes external #2686. Fix typo. 2009-05-18 13:54:34 -07:00
Android (Google) Code Review
9a7773a450 Merge change 1875 into donut
* changes:
  Fixes external #2669. Clarify the documentation of the XML attributes android:gravity and android:layout_gravity.
2009-05-18 13:52:06 -07:00
Suchi Amalapurapu
d1a9337380 Add a new window flag to display a window when keyguard is shown. 2009-05-18 10:47:24 -07:00
Romain Guy
924dd93a29 Fixes external #2669. Clarify the documentation of the XML attributes android:gravity and android:layout_gravity. 2009-05-18 10:43:55 -07:00
Android (Google) Code Review
ce2372de58 Merge change 1836 into donut
* changes:
  Fix bug 1856713 gl Pointer functions should use Buffer position
2009-05-18 09:30:18 -07:00
Jack Palevich
16e7972f0d Fix bug 1856713 gl Pointer functions should use Buffer position
JSR239 and android.opengl gl Pointer functions (glColorPointer, etc.)
now respect the current setting of the Buffer position.

This fixes a regression introduced when we started requiring the
Buffers passed to the Pointer functions to be direct Buffers.
2009-05-15 18:13:34 -07:00
Dianne Hackborn
a96cbb435d Implement compatibility support for WRITE_SDCARD permission.
Now old applications will automatically be granted it.  Also renamed it from
SDCARD_WRITE to WRITE_SDCARD to be consistent with our other permissions,
and re-arranged how we do targetSdkVersion to actually be usuable for this
kind of stuff.

Note that right now this results in basically all apps being given the
WRITE_SDCARD permission, because their targetSdkVersion is not set.  I will
be dealing with that in a future change.
2009-05-15 18:02:47 -07:00
Android (Google) Code Review
b3c6addfc1 Merge change 1825 into donut
* changes:
  Fixes #1855461, #1857290 and #1857365. Certain scrollbar styles make an opaque view not be opaque. ListView and View now account for this when indicating whether they are opaque or not.
2009-05-15 16:15:31 -07:00
Romain Guy
8f1344f5e7 Fixes #1855461, #1857290 and #1857365. Certain scrollbar styles make an opaque view not be opaque. ListView and View now account for this when indicating whether they are opaque or not. 2009-05-15 16:15:04 -07:00
Dan Egnor
abc25e3679 Add intent for gservices override, and handle empty arguments properly
in the "am" utility.
2009-05-15 11:59:31 -07:00
Mike LeBeau
a38b427a7a Add a search url text color attribute and theme. For search suggestions
in global search (and in related apps using system search like the browser),
we'd like to have a consistent green color used for urls. This makes it
available system-wide.
2009-05-15 10:31:16 -07:00
Eric Fischer
5bd644caf7 Start using CLDR for some date-and-time strings and formats.
Use java.text.DateFormat where possible, since that is already using
the CLDR data for the things it supports.  Remove an unused date format
object from DatePickerDialog.

Add a new method for getting the standalone month names from applications,
although @hidden for now because it is an API change.

Pass the standalone month names down to native code in Time so that
tztime's strftime() can use them.

And then the bulk of the change: replace all the names for the months
and the days of the week, and AM and PM, and yesterday, today, and tomorrow,
with strings from CLDR.  And replace several of the date format strings
with ones derived from CLDR, but reformatted to use strftime() style
instead of SimpleDateFormat style.

All these resource changes go into new donottranslate-cldr.xml files
and are removed from strings.xml so that they aren't part of the
normal translation process and the translators don't have to bother
with them (and risk messing them up).
2009-05-15 10:15:50 -07:00
Mihai Preda
eae850cefe Allow intent resolution to be constrained by package name. 2009-05-15 12:32:07 +02:00
svetoslavganov
75986cf9bc Accessibility feature - framework changes (replacing 698, 699, 700, 701 and merging with the latest Donut) 2009-05-14 23:47:05 -07:00
Android (Google) Code Review
669ec3a6e4 Merge change 1747 into donut
* changes:
  Fixes #1846038. The dirty region can sometimes be modified by SurfaceFlinger. When this happens, force the view hierarchy to ignore the dirty flags.
2009-05-14 21:49:12 -07:00
Romain Guy
5bcdff45bf Fixes #1846038. The dirty region can sometimes be modified by SurfaceFlinger. When this happens, force the view hierarchy to ignore the dirty flags. 2009-05-14 21:48:35 -07:00
Android (Google) Code Review
0c97c7c856 Merge change 1668 into donut
* changes:
  Document exception from parse3339
2009-05-14 17:21:11 -07:00
Android (Google) Code Review
14ad07f604 Merge change 1708 into donut
* changes:
  Fixes #1853550. Prevent NPE when calling the PopupWindow() and PopupWindow(int, int) constructors. Instead, throw an IllegalStateException when trying to show a popup with no content view.
2009-05-14 16:42:46 -07:00
Romain Guy
448ecf5a94 Fixes #1853550. Prevent NPE when calling the PopupWindow() and PopupWindow(int, int) constructors. Instead, throw an IllegalStateException when trying to show a popup with no content view. 2009-05-14 16:03:42 -07:00
Android (Google) Code Review
d1f7b3a572 Merge change 1704 into donut
* changes:
  New feature to track down #1846038. Adds the ability to export flags encoded in int values so as to make them human readable in HierarchyViewer.
2009-05-14 15:47:37 -07:00
Romain Guy
809a7f6080 New feature to track down #1846038. Adds the ability to export flags encoded in int values so as to make them human readable in HierarchyViewer. 2009-05-14 15:44:42 -07:00
Android (Google) Code Review
1c9a92fd9f Merge change 1690 into donut
* changes:
  Rework some code so that it works the way it was supposed to work.
2009-05-14 15:32:42 -07:00
Marco Nelissen
9ea923174c Rearrange some code so it makes more sense. Thanks, findbugs. 2009-05-14 15:11:23 -07:00
Marco Nelissen
3537506c88 Rework some code so that it works the way it was supposed to work. 2009-05-14 14:57:55 -07:00
Android (Google) Code Review
94f70cbbe2 Merge change 1685 into donut
* changes:
  Remove unnecessary code.
2009-05-14 14:44:34 -07:00
Marco Nelissen
4fb27ba22d Remove unnecessary code. 2009-05-14 14:18:23 -07:00
Marco Nelissen
1746d6fefc Fix a bug that findbugs found 2009-05-14 13:31:26 -07:00
Android (Google) Code Review
2a5cfe5192 Merge change 1590 into donut
* changes:
  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-14 13:24:52 -07:00
Android (Google) Code Review
4a8fb93f5e Merge change 1638 into donut
* changes:
  fix window layout problem in ViewRoot  * don't scale LayoutParams (this must be app's scale).  * scale the layout params' coordinates & size only when requesting layout. In SurfaceView, window's x,y wasn't scaled before sending to window manager.
2009-05-14 13:00:05 -07:00
Mitsuru Oshima
3d91492d69 fix window layout problem in ViewRoot
* don't scale LayoutParams (this must be app's scale).
 * scale the layout params' coordinates & size only when requesting layout.
In SurfaceView, window's x,y wasn't scaled before sending to window manager.
2009-05-14 12:59:40 -07:00
Marco Nelissen
fafb16c5ae Fix typo 2009-05-14 12:57:52 -07:00
Romain Guy
d4103d0d14 Fix the build 2009-05-14 12:24:21 -07:00
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