28923 Commits

Author SHA1 Message Date
Romain Guy
a6937f7a11 Merge "Test setTextScaleX()" 2010-08-20 18:42:49 -07:00
Dianne Hackborn
727782053c Work on DialogFragment and docs.
- DialogFragment now has an option to not show a dialog, so you can
  use your UI somewhere else.
- Deprecated show() versions that were tied to activities.
- Added documentation to DialogFragment class.
- Added documentation to onSaveInstanceState() to explain how the
  time it is called is different than Activity's version.
- Fixed some java doc warnings.

Change-Id: If026744c368e2443030d2d9e0a9c808d820857df
2010-08-20 18:32:41 -07:00
Danica Chang
76dd2ce960 Merge "Wait for bluetooth to turn on before Bluetooth Tethering is enabled" 2010-08-20 17:42:28 -07:00
Romain Guy
29378192f7 Test setTextScaleX()
Change-Id: Iafa421def64a8f9a83b320b6cf3cc5286515c355
2010-08-20 15:49:27 -07:00
Adam Powell
f7b472fa96 Merge "Make ActionBar menus handle configuration changes gracefully." 2010-08-20 15:48:04 -07:00
Adam Powell
773b1b97fc Make ActionBar menus handle configuration changes gracefully.
Change-Id: I2c9ca846143b313ef9d2a01dff81385e0693518d
2010-08-20 15:45:27 -07:00
Jim Miller
015912e7f6 Merge "Make sure we have a native Surface in nContextSetSurface." 2010-08-20 15:14:56 -07:00
Danica Chang
8aac82a524 Wait for bluetooth to turn on before Bluetooth Tethering is enabled
Change-Id: I3fef94ea2cb102e1bb618f85e25d60c95cea1221
2010-08-20 15:12:22 -07:00
Adam Powell
a2af03f825 Fix SDK build - bad @link
Change-Id: Ic8831c94ae0c89d6ccc08a21f399cdd3ffba0bb2
2010-08-20 14:41:13 -07:00
Adam Powell
2b342f0a76 Allow ViewGroup to split MotionEvents to multiple targets during dispatch.
Use the layout xml attribute splitMotionEvents="true" or the ViewGroup
method setMotionEventSplittingEnabled(true) to enable motion event
splitting. Rules for splitting are as follows:

* Splitting is enabled per ViewGroup. When splitting is enabled any
  MotionEvent dispatched to that ViewGroup can potentially be split
  into several and dispatched to children independently.

* Each pointer is assigned a target child view when the ACTION_DOWN or
  ACTION_POINTER_DOWN event is received. That will be the pointer's
  target until it goes up, the target returns false from onTouchEvent,
  or the MotionEvents are intercepted.

* Multiple pointers may be assigned to the same target. All pointer
  data sent to a target are bundled into a single MotionEvent. Child
  views do not need to be aware that splitting has occurred.

Change-Id: I993f838e2f6b455da9812f4742a016dfcd1c4cc9
2010-08-20 13:39:28 -07:00
Dianne Hackborn
8a44bb23c1 Update aapt to find fragment references.
Add knowledge about <fragment class="..."> for layout files
and update to reflect the change of the header tag from Header.

Change-Id: I91e2a5f204a8e222367985383c1721030c7954d8
2010-08-20 12:56:42 -07:00
Gilles Debunne
ed23e3b879 Merge "New UI theme for EditText." 2010-08-20 12:35:31 -07:00
Gilles Debunne
ecf44e4d21 New UI theme for EditText.
Introduces new Theme.Holo and Theme.Light.Holo themes.

Change-Id: I208c0400d5e1713e24a7acb4dc3a3a6fbb4a94c3
2010-08-20 12:32:36 -07:00
Romain Guy
d7d4141713 Merge "GridView's pageScroll() would be offset by one item." 2010-08-20 11:40:42 -07:00
Nipun Kwatra
727f658e81 Merge "Added downsample()" 2010-08-20 11:35:38 -07:00
Nipun Kwatra
96624731c3 Added downsample()
Added a downsample function which downsamples the source image
starting at an offset and skipping every few pixels. Currently
no low pass filtering is done, but it should be added later.

Change-Id: Iec34092c536bfc661a15521e6a1ef2ef3f815c61
2010-08-20 10:54:59 -07:00
Romain Guy
64d50a67f4 GridView's pageScroll() would be offset by one item.
External issue #10580

Change-Id: Ie1b3ea8e1f7890b480d6ba8ff423024a5c4cd047
2010-08-20 10:50:49 -07:00
Nipun Kwatra
437e6c49f1 Merge "const correctness, validPixel test." 2010-08-20 10:41:08 -07:00
Daniel Sandler
0dc4d15cdc Merge "Notification.fullScreenIntent support." 2010-08-20 09:15:53 -07:00
Daniel Sandler
fb970e9204 Notification.fullScreenIntent support.
Bug: 2911617
Change-Id: I1b4cd6ff0f760bad721a3a8eed61209b44b64c02
2010-08-20 10:57:52 -04:00
Daniel Sandler
27e1a79bf7 On-device screenshot support.
This comes in the form of a command, `screenshot`, which
will read /dev/graphics/fb0 (in a manner very similar to
adb's framebuffer_service) and write to the specified PNG
file.

Additionally, dumpstate now accepts a -p flag (mnemonic:
"picture" or "png") that, when specified, will cause a
screenshot to be captured in the same directory as the
bugreport.

Future work: invoke `dumpstate -p` when the bugreport
keychord is pressed, giving users a convenient way to attach
screenshots to bug reports (or simply take screenshots at
all without developer tools).

Bug: 2216571 (and probably plenty of others)
Change-Id: I36afbc55a0308a7bc01112ef39c4c62777efb203
2010-08-20 09:42:49 -04:00
Daniel Sandler
d664df2d95 Merge "Fix incorrect usage text for am." 2010-08-20 06:31:24 -07:00
Brad Fitzpatrick
a3f641f22a am cf2c68c9: am 11709ab0: Merge "Avoid unnecessary SharedPrefences disk writes." into gingerbread
Merge commit 'cf2c68c9c21b8af62e95374312355d22ed55e586'

* commit 'cf2c68c9c21b8af62e95374312355d22ed55e586':
  Avoid unnecessary SharedPrefences disk writes.
2010-08-20 06:28:08 -07:00
Jean-Baptiste Queru
4bd3e95ce5 am 6d5bb884: am aac6a748: Merge "Only monitor recognized uevent devices." into gingerbread
Merge commit '6d5bb88454db2fc798a07ec1085ef55572dbe670'

* commit '6d5bb88454db2fc798a07ec1085ef55572dbe670':
  Only monitor recognized uevent devices.
2010-08-20 06:27:55 -07:00
Mathias Agopian
49eda50415 am 4195d097: am 8ad86fef: Merge "Improve documentation of getAltitude" into gingerbread
Merge commit '4195d097c535acf9e1c60b323134fcb5609c18b7'

* commit '4195d097c535acf9e1c60b323134fcb5609c18b7':
  Improve documentation of getAltitude
2010-08-20 06:27:37 -07:00
Mathias Agopian
1d8b34ecbb Merge branch 'master' of ssh://android-git:29418/platform/frameworks/base 2010-08-20 06:27:27 -07:00
Mathias Agopian
a2c1583eac am 8e13ce52: (-s ours) am 26bcc7b4: Merge "revert hwcomposer HAL changes. DO NOT MERGE." into gingerbread
Merge commit '8e13ce52f3bb12bb53e37affde3eec9bdaabae5c'

* commit '8e13ce52f3bb12bb53e37affde3eec9bdaabae5c':
  revert hwcomposer HAL changes. DO NOT MERGE.
2010-08-20 06:27:15 -07:00
Chet Haase
cf6f0d58a8 Merge "multiple-property animations" 2010-08-20 06:27:11 -07:00
Daniel Sandler
7b750542d6 Fix incorrect usage text for am.
Change-Id: I95afb3bd02ce23bb8d0797ec4c33e27a9530988e
2010-08-20 09:24:02 -04:00
Jean-Baptiste Queru
2338f48ddb resolved conflicts for merge of 34df5ccc to master
Change-Id: I55558b2ab9452b2a819a1fce5b3ee5af29688e98
2010-08-20 06:18:50 -07:00
Jeff Brown
0ca7aae911 am 33992d41: am 72e0b2ab: Merge "Fix some input device mapping bugs with certain drivers." into gingerbread
Merge commit '33992d4195fe55f42ba6919f5a07707a51a12d5d'

* commit '33992d4195fe55f42ba6919f5a07707a51a12d5d':
  Fix some input device mapping bugs with certain drivers.
2010-08-19 23:43:19 -07:00
Irfan Sheriff
cdea9193f2 update ssid in WifiInfo
Bug: 2876746
Change-Id: I58295e01f07f168e234ab344065fe50047902c76
2010-08-19 21:35:25 -07:00
Jim Miller
ee956053d6 Make sure we have a native Surface in nContextSetSurface.
I was seeing a problem running RenderScript in the system process
because mNativeSurface was null.  This works around the problem
by forcing the native surface to be created when we set the surface.

Change-Id: I3abf6cef1b049864e4e063669b6df547de008c93
2010-08-19 18:56:00 -07:00
Nipun Kwatra
d1fbdf1a3f const correctness, validPixel test.
- made width(), height() const member functions.
- added validPixel() which returns true if pixel is in the allowed range.
- now testing validPixel in get/setPixelValue

Change-Id: I1dee5060bd4f8dcbdcd542ec4647ea328f0185c3
2010-08-19 18:26:58 -07:00
Chet Haase
d953d08e92 multiple-property animations
Change-Id: Ida9440dad165f3450ff62862fc1627e138595e5f
2010-08-19 18:04:28 -07:00
Irfan Sheriff
8e6c8c2024 Merge "clean up scanresults on exit from driver start state" 2010-08-19 16:40:49 -07:00
Dmitri Plotnikov
a26ed4d7f8 Merge "Fixing the SDK build" 2010-08-19 16:32:31 -07:00
Dmitri Plotnikov
13e0357ec1 Fixing the SDK build
Change-Id: I84cee32bf6d7395e7d6a366fb0b582b73637d18c
2010-08-19 16:31:29 -07:00
Irfan Sheriff
f99819e47c clean up scanresults on exit from driver start state
Bug: 2934389
Change-Id: I918bb9e198aba0bdbb2be356a680789c9678e47c
2010-08-19 16:30:12 -07:00
Romain Guy
d970a1af63 Merge "Update FrameLayout documentation." 2010-08-19 15:16:32 -07:00
Romain Guy
4f0a8df9fe Fix the build.
Change-Id: I71e77cb3c124b31b81d952dc3897ebc414a1f701
2010-08-19 15:10:54 -07:00
Romain Guy
494413faa2 Merge "Update OpenGLRenderer test to test opaque ARGB8888 bitmaps." 2010-08-19 14:46:45 -07:00
Romain Guy
e9e7fd0813 Update OpenGLRenderer test to test opaque ARGB8888 bitmaps.
Change-Id: I7159825f4b1d6f5a1cd09ec091994801b52b6bda
2010-08-19 14:45:42 -07:00
Romain Guy
e0cac8402a Merge "Load assets in place instead of deferring until draw." 2010-08-19 14:44:52 -07:00
Romain Guy
207b3ab604 Load assets in place instead of deferring until draw.
Before this change, all framework assets would be decoded at drawing time
outside of zygote. This was forcing all apps to re-decode the assets and
zygote to keep an in-memory copy of each asset. This behavior is now
opt-in by setting the inPurgeable flag on BitmapFactory.Options.

Change-Id: Ic703f57adb26b2a701ecff0a653d35a93e26d47c
2010-08-19 14:41:16 -07:00
Ben Dodson
34f170f5ee Explicit warning level for deprecation mismatch
Change-Id: I2ae784e61c4b4b7aa97d46080f78e9d4ab1df87f
2010-08-19 14:24:45 -07:00
Irfan Sheriff
004f6832d6 Merge "asynchronous driver commands" 2010-08-19 12:34:41 -07:00
Irfan Sheriff
e498475b18 asynchronous driver commands
Make some of the common driver commands scan/disconnect/reconnect/reassociate
asynchronous. We already have broadcasts to indicate results.

Change-Id: I343c6be077fb11a3d488e586ab10ab2373b269d8
2010-08-19 12:23:13 -07:00
Eric Fischer
4b4b039d75 Merge "Import Romansh translations." 2010-08-19 12:00:34 -07:00
Gilles Debunne
ed279f8f19 Fix for a bug that prevents text selection on initially empty text edits.
Change-Id: I0346b632e7de32b082c0ed7e605873946e3eb554
2010-08-19 11:18:05 -07:00