Commit Graph

388 Commits

Author SHA1 Message Date
Dianne Hackborn
7a57985962 Update aapt badging for native code, configs, density, etc. 2009-05-18 15:22:00 -07:00
Android (Google) Code Review
7754d161d2 Merge change 1836 into donut
* changes:
  Fix bug 1856713 gl Pointer functions should use Buffer position
2009-05-18 09:30:18 -07:00
Android (Google) Code Review
fa2ab76a4a Merge change 1575 into donut
* changes:
  Change _TOKENIZE tests to test the new token_index column
2009-05-17 12:44:38 -07:00
Jack Palevich
6eedc8d3b5 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
Android (Google) Code Review
8bf0be4b0f Merge change 1831 into donut
* changes:
  Tear down data, if a disconnect request is pending.
2009-05-15 17:41:30 -07:00
Android (Google) Code Review
d82ec6fbe1 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
Android (Google) Code Review
cc38f9745e Merge change 1748 into donut
* changes:
   Add a tool to play all kinds of media files saved in /sdcard/media_api/samples/. It also tests the seeking functionality during the play of each sample file.
2009-05-15 15:55:41 -07:00
Android (Google) Code Review
434c0b0662 Merge change 1823 into donut
* changes:
  Add the backup data file writer C++ class.
2009-05-15 15:36:32 -07:00
Joe Onorato
d502f05c6b Add the backup data file writer C++ class. 2009-05-15 18:20:19 -04:00
Eric Fischer
ce44b546d0 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
Joe Onorato
8d626d6a48 Implement the C++ class to write the backed up file data. 2009-05-15 10:37:10 -04:00
Android (Google) Code Review
dff73b85fe 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
Android (Google) Code Review
59eaf5b4ed Merge change 1668 into donut
* changes:
  Document exception from parse3339
2009-05-14 17:21:11 -07:00
Android (Google) Code Review
159232f08d 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
Android (Google) Code Review
41bf4b813f 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
Android (Google) Code Review
2e43c5d48f 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
Android (Google) Code Review
43a1f14172 Merge change 1685 into donut
* changes:
  Remove unnecessary code.
2009-05-14 14:44:34 -07:00
Android (Google) Code Review
28eaca75e0 Merge change 1677 into donut
* changes:
  Findbugs fixes.
2009-05-14 13:30:58 -07:00
Android (Google) Code Review
5496fc5f2f 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
7d79952167 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
Android (Google) Code Review
8c560848eb Merge change 1674 into donut
* changes:
  gps: Time out after 1 minute if we are unable to get a fix and our fix interval is long.
2009-05-14 12:54:09 -07:00
Android (Google) Code Review
f910bd9712 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
6fcd4e4b45 Merge change 1622 into donut
* changes:
  Fix typos.
2009-05-14 11:12:54 -07:00
Joe Onorato
c7bbc69ed5 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
289ab2c5d1 Merge change 1545 into donut
* changes:
  Add Intent.ACTION_APP_ERROR
2009-05-14 03:26:16 -07:00
Dianne Hackborn
6669b606eb am 5d6d773: AI 148824: Fix issue #1851541 (sharedUserId requests not bei
Merge commit '5d6d773fab559fdc12e553d60d789f3991ac552c' into donut

* commit '5d6d773fab559fdc12e553d60d789f3991ac552c':
  AI 148824: Fix issue #1851541 (sharedUserId requests not being checked for matching signatures on .apk).
2009-05-13 18:13:17 -07:00
Android (Google) Code Review
92b02667d7 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
a7da9d15e4 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
Scott Main
3ce292a493 am 04c72b4: AI 148812: revise the AppWidget developer guide documentatio
Merge commit '04c72b47d877c9f3b45caa1ddc7f640b02e7be4c' into donut

* commit '04c72b47d877c9f3b45caa1ddc7f640b02e7be4c':
  AI 148812: revise the AppWidget developer guide documentation
2009-05-13 16:48:50 -07:00
Bill Napier
43c52008ac am 4ce6430: AI 148803: Update 1.xml and 2.xml for methods that take Gene
Merge commit '4ce643074874dd79cc3a9219bdfefe63f2400ed7' into donut

* commit '4ce643074874dd79cc3a9219bdfefe63f2400ed7':
  AI 148803: Update 1.xml and 2.xml for methods that take Generic Type Varargs.  This will allow the CTS Signature Test to be run against older android releases.
2009-05-13 15:30:25 -07:00
Android (Google) Code Review
4f5405c140 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
Android (Google) Code Review
626fde1319 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
78e70822ba Merge change 1565 into donut
* changes:
  Enable filtering <select> lists.
2009-05-13 13:25:16 -07:00
Android (Google) Code Review
fe0d7d79fb Merge change 1528 into donut
* changes:
  should help fix the Simulator build.
2009-05-13 00:20:49 -07:00
Mathias Agopian
eccc8cfb2f should help fix the Simulator build. 2009-05-13 00:19:22 -07:00
Dirk Dougherty
51a827c86e am f7a480d: AI 148759: Add download page for NDK 1.5 r1.
Merge commit 'f7a480de8c0402850a25db34ad25d86e6d82e699' into donut

* commit 'f7a480de8c0402850a25db34ad25d86e6d82e699':
  AI 148759: Add download page for NDK 1.5 r1.
2009-05-12 18:50:55 -07:00
Dirk Dougherty
211e2dba0f am c214de5: AI 148752: Fix description of breakText() param.
Merge commit 'c214de5897da8d81378553e25a855c18372d1d29' into donut

* commit 'c214de5897da8d81378553e25a855c18372d1d29':
  AI 148752: Fix description of breakText() param.
2009-05-12 18:50:54 -07:00
Android (Google) Code Review
4351a7aa06 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
Android (Google) Code Review
0de796d3a1 Merge change 1057 into donut
* changes:
  * Add regoin scaling for transparent support
2009-05-12 15:45:25 -07:00
Android (Google) Code Review
963b8c30eb 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
Android (Google) Code Review
e8b7117c8d 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
3e3e20dbc8 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
af56b45d59 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
Android (Google) Code Review
d7490e408b Merge change 1441 into donut
* changes:
  removing log message checked in by acccident.
2009-05-12 10:06:39 -07:00
Android (Google) Code Review
d43d65741f 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
Android (Google) Code Review
97c4c6cb2b Merge change 1406 into donut
* changes:
  Internal APIs to get/set SMSC address.
2009-05-11 17:08:19 -07:00
Android (Google) Code Review
97ba2df538 Merge change 1404 into donut
* changes:
  Fix the build
2009-05-11 15:19:48 -07:00
Android (Google) Code Review
f3a6b79910 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
8ee6f8f77e 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
0e8e63ffbb Merge change 1299 into donut
* changes:
  Added Java callback for JavaScript execution timeout.
2009-05-11 14:03:56 -07:00