summaryrefslogtreecommitdiffstats
path: root/include
Commit message (Collapse)AuthorAgeFilesLines
...
* | Expose a variation of the createRenderer API that works on a plain Surface.Andreas Huber2009-08-101-2/+2
| |
* | added EGLUtils::strerrorMathias Agopian2009-08-071-0/+2
| |
* | Merge changes 20345,20346,20347Android (Google) Code Review2009-08-062-1/+53
|\ \ | | | | | | | | | | | | | | | | | | * changes: update most gl tests to use EGLUtils added two EGL helpers for selecting a config matching a certain pixelformat or native window type added NATIVE_WINDOW_FORMAT attribute to android_native_window_t
| * | added two EGL helpers for selecting a config matching a certain pixelformat ↵Mathias Agopian2009-08-061-0/+51
| | | | | | | | | | | | or native window type
| * | added NATIVE_WINDOW_FORMAT attribute to android_native_window_tMathias Agopian2009-08-061-1/+2
| | |
* | | EventHub: pass the name of each input device up to JavaIliyan Malchev2009-08-061-1/+1
|/ / | | | | | | Signed-off-by: Iliyan Malchev <malchev@google.com>
* | Finish implementation of multiple pointer support for MotionEvent.Dianne Hackborn2009-08-041-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The major things going on here: - The MotionEvent API is now extended to included "pointer ID" information, for applications to keep track of individual fingers as they move up and down. PointerLocation has been updated to take advantage of this. - The input system now has logic to generate MotionEvents with the new ID information, synthesizing an identifier as new points are down and trying to keep pointer ids consistent across events by looking at the distance between the last and next set of pointers. - We now support the new multitouch driver protocol, and will use that instead of the old one if it is available. We do NOT use any finger id information coming from the driver, but always synthesize pointer ids in user space. (This is simply because we don't yet have a driver reporting this information from which to base an implementation on.) - Increase maximum number of fingers to 10. This code has only been used with a driver that reports up to 2, so no idea how more will actually work. - Oh and the input system can now detect and report physical DPAD devices.
* | The IOMX interface now instantiates IOMXRenderers to hide the details of ↵Andreas Huber2009-07-311-0/+2
| | | | | | | | hardware accelerated blitting.
* | Merge change 9287Android (Google) Code Review2009-07-303-1/+21
|\ \ | | | | | | | | | | | | * changes: fixed some issues with the software renderer when surfaces are made current.
| * | fixed some issues with the software renderer when surfaces are made current.Mathias Agopian2009-07-303-1/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | there was several issues: - when a surface was made non-current, the last frame wasn't shown and the buffer could stay locked - when a surface was made current the 2nd time, it would not dequeue a new buffer now, queue/dequeue are done when the surface is made current. for this to work, a new query() hook had to be added on android_native_window_t, it allows to retrieve some attributes of a window (currently only width and height).
* | | am 25dff70f: Merge change 9039 into donutAndroid (Google) Code Review2009-07-301-2/+4
|\ \ \ | | |/ | |/| | | | | | | | | | | | | Merge commit '25dff70f153529b87f5ad4a92f4de21e8950b1de' * commit '25dff70f153529b87f5ad4a92f4de21e8950b1de': Fix #2018814: System cannot correctly render assets with "wrap_content" attribute in QVGA
| * | Fix #2018814: System cannot correctly render assets with "wrap_content" ↵Dianne Hackborn2009-07-291-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | attribute in QVGA It turns out we were not returning the density for anything retrieved from a TypedArray... which basically means any bitmap references from a layout or style...!!! This is now fixed. Also fiddle with the density compatibility mode to turn on smoothing in certain situations, helping the look of things when they need to scale and we couldn't do the scaling at load time.
* | | Adding resizeInput and setAttributes for overlayBenny Wong2009-07-291-0/+6
| |/ |/|
* | Fix issue 1795088 Improve audio routing codeEric Laurent2009-07-231-2/+2
| | | | | | | | | | | | | | Initial commit for review. Integrated comments after patch set 1 review. Fixed lockup in AudioFlinger::ThreadBase::exit() Fixed lockup when playing tone with AudioPlocyService startTone()
* | Merge change 7529Android (Google) Code Review2009-07-221-2/+3
|\ \ | | | | | | | | | | | | * changes: Make MemoryDealer's destructor protected instead of public.
| * | Make MemoryDealer's destructor protected instead of public.Andreas Huber2009-07-161-2/+3
| | | | | | | | | | | | MemoryDealer, like all other subclasses of RefBase,MUST NOT BE stack-allocated, a protected destructor prohibits stack-allocation while allowing the baseclass to properly invoke the subclass' destructor once the refcount drops to 0.
* | | am 9fc20b0e: Merge change 8126 into donutAndroid (Google) Code Review2009-07-211-27/+57
|\ \ \ | | |/ | |/| | | | | | | | | | | | | Merge commit '9fc20b0e381b5fe00b7049ef357c839cd05a33bf' * commit '9fc20b0e381b5fe00b7049ef357c839cd05a33bf': First pass at reworking screen density/size APIs.
| * | First pass at reworking screen density/size APIs.Dianne Hackborn2009-07-211-27/+57
| | | | | | | | | | | | | | | | | | | | | | | | This changes the names of the directories in aapt, to what you see in the list of DpiTest resources. Also adds a new "long" configuration for wide screens, which the platform sets appropriate, and introduces a new kind of resizeability for not large but significantly larger than normal screens which may have compatibility issues.
* | | Merge change 5892Android (Google) Code Review2009-07-201-0/+4
|\ \ \ | | | | | | | | | | | | | | | | * changes: Hardware overlay support
| * | | Hardware overlay supportBenny Wong2009-07-161-0/+4
| | |/ | |/| | | | | | | Enable hardware overlay support for camera and video playback use cases
* | | am aad0fcc9: Merge change 7783 into donutAndroid (Google) Code Review2009-07-191-1/+2
|\ \ \ | | |/ | |/| | | | | | | | | | | | | Merge commit 'aad0fcc9619eb72c18a6afff48ebc9d4011f0f54' * commit 'aad0fcc9619eb72c18a6afff48ebc9d4011f0f54': Add "nodpi" density, and expose a bunch of density-related APIs.
| * | Add "nodpi" density, and expose a bunch of density-related APIs.Dianne Hackborn2009-07-171-1/+2
| | | | | | | | | | | | | | | Also update the DpiTest app to use nodpi images, and try to have a mode where it turns off compatibility though it's not quite working.
* | | EventHub: Add support for excluding devices from being opened by as a keyboard.Mike Lockwood2009-07-161-4/+10
| |/ |/| | | | | | | | | | | This will be used to avoid unnecessarily listening to data from sensors that function as event devices. Signed-off-by: Mike Lockwood <lockwood@android.com>
* | Merge change 7353Android (Google) Code Review2009-07-151-1/+4
|\ \ | | | | | | | | | | | | * changes: Implement virtual button support.
| * | Implement virtual button support.Dianne Hackborn2009-07-141-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The kernel can now publish a property describing the layout of virtual hardware buttons on the touchscreen. These outside of the display area (outside of the absolute x and y controller range the driver reports), and when the user presses on them a key event will be generated rather than a touch event. This also includes a number of tweaks to the absolute controller processing to make things work better on the new screens. For example, we now reject down events outside of the display area. Still left to be done is the ability to cancel a key down event, so the user can slide up from the virtual keys to the touch screen without causing a virtual key to execute.
* | | add a ctor to Mutex to specify the type, which can be shared. This is used ↵Mathias Agopian2009-07-132-0/+19
|/ / | | | | | | by sf and af an soon will allow some optimization in the kernel for non shared mutexes
* | implement Mutex and Condition with pthread instead of calling futex directly.Mathias Agopian2009-07-132-64/+86
| | | | | | | | | | internally pthread uses futex. the implementation consists of simple inlines there are no implementation files anymore.
* | am 8a715b4b: Merge change 5510 into donutAndroid (Google) Code Review2009-07-091-5/+111
|\ \ | |/ | | | | | | | | | | Merge commit '8a715b4b791db4390d12e0ded02280592634a424' * commit '8a715b4b791db4390d12e0ded02280592634a424': Add useful functions to String8, which enables users to convert between UTF-8 and UTF-32
| * Merge change 5510 into donutAndroid (Google) Code Review2009-07-081-5/+111
| |\ | | | | | | | | | | | | * changes: Add useful functions to String8, which enables users to convert between UTF-8 and UTF-32 It will be used in SQL functions in external/sqlite/android. See https://android-git.corp.google.com/g/Gerrit#change,5511 for example.
| | * Add useful functions to String8, which enables users to convert between ↵Daisuke Miyakawa2009-07-091-5/+111
| | | | | | | | | | | | | | | | | | | | | | | | | | | UTF-8 and UTF-32 It will be used in SQL functions in external/sqlite/android. See https://android-git.corp.google.com/g/Gerrit#change,5511 for example. Related internal bug id: 1707173
* | | Merge change 6560Android (Google) Code Review2009-07-083-2/+6
|\ \ \ | | | | | | | | | | | | | | | | * changes: resolved conflicts for merge of 04c7d0f8 to master
| * \ \ resolved conflicts for merge of 04c7d0f8 to masterDave Sparks2009-07-083-2/+6
| |\ \ \ | | |/ /
| | * | Add timestamps to video frames to improve A/V sync.Dave Sparks2009-07-083-2/+6
| | |/ | | | | | | | | | Bug 1927069.
* | | Add a virtual destructor to the TtsEngine class.Marco Nelissen2009-07-081-0/+2
|/ /
* | Merge change 6382Android (Google) Code Review2009-07-071-0/+2
|\ \ | | | | | | | | | | | | * changes: add a virtual destructor to region_rasterizer, to be on the safe side
| * | add a virtual destructor to region_rasterizer, to be on the safe sideMathias Agopian2009-07-071-0/+2
| | |
* | | Fix sim build.Andy McFadden2009-07-071-1/+1
|/ / | | | | | | | | Looks like older gcc (4.1.x) doesn't properly handle templated fanciness. Apparently that's what we have on the build server.
* | Merge commit 'goog/master' into merge_masterMathias Agopian2009-07-063-3/+19
|\ \
| * \ am 991eec03: Merge change 6252 into donutAndroid (Google) Code Review2009-07-062-2/+10
| |\ \ | | |/ | | | | | | | | | | | | | | | Merge commit '991eec03a73f8803d0f8c80b418480ea25293cfb' * commit '991eec03a73f8803d0f8c80b418480ea25293cfb': Don't re-parse the framework resources all the time.
| | * Don't re-parse the framework resources all the time.Dianne Hackborn2009-07-062-2/+10
| | | | | | | | | | | | | | | | | | | | | | | | A small optimization to the resource code, to not re-parse the framework resources every time we build a new AssetManager. Instead, you can now construct a ResTable from a previously created one... of course, like the existing code for using the data in-place, you can't delete the original ResTable until you have deleted the one that has been constructed from it.
| * | am c7396025: Merge change 6084 into donutAndroid (Google) Code Review2009-07-061-0/+6
| |\ \ | | |/ | | | | | | | | | | | | | | | Merge commit 'c7396025e59524e7ef639fd86fc23123939ee91c' * commit 'c7396025e59524e7ef639fd86fc23123939ee91c': Return CAMERA_ERROR_SERVER_DIED to camera app when camera service dies (bug 1956726)
| | * Return CAMERA_ERROR_SERVER_DIED to camera app when camera service dies (bug ↵James Dong2009-07-021-0/+6
| | | | | | | | | | | | 1956726)
| * | am 6e1647a2: Merge change 5829 into donutAndroid (Google) Code Review2009-07-011-1/+3
| |\ \ | | |/ | | | | | | | | | | | | | | | Merge commit '6e1647a212317f4ee8bcc23948b6621a59172954' * commit '6e1647a212317f4ee8bcc23948b6621a59172954': Fix issue #1673793: Theme styles don't apply.
| | * Fix issue #1673793: Theme styles don't apply.Dianne Hackborn2009-06-301-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It turns out this was not a problem in the resource code at all. Rather, the system process has a cache of pre-loaded attributes it uses to avoid continually reloading things as it needs them. Well it turns out this cache wasn't flushed after a package was uninstalled or a configuration changed, so you could re-install an app where you change its style resources so its theme now points to one that is inconsistent in the cache. This is mostly a problem for developers, where they continually install new versions of an app where resources have changed. This could possibly show up when updating an app on a normal phone, although the problem would eventually correct itself since this cache uses weak references. Anyway, the cache is now reworked to be flushed appropriately. This change also includes an update to aapt to be able to dump the contents of bags in resources.
* | | get rid of references to MemoryDealer in SurfaceFlingerMathias Agopian2009-07-023-3/+3
| | |
* | | Merge commit 'goog/master' into merge_masterMathias Agopian2009-07-014-121/+99
|\ \ \ | |/ /
| * | am bd9aa793: Merge change 5593 into donutAndroid (Google) Code Review2009-06-301-10/+20
| |\ \ | | |/ | | | | | | | | | | | | | | | Merge commit 'bd9aa793b19f7aa529ca4123492f8940b96486b8' * commit 'bd9aa793b19f7aa529ca4123492f8940b96486b8': Add in TTS engine interface the methods to query the availability for a language,
| | * Merge change 5593 into donutAndroid (Google) Code Review2009-06-291-10/+20
| | |\ | | | | | | | | | | | | | | | | * changes: Add in TTS engine interface the methods to query the availability for a language, to set the synthesis audio format, to query the current language, country and variant setting.
| | | * Add in TTS engine interface the methods to query the availability for a ↵Jean-Michel Trivi2009-06-291-10/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | language, to set the synthesis audio format, to query the current language, country and variant setting.
| * | | am 17a80081: Merge change 5544 into donutAndroid (Google) Code Review2009-06-291-7/+3
| |\ \ \ | | |/ / | | | | | | | | | | | | | | | | | | | | Merge commit '17a80081a42410f541a220ab7e6afc64fc6cc399' * commit '17a80081a42410f541a220ab7e6afc64fc6cc399': Pipe all the camera callbacks to Java to facilitate the addition