summaryrefslogtreecommitdiffstats
path: root/api
Commit message (Collapse)AuthorAgeFilesLines
* fix broken api/current.xmlVasu Nori2010-07-171-44/+44
| | | | Change-Id: I6cc03dddf20228625f18f7a59aed22628f9661fa
* add video/audio chat-compatibility modes to ContactsContractVasu Nori2010-07-171-0/+55
| | | | Change-Id: Ic0b04017ad4216f1a1c5f07fa9d27e6970ded931
* Fix bug with phantom input windows.Jeff Brown2010-07-161-0/+221
| | | | | | | | | | | Add dumpsys integration for the native input dispatcher. Add some InputDevice API stubs. Add an appendFormat helper method to String8 for printf style string formatting mainly for debugging purposes. Use generic ArrayList<WindowState> everywhere in WindowManagerService to eliminate unnecessary casts all over. Change-Id: I9d1e3bd90eb7222d10620200477f11b7bfd25e44
* Add API to call to vold for mounting OBBsKenny Root2010-07-151-0/+79
| | | | | | | | | | | | | | | * Unhide StorageService class; hide all the USB-related items * Add application-visible API to StorageManager for OBB files * Add class for parceling OBB info across binders (ObbInfo) * Add a JNI glue class to libutils/ObbFile (ObbScanner) * Add API to MountService to deal with calling into vold and checking permissions Change-Id: I33ecf9606b8ff535f3a2ada83931da6bbef41cfd
* Add support for new input sources.Jeff Brown2010-07-152-48/+794
| | | | | | | | | | | | | | | | | | | | | | | | | Added several new coordinate values to MotionEvents to capture touch major/minor area, tool major/minor area and orientation. Renamed NDK input constants per convention. Added InputDevice class in Java which will eventually provide useful information about available input devices. Added APIs for manufacturing new MotionEvent objects with multiple pointers and all necessary coordinate data. Fixed a bug in the input dispatcher where it could get stuck with a pointer down forever. Fixed a bug in the WindowManager where the input window list could end up containing stale removed windows. Fixed a bug in the WindowManager where the input channel was being removed only after the final animation transition had taken place which caused spurious WINDOW DIED log messages to be printed. Change-Id: Ie55084da319b20aad29b28a0499b8dd98bb5da68
* Remove the YV16 format for simplicity's sake.Mathias Agopian2010-07-141-0/+11
| | | | Change-Id: Iee03d100933ba0c67b13d51e0435be3b4cd953cf
* IME events are now dispatched to native applications.Dianne Hackborn2010-07-131-2/+64
| | | | | | | | | | | | | | | And also: - APIs to show and hide the IME, and control its interaction with the app. - APIs to tell the app when its window resizes and needs to be redrawn. - API to tell the app the content rectangle of its window (to layout around the IME or status bar). There is still a problem with IME interaction -- we need a way for the app to deliver events to the IME before it handles them, so that for example the back key will close the IME instead of finishing the app. Change-Id: I37b75fc2ec533750ef36ca3aedd2f0cc0b5813cd
* Add initial gamepad support.Jeff Brown2010-07-131-0/+165
| | | | Change-Id: I0439648f6eb5405f200e4223c915eb3a418b32b9
* Deprecate some status bar icons that now come from the phone app (andDavid Brown2010-07-091-5/+5
| | | | | | | | | shouldn't have been public in the first place.) (And since the changed deprecation state is a public API change, I needed to do "make update-api" as well.) Change-Id: I803d5a81ad2363561137be5af4f2b8258df758cd
* Make android:immersive public.Daniel Sandler2010-07-081-11/+11
| | | | | | | | This exposes the AndroidManifest attribute android:immersive, introduced in Change I967bb10b, to the SDK. Change-Id: Iccbc99590cd0fd4c570b9b9670ef93036f9d849e
* OBB API for PackageManagerKenny Root2010-07-071-0/+15
| | | | | | | | | Simple API for tracking .obb files associated with packages. Stores the path in the PackageSettings. No verification of file content is done now since the PackageManagerService can't read the SD card where these files will likely live. Change-Id: Ibeaf26ba0526b6d60f401137e58f46ee9faff39e
* Add multiple camera support for in MediaProfiles.Chih-Chung Chang2010-07-011-0/+30
| | | | Change-Id: Ie89568a0f5f5fd08ede77e33f9a559215d6bed9a
* Unhide new API for supporting multiple cameras.Chih-Chung Chang2010-06-281-0/+119
| | | | Change-Id: I916a536c80330444a15986ba380205a6deed2390
* Add APIs for finding heavy-weight apps.Dianne Hackborn2010-06-241-0/+21
| | | | Change-Id: I6c865cce404cac1a08eee056f963de5d276d5898
* Remove InputConsumer, replacing with InputQueue.Dianne Hackborn2010-06-231-14/+14
| | | | Change-Id: Ib06907278457aaee842b123adc072840ca3602d8
* Immersive activity API.Daniel Sandler2010-06-231-0/+24
| | | | | | | | | | | | | | | | | An Activity can declare itself to be "immersive" either by setting android:immersive="true" in AndroidManifest or by calling setImmersive(true). Immersive activities "should" not be interrupted, for example by Notifications with an associated fullScreenIntent. (In the future we may even prevent any non-system application from successfully calling startActivity() if the foreground activity is immersive.) Notifications with FLAG_HIGH_PRIORITY set will be shown to the user in some less-obtrusive way if the frontmost activity is immersive. Change-Id: I8d0c25cc4e22371c27cbf2bb6372d2c95d57b2d7
* andriod.location.Criteria: Simplify new location criteria APIs a bit.Mike Lockwood2010-06-231-91/+1
| | | | | | | | Remove ACCURACY_BEST and only use ACCURACY_MEDIUM for horizontal accuracy. Remove accuracy priority support, since it be difficult to implement in some cases. Change-Id: I785a781f8d8f3bf3be6693ad71d077b6eb280c31 Signed-off-by: Mike Lockwood <lockwood@android.com>
* First stab at attaching native event dispatching.Dianne Hackborn2010-06-221-0/+84
| | | | | | | | | | | | Provides the basic infrastructure for a NativeActivity's native code to get an object representing its event stream that can be used to read input events. Still work to do, probably some API changes, and reasonable default key handling (so that for example back will still work). Change-Id: I6db891bc35dc9683181d7708eaed552b955a077e
* Revised "immersive mode" API.Daniel Sandler2010-06-221-11/+11
| | | | | | | | | | | | | | | | | No longer a window bit, FLAG_IMMERSIVE is now set on ActivityInfo.flags and in the Activity's manifest as android:immersive="true" (ActivityInfo). [An "immersive" activity is one that wishes to avoid being paused by full-screen notifications (like an incoming call). An activity that sets FLAG_IMMERSIVE/android:immersive is sending a signal to the notification manager, status bar, etc. that they should try to find some other way to get the user's attention in high-priority situations.] [Originally: change Ie290c2e.] Change-Id: I967bb10b930b8f0772b10f81f2957a03fa3f1736
* Add OpenGL ES 2.0 VBO versions glDrawElements and glVertexAttribPointer.Jack Palevich2010-06-221-0/+42
| | | | Change-Id: Id0069535e97fe96eef74e4d0c1d19b010061fe3b
* Fixed api/current.xml after a bad merge.Jeff Brown2010-06-171-2/+2
| | | | Change-Id: I033f417e928eb541f0528521326b66776a3c9096
* Even more native input dispatch work in progress.Jeff Brown2010-06-171-2/+2
| | | | | | | | | | | | | | | | | Added more tests. Fixed a regression in Vector. Fixed bugs in pointer tracking. Fixed a starvation issue in PollLoop when setting or removing callbacks. Fixed a couple of policy nits. Modified the internal representation of MotionEvent to be more efficient and more consistent. Added code to skip/cancel virtual key processing when there are multiple pointers down. This helps to better disambiguate virtual key presses from stray touches (such as cheek presses). Change-Id: I2a7d2cce0195afb9125b23378baa94fd2fc6671c
* New API for "immersive" activity windows.Daniel Sandler2010-06-171-0/+10
| | | | | | | | | | | | | | | | An "immersive" activity (as indicated by the new FLAG_IMMERSIVE) is one that wishes to avoid being paused by full-screen notifications (like an incoming call). An activity that sets FLAG_IMMERSIVE on its window is sending a signal to the notification manager, status bar, etc. that they should try to find some other way to get the user's attention in high-priority situations. FLAG_IMMERSIVE should be used exclusively in conjunction with FLAG_FULL_SCREEN (that is, only activities that hide the status bar should consider themselves immersive). Change-Id: Ie290c2e92fc391bcf55edfdb1fbd626cd284e3e2
* New API for high-priority Notifications and full-screen alerts.Daniel Sandler2010-06-171-0/+22
| | | | | | | | | | | | | | | | | | | | | | | | * fullScreenIntent: a PendingIntent pointing to a full-screen activity or other modal alert experience to be shown to the user instead of (or in addition to) a traditional status bar notification icon. Example: An incoming call should pop up a full-screen activity allowing the user to accept or decline the call. The old way to accomplish this is to simply fire off the full-screen intent directly from the Phone app. By routing through the Notification system, we make way for the FLAG_IMMERSIVE bit (forthcoming API) which would allow the frontmost opaque window to suppress full-screen alerts. * FLAG_HIGH_PRIORITY: This bit allows a notification to be shown in windows that have the FLAG_IMMERSIVE bit set. For example, a Notification corresponding to an incoming call would be marked HIGH_PRIORITY so that even in an immersive activity (i.e. a networked game) the Notification could be shown to the user. Change-Id: I4943e53f425800a6e152bc4992dd41586b43aff8
* add new video/audio presence icons in the framework resource dirs, and make ↵Wei Huang2010-06-151-34/+34
| | | | | | | | | | | | | | | | | | | them public. - add definitions for presence_video_away presence_video_busy presence_video_online presence_audio_away presence_audio_busy presence_audio_online in the public.xml, and update current.xml - the actual icons for the audio versions are not yet done, so I used the video versions as placeholders. Change-Id: I9e2be5dd05619cbdbbb61dc231e9da1984ddbb36
* Update build version information.Dianne Hackborn2010-06-141-11/+0
| | | | Change-Id: If53f16d494255230859a30f561e9a78ec49c6c10
* Adjust activity manager process OOM adj.Dianne Hackborn2010-06-111-1/+12
| | | | | | | | | | | | Modify OOM adj classes a bit, to take into account the new heavy weight app type, and give "foreground services" their own category to have a bettery chance to manager them when things go wrong. Also add some new code to battery stats to keep a history of changes to the battery level. Change-Id: I29f5ab6938777e1a7eafd7d8c38b5e564cc9f96a
* Unhide camera metering mode API.Wu-cheng Li2010-06-111-2/+70
| | | | Change-Id: Ia3ca83e2a0b5b322e5dbf9ae3d5c1d3b89e0fd31
* Switch stagefright's approach to prefetching to the new model. The java ↵Andreas Huber2010-06-101-0/+22
| | | | | | MediaPlayer is now notified about rebuffering start/end via info messages. Change-Id: If8185ba329ce8b6663b1ad39a4efb0ad3be81df2
* Introduce "StrictMode"Brad Fitzpatrick2010-06-101-2/+112
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is a new public API for developers to opt-in to strict rules about what they're allowed to do on certain threads. (this is the public face of the @hide dalvik.system.BlockGuard, added recently...) In practice this will be used for developers to opt-in to declaring that they don't want to be allowed to do various operations (such as disk I/O or network operations) on their main UI threads. (these operations are often accidental, or even when they are fast come with a good chance of being slow or very slow in some cases....) Implementation wise, this is just a thread-local integer that has a bitmask of the things that aren't allowed, and more bits for saying what the violation penalty is. The penalties, of which multiple can be chosen, include: * logging * dropbox uploading for analysis/reporting * annoying dialog * full-on crashing These are all only very roughly implemented at this point, but all parts now minimally work end-to-end now, so this is a good checkpoint commit before this gets too large. Future CLs will polish all the above 4 penalties, including checksumming of stacktraces and minimizing penalties for duplicate violations. Change-Id: Icbe61a2e950119519e7364030b10c3c28d243abe
* Fix bug in reporting a processes's dependent component.Dianne Hackborn2010-06-071-0/+33
| | | | | | Also add new action to show an app's details. Change-Id: I6ad3b3ac8462f5acf726ce76130882a262adff92
* Add support for heavy-weight applications.Dianne Hackborn2010-06-041-11/+44
| | | | | | | Only one can be running at a time, their process can not be killed, and a notification is posted while it is running. Change-Id: I843015723947e0c934ae63a1aeee139327c0bc01
* Add support for gps altitude EXIF tags.Wu-cheng Li2010-05-271-0/+35
| | | | | | Also improve the precision of getLatLong(). Change-Id: Id2c60f0d1d19e9da173b5ec1228f03c2195e189f
* Add Geocorder.isImplemented()Mark Vandevoorde2010-05-211-0/+11
| | | | | | | | | | The Geocorder interface is not part of the Android core. It requires a backend service which may or may not be available on a device. The new isImplemented static method allows apps to discover whether the Geocorder is in fact available on the device. Change-Id: I2b5cf7bcc9cce4766bcbb156e91edf34b01f9296
* Unhide new location manager APIs:Mike Lockwood2010-05-211-0/+776
| | | | | | | | | | | | | | Criteria.java LocationManager.java New APIs for criteria based location requests and single shot support. GeocoderParams.java GeocodeProvider.java LocationProvider.java APIs for network location unbundling. Change-Id: I3311fa01ce76fe4cba3537617e5b1c8d1f1d42b7 Signed-off-by: Mike Lockwood <lockwood@android.com>
* am 2dc7c6c4: merge from open-source masterThe Android Open Source Project2010-05-191-0/+11
|\ | | | | | | | | | | | | Merge commit '2dc7c6c4153380fc64b99d37d763d3f0d1cac04d' into kraken * commit '2dc7c6c4153380fc64b99d37d763d3f0d1cac04d': Add and document .nomedia constant for MediaStore (Issue 6365)
| * merge from open-source masterThe Android Open Source Project2010-05-191-0/+11
| |\ | | | | | | | | | Change-Id: I94b3aacb3478b1d9e0751c02bb301d5f9a2cf05c
| | * Add and document .nomedia constant for MediaStore (Issue 6365)Karl Ostmo2010-05-171-0/+11
| | | | | | | | | | | | Change-Id: Ic9c4a784187cd1264584992411916a5beeefd864
* | | Update NativeActivity to allow direct surface access.Dianne Hackborn2010-05-181-0/+47
| | | | | | | | | | | | | | | | | | No actual native API for using a surface, but it's a step. Change-Id: I627f26b705abc7a05edf9117411abfacf0fae64a
* | | Add new API to take over a window's Surface.Dianne Hackborn2010-05-181-0/+13
| | | | | | | | | | | | Change-Id: Iad6245faadc95f19ea63c8e229a1c02e9188f69e
* | | Add camera focus distances API.Wu-cheng Li2010-05-151-0/+46
| | | | | | | | | | | | | | | | | | | | | | | | Applications can use this API to estimate the distance between the subject and the camera. bug:1955650 Change-Id: Ie6c8ea4971759cab6c9bcdda2c5ceb5925791c27
* | | am 4adacd23: merge from open-source masterThe Android Open Source Project2010-05-121-0/+11
|\ \ \ | |/ / | | | | | | | | | | | | | | | Merge commit '4adacd23d4c91569b16fe50419f1a91f68d805bd' into kraken * commit '4adacd23d4c91569b16fe50419f1a91f68d805bd': Add support for EVDO Rev B
| * | merge from open-source masterThe Android Open Source Project2010-05-121-0/+11
| |\ \ | | |/ | | | | | | Change-Id: If6730b50627b2231bd345e594d8d30a37557849e
| | * Add support for EVDO Rev BNaveen Kalla2010-05-111-0/+11
| | | | | | | | | | | | Change-Id: I8588e8b342c51f4b79bced8ef8fe60d57f07aefa
* | | Fix build Remove from API 9 definition the two methods that wereJean-Michel Trivi2010-05-121-26/+0
| | | | | | | | | | | | | | | | | | removed from API 8. Change-Id: I4b443a257b5674a7493ccda0a0427999e369fb4f
* | | am d9712b69: am b1235a57: Merge "Hide two audio focus methods." into froyoXavier Ducrohet2010-05-122-52/+0
|\ \ \ | |/ / | | | | | | | | | | | | | | | Merge commit 'd9712b69ce529fbf50b3b837032c1dc40e623381' into kraken * commit 'd9712b69ce529fbf50b3b837032c1dc40e623381': Hide two audio focus methods.
| * | am b1235a57: Merge "Hide two audio focus methods." into froyoXavier Ducrohet2010-05-122-52/+0
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | Merge commit 'b1235a57a09174179553acecef2370354bdcbf41' into froyo-plus-aosp * commit 'b1235a57a09174179553acecef2370354bdcbf41': Hide two audio focus methods.
| | * | Hide two audio focus methods.Xavier Ducrohet2010-05-112-52/+0
| | | | | | | | | | | | | | | | Change-Id: I53ddf736892cde8edfaffa7d69dd9c234df52efa
* | | | Add continuous focus mode constant.Wu-cheng Li2010-05-101-0/+11
| | | | | | | | | | | | | | | | | | | | bug:2612447 Change-Id: I9bc3f5a47ad50722a265d50b1d28fb82a2253dc9
* | | | am f7896449: merge from open-source masterThe Android Open Source Project2010-05-051-0/+22
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Merge commit 'f78964490d8098387d51444c87bf520ad3f674e2' into kraken * commit 'f78964490d8098387d51444c87bf520ad3f674e2': Add new keycodes for the convenience of Japanese IMEs Call register_localized_collators() with the current locale. Fixed deserialization problem in DatePicker. Fix for bug 2467152 files with spaces fail to open. Set alpha value for newly created dim surface. telephony: Fix CID when CID is unknown