summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* am 4907d1d5: am 0c6cbf41: Merge "Better compat mode part one: start scaling ↵Dianne Hackborn2011-05-0931-451/+891
|\ | | | | | | | | | | | | windows." into honeycomb-mr2 * commit '4907d1d5e2c7d244b07579b8c52153df69754e85': Better compat mode part one: start scaling windows.
| * am 0c6cbf41: Merge "Better compat mode part one: start scaling windows." ↵Dianne Hackborn2011-05-0931-451/+891
| |\ | | | | | | | | | | | | | | | | | | into honeycomb-mr2 * commit '0c6cbf410a642f6e9cea7cca0a6e53a4a3cdd324': Better compat mode part one: start scaling windows.
| | * Merge "Better compat mode part one: start scaling windows." into honeycomb-mr2Dianne Hackborn2011-05-0931-451/+891
| | |\
| | | * Better compat mode part one: start scaling windows.Dianne Hackborn2011-05-0931-451/+891
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | First step of improving app screen size compatibility mode. When running in compat mode, an application's windows are scaled up on the screen rather than being small with 1:1 pixels. Currently we scale the application to fill the entire screen, so don't use an even pixel scaling. Though this may have some negative impact on the appearance (it looks okay to me), it has a big benefit of allowing us to now treat these apps as normal full-screens apps and do the normal transition animations as you move in and out and around in them. This introduces fun stuff in the input system to take care of modifying pointer coordinates to account for the app window surface scaling. The input dispatcher is told about the scale that is being applied to each window and, when there is one, adjusts pointer events appropriately as they are being sent to the transport. Also modified is CompatibilityInfo, which has been greatly simplified to not be so insane and incomprehendible. It is now simple -- when constructed it determines if the given app is compatible with the current screen size and density, and that is that. There are new APIs on ActivityManagerService to put applications that we would traditionally consider compatible with larger screens in compatibility mode. This is the start of a facility to have a UI affordance for a user to switch apps in and out of compatibility. To test switching of modes, there is a new variation of the "am" command to do this: am screen-compat [on|off] [package] This mode switching has the fundamentals of restarting activities when it is changed, though the state still needs to be persisted and the overall mode switch cleaned up. For the few small apps I have tested, things mostly seem to be working well. I know of one problem with the text selection handles being drawn at the wrong position because at some point the window offset is being scaled incorrectly. There are probably other similar issues around the interaction between two windows because the different window coordinate spaces are done in a hacky way instead of being formally integrated into the window manager layout process. Change-Id: Ie038e3746b448135117bd860859d74e360938557
* | | | am 45364dc4: Merge "Telephony: Signal Strength Changes." into honeycomb-LTEWink Saville2011-05-091-13/+21
|\ \ \ \ | |/ / / | | | | | | | | | | | | * commit '45364dc4bfe3e6118ad61f1d38489fe63418699a': Telephony: Signal Strength Changes.
| * | | Merge "Telephony: Signal Strength Changes." into honeycomb-LTEWink Saville2011-05-091-13/+21
| |\ \ \
| | * | | Telephony: Signal Strength Changes.Ramesh Sudini2011-05-091-13/+21
| | | | | | | | | | | | | | | | | | | | Change-Id: Ia406d21d860533e699a90d15130edcbc705ec645
* | | | | am a142512a: Broadcast SIM Refresh to all registered componentsRobert Greenwalt2011-05-095-14/+14
|\ \ \ \ \ | |/ / / / | | | | | | | | | | | | | | | * commit 'a142512a5009d7b4c422d23b1d7bab8d219eb50b': Broadcast SIM Refresh to all registered components
| * | | | Broadcast SIM Refresh to all registered componentsRobert Greenwalt2011-05-095-14/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There could be multiple registrants like SIM, STK. Port of 6228 from partner repo. Change-Id: I0756d8b69e30058409e0279f65a99a1aa091e13d
* | | | | am 5d032390: am 27944242: am c3038308: Merge "Doc change: adding ADK doc. ↵Robert Ly2011-05-092-0/+764
|\ \ \ \ \ | |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | still need to add the adk pkg download link when we get the package" into honeycomb-mr1 * commit '5d03239063d0c5148d920a0992da8974c6e0a8ce': Doc change: adding ADK doc. still need to add the adk pkg download link when we get the package
| * | | | am 27944242: am c3038308: Merge "Doc change: adding ADK doc. still need to ↵Robert Ly2011-05-092-0/+764
| |\ \ \ \ | | | |/ / | | |/| | | | | | | | | | | | | | | | | | | | | | add the adk pkg download link when we get the package" into honeycomb-mr1 * commit '279442428ab1000b57273f172453b712b03cb9fd': Doc change: adding ADK doc. still need to add the adk pkg download link when we get the package
| | * | | am c3038308: Merge "Doc change: adding ADK doc. still need to add the adk ↵Robert Ly2011-05-092-0/+764
| | |\ \ \ | | | |_|/ | | |/| | | | | | | | | | | | | | | | | | | | | | pkg download link when we get the package" into honeycomb-mr1 * commit 'c3038308a765de2826997b65c175bf752b45bc70': Doc change: adding ADK doc. still need to add the adk pkg download link when we get the package
| | | * | Merge "Doc change: adding ADK doc. still need to add the adk pkg download ↵Robert Ly2011-05-092-0/+764
| | | |\ \ | | | | | | | | | | | | | | | | | | link when we get the package" into honeycomb-mr1
| | | | * | Doc change: adding ADK doc. still need to add the adk pkg download link when ↵Robert Ly2011-05-092-0/+764
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | we get the package Change-Id: I941e708a70b48dba2da4aa3d186824c89ebfb22f
* | | | | | am 44e39d60: Merge remote branch \'goog/honeycomb-mr2\' into honeycomb-LTEThe Android Automerger2011-05-091-1/+3
|\ \ \ \ \ \ | |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '44e39d608cfddcbf56123480123822f26f20f259': DO NOT MERGE Handle GET_POWER failures DO NOT MERGE: Don't send pause again when coming back from full screen DO NOT MERGE MediaScanner: Add special casing of WMP album art files to isNoMediaPath() DO NOT MERGE MediaScanner: Fix bug in "no media" handling logic DO NOT MERGE MTP: Implement GetThumb command DO NOT MERGE MTP: Fix file descriptor leak in file editing extensions DO NOT MERGE MTP: Add extended operations to support in-place editing of files DO NOT MERGE MediaScanner: reimplement the ".nomedia" feature for hiding files from the media provider DO NOT MERGE Fix media scanner uri handling. DO NOT MERGE Revert "Remove permission android.permission.WRITE_MEDIA_STORAGE" DO NOT MERGE MTP and media provider support for multiple storage devices: DO NOT MERGE MountService: Fix running media scanner at boot. DO NOT MERGE Fix deadlock in MountService DO NOT MERGE StorageManager: Add getVolumeList() and getVolumeState() methods DO NOT MERGE MountService: Add support for multiple volumes
| * | | | | Merge remote branch 'goog/honeycomb-mr2' into honeycomb-LTEThe Android Automerger2011-05-082-2/+6
| |\ \ \ \ \ | | |/ / / / | | | | | / | | |_|_|/ | |/| | |
| | * | | Merge remote branch 'goog/honeycomb-mr1' into honeycomb-mr2The Android Automerger2011-05-0826-134/+1613
| | |\ \ \ | | | |/ /
| | * | | DO NOT MERGE Handle GET_POWER failuresIrfan Sheriff2011-05-061-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Return a failure when GET_POWER returns a non-conforming format Bug: 4380317 Change-Id: Ie723c424ab07774f2be2594aa5deeaa5cd5ac280
| | * | | DO NOT MERGE: Don't send pause again when coming back from full screenTeng-Hui Zhu2011-05-051-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When we enter full screen, the inline video has been paused. When we re-play in the inline mode, we don't need to paused the previous video, which is the full screen one. bug:4259109 Change-Id: I577edf43563116b0d1a9266d741e6a8aabbca779
| | * | | DO NOT MERGE MediaScanner: Add special casing of WMP album art files to ↵Mike Lockwood2011-05-031-29/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | isNoMediaPath() This will prevent MediaProvider from adding these files to the images table Change-Id: Ibc4128762f221b370a00e331aca633aafae0ad70 Signed-off-by: Mike Lockwood <lockwood@android.com>
| | * | | DO NOT MERGE MediaScanner: Fix bug in "no media" handling logicMike Lockwood2011-05-031-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Don't let the "no media" status of one directory leak to the remaining files and directories in the same parent. Bug: 4364077 Change-Id: Ie756ccd06b1962b06143fc02a1a3927c3aba143a Signed-off-by: Mike Lockwood <lockwood@android.com>
| | * | | DO NOT MERGE MTP: Implement GetThumb commandMike Lockwood2011-05-037-2/+100
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This allows the PC to access thumbnails in JPEG files over MTP/PTP Bug: 3219495 Change-Id: Id61f353ba70e896fae9a47338bf7871c0f185d3e Signed-off-by: Mike Lockwood <lockwood@android.com>
| | * | | DO NOT MERGE MTP: Fix file descriptor leak in file editing extensionsMike Lockwood2011-05-032-24/+29
| | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Ie0b979b5cfd9b5f9e9196c5f8c8ecccef6ed84c3 Signed-off-by: Mike Lockwood <lockwood@android.com>
| | * | | DO NOT MERGE MTP: Add extended operations to support in-place editing of filesMike Lockwood2011-05-036-38/+280
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | MTP does not support partial writes of files (the entire file must be transferred at once). This makes it impossible to implement a FUSE file system for MTP with acceptable performance. To fix this problem, this change adds extended MTP operations to allow partial writes to files: SendPartialObject - allows writing a subset of a file, or appending to the end of a file TruncateObject - allows changing the size of a file BeginEditObject - must be called before using SendPartialObject and TruncateObject EndEditObject - commits changes to a file after it has been edited with SendPartialObject or TruncateObject We also add GetPartialObject64, which is the same as GetPartialObject but has a 64 bit offset rather than 32. Change-Id: Id5365e1c4dc55a2d819c16c9db0a3ac2260f9309 Signed-off-by: Mike Lockwood <lockwood@android.com>
| | * | | DO NOT MERGE MediaScanner: reimplement the ".nomedia" feature for hiding ↵Mike Lockwood2011-05-035-124/+124
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | files from the media provider Previously we ignored any files and directories that had name started with '.' and ignored any directories that contained a ".nomedia" file. Now to support transferring any file via MTP, we now add these previously ignored files to the media database, but will not mark them as audio, video, image or playlist files. That way they will be included in the files table but will be hidden from the audio, video, images and playlist views that are used by apps like Music and Gallery. Bug: 3405327 Change-Id: Ibb37bb2856a0684ce9f685ed565ad35347622834 Signed-off-by: Mike Lockwood <lockwood@android.com>
| | * | | DO NOT MERGE Fix media scanner uri handling.Marco Nelissen2011-05-031-21/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If a file was originally considered a video file (because it had a .mp4 extension, for example), but was then discovered to have only an audio track, it would update the type, but not the URI for insertion into the media provider. Change-Id: I25652a031b98d2ec2433263dd6f344ba90d2d112 Signed-off-by: Mike Lockwood <lockwood@android.com>
| | * | | DO NOT MERGE Revert "Remove permission android.permission.WRITE_MEDIA_STORAGE"Mike Lockwood2011-05-032-0/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We need this to allow MTP to access secondary external storage devices This reverts commit 35a2ea2fbf156a503d1b0bc6ca7784e51e2462f4. Conflicts: data/etc/platform.xml Change-Id: I0b139a0f3b369c1080831a5b3a48f5d9a330b1bb Signed-off-by: Mike Lockwood <lockwood@android.com>
| | * | | DO NOT MERGE MTP and media provider support for multiple storage devices:Mike Lockwood2011-05-0311-104/+312
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - MTP support for multiple storage units - Add storage_id column to media database for MTP storage ID - Add framework resource for defining mount points and user visible descriptions for multiple volumes - Clean up locking in MtpServer JNI code Change-Id: Ide6d47bd9aa1698ed2a13d695613e03f2a9b29e3 Signed-off-by: Mike Lockwood <lockwood@android.com>
| | * | | DO NOT MERGE MountService: Fix running media scanner at boot.Mike Lockwood2011-05-031-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I67ff2ccde7e03143167b8c59726ffb741c96e028 Signed-off-by: Mike Lockwood <lockwood@android.com>
| | * | | DO NOT MERGE Fix deadlock in MountServiceMike Lockwood2011-05-031-17/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It is not safe to call into vold with a lock held on mVolumeStates since we will receive events back from vold on a different thread. So in the boot completed handler we make a copy of the volume list and then call vold to mount volumes after releasing the lock Change-Id: Ic9836c2e1e8a5677d0c4e33476a72081f69823a0 Signed-off-by: Mike Lockwood <lockwood@android.com>
| | * | | DO NOT MERGE StorageManager: Add getVolumeList() and getVolumeState() methodsMike Lockwood2011-05-033-0/+68
| | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I43d5c1730b340f1288b58012234b38f801001b71 Signed-off-by: Mike Lockwood <lockwood@android.com>
| | * | | DO NOT MERGE MountService: Add support for multiple volumesMike Lockwood2011-05-031-108/+111
| | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I45ee0e5735a6d72c635f6d22320e8b13bccc3847 Signed-off-by: Mike Lockwood <lockwood@android.com>
* | | | | am 5de8226c: am 5cf78ecd: docs: update sdk tools sums and sizes based on ↵Scott Main2011-05-061-12/+12
|\ \ \ \ \ | |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | candidate 5 * commit '5de8226cc7caea7a52d9f2538f87d2cc34214ad0': docs: update sdk tools sums and sizes based on candidate 5
| * | | | am 5cf78ecd: docs: update sdk tools sums and sizes based on candidate 5Scott Main2011-05-061-12/+12
| |\ \ \ \ | | | |/ / | | |/| | | | | | | | | | | | * commit '5cf78ecd2c523be442f52888ca613b9a92325a6c': docs: update sdk tools sums and sizes based on candidate 5
| | * | | docs: update sdk tools sums and sizesScott Main2011-05-061-12/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | based on candidate 5 Change-Id: I10929c0dfd889c919d70a4aaa4854ce1fecbc51d
* | | | | am 71a73dab: am b6451228: docs: update screens dashboard and add opengl ↵Scott Main2011-05-063-24/+126
|\ \ \ \ \ | |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | dashboard * commit '71a73dab704df2c536bbd4c16454cdcdc472fce2': docs: update screens dashboard and add opengl dashboard
| * | | | am b6451228: docs: update screens dashboard and add opengl dashboardScott Main2011-05-063-24/+126
| |\ \ \ \ | | |/ / / | | | | | | | | | | | | | | | * commit 'b6451228526288b158c3b0bf0c5abbd5b072d51c': docs: update screens dashboard and add opengl dashboard
| | * | | docs: update screens dashboard and add opengl dashboardScott Main2011-05-063-24/+126
| | | |/ | | |/| | | | | | | | | Change-Id: Ic810bc9bb2a917ef1489f3d5f6c30b1bb75cb2e1
* | | | am 2b48ca07: Merge "Fix 2 functions getting connections up by apnType" into ↵Robert Greenwalt2011-05-061-2/+5
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | | | | honeycomb-LTE * commit '2b48ca07efd7f499ff01a3eeb17a4f5c40106dbe': Fix 2 functions getting connections up by apnType
| * | | Merge "Fix 2 functions getting connections up by apnType" into honeycomb-LTERobert Greenwalt2011-05-061-2/+5
| |\ \ \
| | * | | Fix 2 functions getting connections up by apnTypeRobert Greenwalt2011-05-061-2/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A bad impl that only effected non-default connections on CDMA. bug:4392820 Change-Id: If178dba90c4525289098fc88b80cf918e35f4d32
* | | | | am 2499da83: Merge "Mark a disable apn so we don\'t reconnect." into ↵Robert Greenwalt2011-05-062-50/+5
|\ \ \ \ \ | |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | honeycomb-LTE * commit '2499da83cb3db5f1d87a52e3e390139c98ff4210': Mark a disable apn so we don't reconnect.
| * | | | Merge "Mark a disable apn so we don't reconnect." into honeycomb-LTERobert Greenwalt2011-05-062-50/+5
| |\ \ \ \
| | * | | | Mark a disable apn so we don't reconnect.Robert Greenwalt2011-05-062-50/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Strip out the pending-action stuff so things are more clear. bug:4378382 Change-Id: I0e98559c88dccd50169c29d1e74421acb4246b78
* | | | | | am 6c6b62e0: am 223a94d2: docs: de-new the dev guide tocScott Main2011-05-061-24/+17
|\ \ \ \ \ \ | |/ / / / / | | | | | | | | | | | | | | | | | | * commit '6c6b62e04d1953916637be7fc96d83dde68da801': docs: de-new the dev guide toc
| * | | | | am 223a94d2: docs: de-new the dev guide tocScott Main2011-05-061-24/+17
| |\ \ \ \ \ | | | |_|/ / | | |/| | | | | | | | | | | | | | | * commit '223a94d2effd0ba9ef205d0bb790a5bdfb4d54c0': docs: de-new the dev guide toc
| | * | | | docs: de-new the dev guide tocScott Main2011-05-061-24/+17
| | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I11ab2fcb8472876aa0776383490390d502475e39
* | | | | | am 0d560d45: am 9f7054fe: Merge "docs: add package description for mtp and a ↵Scott Main2011-05-062-1/+12
|\ \ \ \ \ \ | |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | little more info to MtpDevice" into honeycomb-mr1 * commit '0d560d454b88d52a3b48cbc3c3be27e563b7f098': docs: add package description for mtp and a little more info to MtpDevice
| * | | | | am 9f7054fe: Merge "docs: add package description for mtp and a little more ↵Scott Main2011-05-062-1/+12
| |\ \ \ \ \ | | |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | info to MtpDevice" into honeycomb-mr1 * commit '9f7054fea28e65ae1bf8bc1114090306979ba657': docs: add package description for mtp and a little more info to MtpDevice
| | * | | | Merge "docs: add package description for mtp and a little more info to ↵Scott Main2011-05-062-1/+12
| | |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | MtpDevice" into honeycomb-mr1