17236 Commits

Author SHA1 Message Date
Andreas Huber
909255a9cf Squashed commit of the following:
commit 0014ab17f2e0986044327a5ab22159de50b81e0a
Author: Andreas Huber <andih@google.com>
Date:   Thu Jan 14 14:05:09 2010 -0800

    Another instance of returning an error instead of asserting makes sense.

commit d2cac8c498a65b449a25ec216601830d23c165e7
Author: Andreas Huber <andih@google.com>
Date:   Thu Jan 14 13:34:33 2010 -0800

    Instead of asserting on invalid data (incomplete NAL unit), return an error.
2010-01-14 14:13:15 -08:00
Andreas Huber
dbcb2c68ee Workaround for some hardware decoders not properly signaling end-of-output-stream properly. 2010-01-14 14:09:58 -08:00
Andreas Huber
e42fdb5442 Upgrade for the stagefright commandline tool to support extracting thumbnails and to optionally prefer software codecs. 2010-01-14 14:09:17 -08:00
Andreas Huber
f91f1b4718 Make sure the seek test attempts to seek on the very first iteration, as this appears to be a special case that decoders frequently get wrong. 2010-01-14 14:08:25 -08:00
Suchi Amalapurapu
3c5f6dde74 Merge "app install on sdcard. provide skeleton implementation to install an app on sdcard, just resources. Add new install path for /asec in installd. ignore . when checking for apk path since the sdcard packages id'ed by package name. Add new -s option to adb shell pm Refactor fwd locked from scanMode to ApplicationInfo. Add new flag for sd install Add new parse flags for fwd locking and installing on sdcard New mock api's in PackageManagerService to invoke MountService api's. These will be refactored again and so have been wrapped internally. Some error codes in PackageManager Changes in PackageManagerService to use mPath and mScanPath during installation and switch to using PackageParser.Package.applicationInfo attributes for source and public resource directories. Some known issues that will be addressed later using system_uid for now. needs some tinkering with uid and packagesetting creation to use the actual app uid error handling from vold not very robust. ignoring lot of things for now sending a delayed destroy to delete packages. will revisit later revisit temp file creation later. just copy for now" 2010-01-14 14:01:56 -08:00
Suchi Amalapurapu
af8e9f4805 app install on sdcard. provide skeleton implementation
to install an app on sdcard, just resources.
Add new install path for /asec in installd.
ignore . when checking for apk path since the sdcard packages id'ed
by package name.
Add new -s option to adb shell pm
Refactor fwd locked from scanMode to ApplicationInfo.
Add new flag for sd install
Add new parse flags for fwd locking and installing on sdcard
New mock api's in PackageManagerService to invoke MountService api's. These
will be refactored again and so have been wrapped internally.
Some error codes in PackageManager
Changes in PackageManagerService to use mPath and mScanPath during installation
and switch to using PackageParser.Package.applicationInfo attributes for
source and public resource directories.
Some known issues that will be addressed later
 using system_uid for now. needs some tinkering with uid and packagesetting creation to use the actual app uid
 error handling from vold not very robust. ignoring lot of things for now
 sending a delayed destroy to delete packages. will revisit later
 revisit temp file creation later. just copy for now
2010-01-14 14:02:39 -08:00
Nicolas Roard
1061a4dd73 am 0123101a: am af2af4e5: Add proper support for fixed position elements
Merge commit '0123101af0e15221026f97f19dad23488840700a'

* commit '0123101af0e15221026f97f19dad23488840700a':
  Add proper support for fixed position elements
2010-01-14 13:18:25 -08:00
Nicolas Roard
0123101af0 am af2af4e5: Add proper support for fixed position elements
Merge commit 'af2af4e53aedb14c781d0351565fd7bec55a141a' into eclair-mr2-plus-aosp

* commit 'af2af4e53aedb14c781d0351565fd7bec55a141a':
  Add proper support for fixed position elements
2010-01-14 13:13:26 -08:00
Scott Main
7cc57ff22d am 0409b1ba: Merge "docs: remove dev guide link from download confirmation content so we only link to the install guide and re-affirm the system reqs bug: 2374363,2374334" into eclair
Merge commit '0409b1baaaebfe5deadfd43559e5d63b1d6e5fcb' into eclair-plus-aosp

* commit '0409b1baaaebfe5deadfd43559e5d63b1d6e5fcb':
  docs: remove dev guide link from download confirmation content
2010-01-14 13:05:46 -08:00
Bjorn Bringert
38015f3663 Make SearchManager.getGlobalSearchActivity() public but hidden
Launcher/Launcher2 will need this to find the search appwidget
provider.

Change-Id: I2789ea5a11f168126d798a763983752442a6a80b
2010-01-14 21:04:23 +00:00
Scott Main
0409b1baaa Merge "docs: remove dev guide link from download confirmation content so we only link to the install guide and re-affirm the system reqs bug: 2374363,2374334" into eclair 2010-01-14 13:01:30 -08:00
Bjorn Bringert
f6fff20a96 Merge "Expose SearchManager constants for global search" 2010-01-14 13:01:01 -08:00
Joe Onorato
6656c1be2b add drawSpriteScreenspaceCropped to renderscript 2010-01-14 16:00:04 -05:00
Bjorn Bringert
55f3ac5f29 Expose SearchManager constants for global search
This change exposes some constants that are needed for
starting the global search activity (QuickSearchBox):

- SearchManager.INTENT_ACTION_GLOBAL_SEARCH
- SearchManager.EXTRA_SELECT_QUERY

Change-Id: I2f1f10070f502a8d5b644e78c03837d5d8b43486
2010-01-14 20:56:59 +00:00
Nicolas Catania
66ef01e232 Revert "New method to return the last dialed number"
This reverts commit 439b7b31676232811ac6f575b396af70e254b803.
2010-01-14 12:22:58 -08:00
Romain Guy
52e2ef8cac Update ListView's children when the drawing cache color hint changes.
Bug #2371777
2010-01-14 12:18:15 -08:00
Scott Main
baf08994b9 docs: remove dev guide link from download confirmation content
so we only link to the install guide and re-affirm the system reqs
bug: 2374363,2374334
2010-01-14 12:09:08 -08:00
Niko Catania
e414f32f77 Merge "New method to return the last dialed number Bug:2227429" 2010-01-14 11:51:12 -08:00
Andreas Huber
faddd5d7d6 Merge "Support for determining the mime type of media via metadata extraction." 2010-01-14 11:38:24 -08:00
Xavier Ducrohet
f95e3dd23c am 5e083024: ADT/Layoutlib: shader clean-up.
Merge commit '5e083024269e7c5bf904301a98fa6eade6fec094' into eclair-plus-aosp

* commit '5e083024269e7c5bf904301a98fa6eade6fec094':
  ADT/Layoutlib: shader clean-up.
2010-01-14 11:36:50 -08:00
Nicolas Catania
439b7b3167 New method to return the last dialed number
Bug:2227429
2010-01-14 11:35:02 -08:00
Mark Wagner
5d3c9c107f Merge "constants for search" 2010-01-14 11:34:43 -08:00
Xavier Ducrohet
5e08302426 ADT/Layoutlib: shader clean-up.
Change-Id: I0a200f438b7ccde2bfc19fd23614a647cb19d312
2010-01-14 10:37:13 -08:00
Fred Quintana
bb68a4fc54 add AccountManager.testHasFeatures() to make it easy to check if a given account has a set of features 2010-01-14 10:35:33 -08:00
Xavier Ducrohet
e1a9914763 am d3026e16: Merge "ADT/Layoutlib: 2 color, linear gradient support." into eclair
Merge commit 'd3026e1618d893db55c2131d66b08bc4a6e7aaf4' into eclair-plus-aosp

* commit 'd3026e1618d893db55c2131d66b08bc4a6e7aaf4':
  ADT/Layoutlib: 2 color, linear gradient support.
2010-01-14 10:08:37 -08:00
Xavier Ducrohet
d3026e1618 Merge "ADT/Layoutlib: 2 color, linear gradient support." into eclair 2010-01-14 10:03:56 -08:00
Grace Kloba
181963a020 am 196926b9: Merge "DO NOT MERGE" into eclair
Merge commit '196926b9803e586b06b753a0a02a6b0ba2e5a98c' into eclair-plus-aosp

* commit '196926b9803e586b06b753a0a02a6b0ba2e5a98c':
  DO NOT MERGE
2010-01-14 09:41:36 -08:00
Grace Kloba
196926b980 Merge "DO NOT MERGE" into eclair 2010-01-14 09:29:52 -08:00
Mark Wagner
8178753301 Merge "bugfix endfling case (bug 2300534)" 2010-01-14 08:52:12 -08:00
Nicolas Roard
af2af4e53a Add proper support for fixed position elements
this is two-part change, see  http://android-git.corp.google.com/g/#change,37091 for the C++ counterpart.
This CL implements fixed position elements (css position: fixed) using layers, supporting pixels and percent lengths.

It addresses http://b/1914365
2010-01-14 14:46:07 +00:00
Bjorn Bringert
80d3091b99 Merge "Remove Intent.ACTION_GLOBAL_SEARCH" 2010-01-14 02:26:50 -08:00
Bjorn Bringert
7f6528113c Merge "Add QSB's GoogleSearch as the preferred web search provider" 2010-01-14 02:25:34 -08:00
Grace Kloba
5f01d7e268 DO NOT MERGE
Use the common ScaleGestureDetector to detect the
multi-touch motion.

Check both supportZoom and getBuiltInZoomControls
to decide whether enable the multi-touch behavior.
This should the new pinch behavior only replace the
old +/-.

Fix http://b/issue?id=2363260

Only update textWrapScale if it is different. This
should fix the performance decrease caused by initial
multi-touch code.

Fix http://b/issue?id=2371694
2010-01-13 22:02:53 -08:00
Xavier Ducrohet
63b2e61627 ADT/Layoutlib: 2 color, linear gradient support.
Change-Id: Ifaafa4fc42a22f4851449a7c35a5b82e211aafe7
2010-01-13 20:30:26 -08:00
Xavier Ducrohet
1da2735c58 am f73bd14a: Merge "ADT/Layoutlib: implement Canvas.concat(Matrix)" into eclair
Merge commit 'f73bd14a8d5932b34a0e6e4d2de78b74705276b8' into eclair-plus-aosp

* commit 'f73bd14a8d5932b34a0e6e4d2de78b74705276b8':
  ADT/Layoutlib: implement Canvas.concat(Matrix)
2010-01-13 19:17:07 -08:00
Xavier Ducrohet
f73bd14a8d Merge "ADT/Layoutlib: implement Canvas.concat(Matrix)" into eclair 2010-01-13 19:14:28 -08:00
Xavier Ducrohet
608cd11cdc ADT/Layoutlib: implement Canvas.concat(Matrix)
This prevented ImageView from making proper use of ScaleType.

Also fixed Canvas.getSaveCount() that returned the wrong
value and Matrix.getTransform() which used the wrong order
for the AffineTransform constructor!!

Bug: 2364564

Change-Id: I78babf4aa6689440e52ad06b1473f75b20eb66da
2010-01-13 18:17:59 -08:00
Adam Powell
b5a5a39716 am 56a17690: Merge "TransformGestureDetector is now ScaleGestureDetector - scope reduced. N1 screen can\'t reliably handle translation and scaling at the same time." into eclair
Merge commit '56a17690b0b9dc2a2e15ef38a37cc4c403c614fe' into eclair-plus-aosp

* commit '56a17690b0b9dc2a2e15ef38a37cc4c403c614fe':
  TransformGestureDetector is now ScaleGestureDetector - scope reduced.
2010-01-13 18:04:39 -08:00
Adam Powell
56a17690b0 Merge "TransformGestureDetector is now ScaleGestureDetector - scope reduced. N1 screen can't reliably handle translation and scaling at the same time." into eclair 2010-01-13 18:00:35 -08:00
John Wang
b61c1a0f8b Add Event log for RAT switch.
Write event log while the 2G/3G radio access technology switched.
2010-01-13 17:55:57 -08:00
Xavier Ducrohet
cff6c8459c am ae4bd059: ADT/Layoutlib: Reimplement parts of BitmapFactory
Merge commit 'ae4bd059caa71aa4652c0f07fde7c2687169906e' into eclair-plus-aosp

* commit 'ae4bd059caa71aa4652c0f07fde7c2687169906e':
  ADT/Layoutlib: Reimplement parts of BitmapFactory
2010-01-13 17:09:52 -08:00
Robert Greenwalt
90528645ad am 1193ae4e: Backport l53e91db7 from master.
Merge commit '1193ae4e824c66b75083c444ce0f250594e138ee' into eclair-plus-aosp

* commit '1193ae4e824c66b75083c444ce0f250594e138ee':
  Backport l53e91db7 from master.
2010-01-13 17:09:40 -08:00
Adam Powell
ae542ff055 TransformGestureDetector is now ScaleGestureDetector - scope reduced.
N1 screen can't reliably handle translation and scaling at the same time.
2010-01-13 17:08:31 -08:00
Xavier Ducrohet
ae4bd059ca ADT/Layoutlib: Reimplement parts of BitmapFactory
The original bitmap factory is mostly done in native and deals
with the normal android Bitmap class which has been replaced
in the layoutlib by a bitmap that is merely a wrapper around
an AWT BufferedImage.

This new BitmapFactory creates the layoutlib version of
Bitmap all in Java.

Change-Id: Ice8b5d19141a9a43f83349c159201bf85604b3b0
2010-01-13 16:43:07 -08:00
Mark Wagner
670dd81942 bugfix endfling case (bug 2300534)
When the menu comes up over the activity we call removeCallbacks(mFlingRunnable);
The effect of that is that our mTouchMode variable is left dangling in the fling
state.  This change calls endFling() after removeCallbacks.  In the specific bug
being addressed we depend on reportScrollStateChange() because we avoid doing
requeries while scrolling.
2010-01-13 16:42:01 -08:00
Jason Sams
22550a1943 Merge "Remove excessive logging, fix error in GLSL uniform generation." 2010-01-13 14:54:20 -08:00
Jason Sams
e17e365b71 Remove excessive logging, fix error in GLSL uniform generation. 2010-01-13 14:52:46 -08:00
Dan Egnor
52952b1bca Overhaul of dumpstate (aka bugreport) with cleanups & enhancements:
- include basic build & timestamp information in the header
- collect stack traces immediately at bugreport time
- *also* show stack traces from last ANR (as before), if in the last 15 minutes
- alphabetize system properties dump
- remove now-obsolete (and always questionable) "dumpcrash" functionality
- write to a .tmp file first, then rename to the final filename
- friendly usage message
- output sections include the exact file/command run
- source de-weirdification -- it's several hundred lines shorter now

The same data is present in the same order as before, and I've tried
to preserve all the grep/search targets people might use to find their
way through the file.
2010-01-13 14:30:33 -08:00
Neal Nguyen
96e40b4b37 Merge "Framework Tests Cleanup: Removing CTS duplicate files" 2010-01-13 14:19:11 -08:00
Neal Nguyen
8d1966eac0 Merge "Framework Tests Cleanup: Removing CTS duplicate files" 2010-01-13 14:18:48 -08:00