After updating a Shader's Matrix, set the Shader on the Paint again,
so it will take effect.
BUG:14315916
Change-Id: Ibf732f7f417d2a52500fabf4d660be7fcfb59f43
Shows the ideal way for a game to interact with system UI, hiding
the status bar and nav bar while being played, making them visible
when paused or otherwise interacting with controls of the game,
and determing layout of game controls to not be covered by the
status bar or nav bar.
Change-Id: Ia192c31321113d81f96c06c7a69a06ef72c4682a
Added three ApiDemos for secure surfaces. One for Activity,
one for Dialog and one for SurfaceView. The mechanism is the
same in each case but the API is a little different.
Bug: 7368436
Change-Id: I78bc2a456b4c0f1a553120d72f433095ba7e038c
Added basic stylus and hover support to the sample to illustrate
the usage of pressure, size, orientation, distance, tilt and tool type
information.
Change-Id: I1689adc38d5904870e005300b3317c44c214fc08
Merge commit '83c50ca740fabe25189601db90dc1f65ed4d2061' into gingerbread-plus-aosp
* commit '83c50ca740fabe25189601db90dc1f65ed4d2061':
Update ApiDemos CameraPreview activity to properly center the preview in cases where the camera hardware doesn't support a preview size with the same aspect ratio as the device display.
Merge commit '98b2c359c2b3361f43e14b0c5d07a02c055dd10e' into gingerbread-plus-aosp
* commit '98b2c359c2b3361f43e14b0c5d07a02c055dd10e':
Copy over updated NDK APIs and follow other API changes.
Merge commit '8cc5a8166dcdccfdb7f379a05190cef43f91c423' into kraken
* commit '8cc5a8166dcdccfdb7f379a05190cef43f91c423':
Updated Sensor Samples to newest API
Fix tabs and trailing whitespace.
Expand comment to explain how we search for GL extensions.
Rename and document the DEBUG_RENDER_OFFSCREEN_ONSCREEN variable.
Also make it final static because its value never changes.
The ETC1 texture format is commonly supported by
OpenGL ES 2.0-capable GPUs.
For historical reasons ETC1 texture files have the
default extension .PKM
This tool relies on the libETC1 library to
compress and decompress the image data.
The preview size will be checked now in Camera HAL. So, we change the code to
get the supported preview sizes and find one of the size that match the
surface's width and height.
At one time during the development of GLSurfaceView, the
GLSurfaceView.Renderer interface had a getConfigSpec method that was used to
select the frame buffer format. This method was removed from the
Renderer interface before GLSurfaceView became a public API, but
the sample code still defined these now-unused methods.
To reduce the chance of confusing a developer who uses the sample code,
this change removes the dead, no-longer-called getConfigSpec
implementations from the three samples.
See GLSurfaceView.setEGLConfigChooser for the replacement
technique.