29055 Commits

Author SHA1 Message Date
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
Jake Hamby
d457053aab am 07936528: Merge "Cosmetic cleanups to SMSDispatcher classes." into gingerbread
Merge commit '07936528cfbacb19d3f70b978708a52c47a31c0e' into gingerbread-plus-aosp

* commit '07936528cfbacb19d3f70b978708a52c47a31c0e':
  Cosmetic cleanups to SMSDispatcher classes.
2010-08-19 18:16:55 -07:00
Jake Hamby
07936528cf Merge "Cosmetic cleanups to SMSDispatcher classes." into gingerbread 2010-08-19 18:14:18 -07:00
Chia-chi Yeh
3a91abcb4c am d3aaad0e: Merge "Use getMinFrameCount() instead of querying AudioSystem directly." into gingerbread
Merge commit 'd3aaad0e2a30030db49ddc1a1cdd40011446938c' into gingerbread-plus-aosp

* commit 'd3aaad0e2a30030db49ddc1a1cdd40011446938c':
  Use getMinFrameCount() instead of querying AudioSystem directly.
2010-08-19 18:10:27 -07:00
Chia-chi Yeh
d3aaad0e2a Merge "Use getMinFrameCount() instead of querying AudioSystem directly." into gingerbread 2010-08-19 18:08:02 -07:00
James Dong
3540760d1d am 0ea4ed3b: Don\'t drop a late frame which may lead to missing I frames in the MP4 file
Merge commit '0ea4ed3bbb28fb6913392d2bee55621a1290dca8' into gingerbread-plus-aosp

* commit '0ea4ed3bbb28fb6913392d2bee55621a1290dca8':
  Don't drop a late frame which may lead to missing I frames in the MP4 file
2010-08-19 18:07:08 -07:00
James Dong
177a7ad825 am 439fe407: Merge "Return error from MPEG4Writer stop() if the check on codec specific data failed" into gingerbread
Merge commit '439fe407ff75b2c0fc21c66b430cd76e9f29ac90' into gingerbread-plus-aosp

* commit '439fe407ff75b2c0fc21c66b430cd76e9f29ac90':
  Return error from MPEG4Writer stop() if the check on codec specific data failed
2010-08-19 18:04:47 -07:00
Chet Haase
d953d08e92 multiple-property animations
Change-Id: Ida9440dad165f3450ff62862fc1627e138595e5f
2010-08-19 18:04:28 -07:00
James Dong
0ea4ed3bbb Don't drop a late frame which may lead to missing I frames in the MP4 file
Change-Id: I8fef1454264230c1369561670236eb0a19ae4e76
2010-08-19 18:04:27 -07:00
James Dong
439fe407ff Merge "Return error from MPEG4Writer stop() if the check on codec specific data failed" into gingerbread 2010-08-19 18:02:23 -07:00
Gilles Debunne
a842d143d2 am d018a0ce: Merge "Text selection without trackball." into gingerbread
Merge commit 'd018a0ce72124f668d859b19fe3e73f5637d3c7c' into gingerbread-plus-aosp

* commit 'd018a0ce72124f668d859b19fe3e73f5637d3c7c':
  Text selection without trackball.
2010-08-19 18:01:20 -07:00
Gilles Debunne
d018a0ce72 Merge "Text selection without trackball." into gingerbread 2010-08-19 17:59:08 -07:00
Jake Hamby
059fe88115 Cosmetic cleanups to SMSDispatcher classes.
Cleaned up some typos and other small fixes in SMSDispatcher in
preparation for checking in my SMS bug fixes. This change doesn't
fix any bugs, but it shouldn't introduce any either.

- Removed unused import statements
- Removed unused private constants and fields
- Fixed typos in Java comments and private constants
- Added generic type parameter to mSTrackers ArrayList
- Removed unnecessary casts
- Fixed indentation of mResultReceiver in SMSDispatcher
- Removed call to get unused smsc in CDMA sendSMS()
- Changed "|=" to "=" in boolean assignment where the variable
  was initialized to false (thus the two operators are equivalent)

Change-Id: Ic19a63a7ef5cdccc7be86043c2a1b863ec8af652
2010-08-19 17:40:37 -07:00
Scott Main
bb8d314b6c am 70c9ffbc: am 11a72482: Merge "docs: add links from widget classes to tutorials" into froyo
Merge commit '70c9ffbc838271f0ea27a4780eb146287de53ef6' into gingerbread-plus-aosp

* commit '70c9ffbc838271f0ea27a4780eb146287de53ef6':
  docs: add links from widget classes to tutorials
2010-08-19 17:40:10 -07:00
Scott Main
70c9ffbc83 am 11a72482: Merge "docs: add links from widget classes to tutorials" into froyo
Merge commit '11a72482a0cdc45ceaf4ca83957e682381455aee' into gingerbread

* commit '11a72482a0cdc45ceaf4ca83957e682381455aee':
  docs: add links from widget classes to tutorials
2010-08-19 17:37:31 -07:00
Scott Main
11a72482a0 Merge "docs: add links from widget classes to tutorials" into froyo 2010-08-19 17:31:12 -07:00
Scott Main
41ec65355b docs: add links from widget classes to tutorials
Change-Id: I817e885524951853182b0458df4a32dea1614243
2010-08-19 17:07:13 -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
Gilles Debunne
b0d6ba1ec4 Text selection without trackball.
Backported from HC.

Squashed commit of the following:

commit af214a595c7a9fdd11a2dc384f7d4665abf751c0
    Fixes in TextView's selection.

commit eb9fd59ebe6500a66c2003d46b5802299970ae8d
    TextView with Selection Contextual Mode

commit 4c4c338ef355b369ce4b57d6c6fba7ee8f9dddf4
    Cosmetic changes around TextView.

commit d4b4b054e87480d984ad18766f5e76553e3080d8
    Double and one and a half tap removed from TextView.

commit 897c2847ba1fca8ef01eadadd1bc3de007af3ee5
    Selection handlers in TextView

commit 832be74a5394649e28927484d9a86c6d53b430e7
    New cursor controller in TextViews.

Change-Id: I01cc64736e2abea605317ee53907a1713617fc17
2010-08-19 15:55:02 -07:00
Gilles Debunne
bbe5fb2b73 am 189de282: Merge "Fix for a Resource system bug that displayed the wrong name for missing asset." into gingerbread
Merge commit '189de2820932fd5dc98b9639fdc420a57cfa2316' into gingerbread-plus-aosp

* commit '189de2820932fd5dc98b9639fdc420a57cfa2316':
  Fix for a Resource system bug that displayed the wrong name for missing asset.
2010-08-19 15:29:24 -07:00
Gilles Debunne
189de28209 Merge "Fix for a Resource system bug that displayed the wrong name for missing asset." into gingerbread 2010-08-19 15:27:12 -07:00
Romain Guy
9a5c6e4f56 am 18ef3725: DO NOT MERGE. Fix the build.
Merge commit '18ef37258d897928c68b89535a93b99d8a817d3c' into gingerbread-plus-aosp

* commit '18ef37258d897928c68b89535a93b99d8a817d3c':
  DO NOT MERGE. Fix the build.
2010-08-19 15:18:34 -07:00