Commit Graph

8071 Commits

Author SHA1 Message Date
David 'Digit' Turner
3a195fe3c5 Merge "ndk: Add OpenMAX headers and symbols for API level 14" 2011-10-13 16:54:06 -07:00
David 'Digit' Turner
2c4b4c1a3d ndk: Add OpenMAX headers and symbols for API level 14
Change-Id: I61f6f255357781d1912e25bd43815fd34ff83d0e
2011-10-14 01:52:11 +02:00
Jeff Sharkey
74767750b6 Add DownloadProvider tests.
Change-Id: I04941f49b08c6a381dadd6d9dd0bc90680491e8c
2011-10-12 13:45:25 -07:00
David 'Digit' Turner
7761beeb56 ndk: <time.h> Add missing clock_settime()/clock_nanosleep() declarations
Both functions are part of the C library since Android 1.5 / API level 3
but were missing a declaration in <time.h>, so add then here

+ Fix first parameter from 'int' to 'clockid_t' for clock_getres()
  and clock_gettime()

Fixes http://code.google.com/p/android/issues/detail?id=20140

Change-Id: Ic2191d5eb54475c149b9a6b8f3ba55bc8ed4643f
2011-10-12 03:43:29 +02:00
David 'Digit' Turner
b298c3bdc9 Merge "ndk: remove obsolete libthread_db.a binaries" 2011-10-11 18:10:50 -07:00
David 'Digit' Turner
7acb3cd1e5 Merge "ndk: Refresh EGL/GLES Khronos headers" 2011-10-11 18:10:33 -07:00
David 'Digit' Turner
76008e67ce Merge "ndk: remove obsolete <android/api-level.h> headers" 2011-10-11 18:10:16 -07:00
David 'Digit' Turner
e3379eafdd Merge "ndk: Fix GB x86 definitions for libm.so" 2011-10-11 18:10:05 -07:00
David 'Digit' Turner
085e2b14d5 ndk: remove obsolete libthread_db.a binaries
We don't use these since NDK r5, since we now provide
customized versions of the library under
$NDK/sources/android/libthread_db

Change-Id: I2e3103b85c14e75a00ba9cece7a872d2156f5ef9
2011-10-12 03:07:48 +02:00
David 'Digit' Turner
0d7f537fea ndk: Refresh EGL/GLES Khronos headers
This patch updates the Khronos headers with updated version.
This mostly brings definitions (constants and types) related to
a bunch of new extensions. Since each extension is optional and
must be actively probed at runtime by the client program, this
doesn't change the NDK ABI at all. Moreover, which extension is
available depends on the specific hardware, not the Android system
version.

+ Define GLchar and GLvoid and adjust function signatures to
  use them instead of 'char' and 'void'

List of new extensions supported:

GLES 1.x
--------
GL_OES_vertex_array_object
GL_OES_EGL_image_external
GL_APPLE_texture_2D_limited_npot
GL_EXT_blend_minmax
GL_EXT_discard_framebuffer
GL_EXT_multi_draw_arrays
GL_EXT_read_format_bgra
GL_EXT_texture_filter_anisotropic
GL_EXT_texture_format_BGRA8888
GL_EXT_texture_lod_bias
GL_IMG_read_format
GL_IMG_texture_compression_pvrtc
GL_IMG_texture_env_enhanced_fixed_function
GL_IMG_user_clip_plane
GL_IMG_multisampled_render_to_texture
GL_NV_fence
GL_QCOM_driver_control
GL_QCOM_extended_get
GL_QCOM_extended_get2
GL_QCOM_perfmon_global_mode
GL_QCOM_writeonly_rendering
GL_QCOM_tiled_rendering

GLES 2.0
--------
GL_OES_element_index_uint
GL_OES_get_program_binary
GL_OES_mapbuffer
GL_OES_packed_depth_stencil
GL_OES_texture_3D
GL_OES_texture_float
GL_OES_texture_float_linear
GL_OES_texture_half_float_linear
GL_OES_texture_npot
GL_OES_vertex_array_object
GL_OES_EGL_image_external
GL_AMD_program_binary_Z400
GL_EXT_blend_minmax
GL_EXT_discard_framebuffer
GL_EXT_multi_draw_arrays
GL_EXT_read_format_bgra
GL_EXT_texture_format_BGRA8888
GL_EXT_texture_compression_dxt1
GL_IMG_program_binary
GL_IMG_read_format
GL_IMG_shader_binary
GL_IMG_texture_compression_pvrtc
GL_IMG_multisampled_render_to_texture
GL_NV_coverage_sample
GL_NV_depth_nonlinear
GL_QCOM_extended_get
GL_QCOM_extended_get2
GL_QCOM_writeonly_rendering
GL_QCOM_tiled_rendering

EGL:
----
EGL_ANDROID_recordable
EGL_NV_system_time

Change-Id: I26ae2aeb499539017cc35d0271f13bcfbf6f8a65
2011-10-12 03:07:48 +02:00
David 'Digit' Turner
c63ce7a143 ndk: remove obsolete <android/api-level.h> headers
These are now auto-generated by the gen-platforms.sh NDK script

Change-Id: I5a38e956b58a34c5db96e24f2a46bc1ca1554376
2011-10-12 03:07:48 +02:00
David 'Digit' Turner
4fee0994c3 ndk: Fix GB x86 definitions for libm.so
The previous header and implementation were incorrect and didn't produce
correct results. This has been fixed in the internal Gingerbread branch.

Technically, this could result in ABI breakage, but the chances are very
low, and there are no official x86 Gingerbread release yet.

Change-Id: I0b2d857399358775d1490b72a1b75baac362f839
2011-10-12 03:07:47 +02:00
Yu Shan Emily Lau
ab50fca4f0 Merge "Bug 5440088 Turn off the bugreport catpure by default." 2011-10-10 20:30:11 -07:00
Yu Shan Emily Lau
08fa5ef66f Bug 5440088 Turn off the bugreport catpure
by default.

Swith the mGetPeriodicBugreport default
value to false so that the bugreport
will not be captured by default.

Change-Id: Ieae662478d865d9a49dec4f77f52046b560c8972
2011-10-10 19:40:22 -07:00
David 'Digit' Turner
28f0525172 Merge "ndk: Remove obsolete API level 11 platform files" 2011-10-10 13:02:08 -07:00
David 'Digit' Turner
58064314d0 Merge "ndk: Remove obsolete platform files" 2011-10-10 13:01:59 -07:00
David 'Digit' Turner
95b2dfea7e Merge "ndk: separate functions and variables symbol lists" 2011-10-10 13:01:44 -07:00
David 'Digit' Turner
985433be6c ndk: Remove obsolete API level 11 platform files
Change-Id: I95b0952722e1312c46ef02912407b81ea8c1b198
2011-10-10 21:52:17 +02:00
David 'Digit' Turner
e872f4e101 ndk: Remove obsolete platform files
Remove the prebuilt system shared libraries and unified symbol files
from development/ndk. We don't need them anymore:

  - the unified symbol files are replaced by separate functions/variables
    symbol list, which were added in a previous commit, i.e.:

	libc.so.txt  --> libc.so.functions.txt
	                 libc.so.variables.txt

 - the shared libraries are now generated on the fly by the NDK
   gen-platforms.sh script, from the functions/variables symbol lists.

Note that we need to keep the static libraries and runtime objects,
they are required to build the cross-toolchains and target binaries.

Change-Id: Ifa0a7f2d741ed32b80216561ca3f17e67df06ce9
2011-10-10 21:52:17 +02:00
David 'Digit' Turner
02053eb7a1 ndk: separate functions and variables symbol lists
This change introduces separate symbol lists for functions
and variables of each NDK system shared library.

Note that we don't remove the unified symbol files yet. This
will be done later when we complete other changes under ndk/,
namely the ability to generate platforms trees containing shell
libraries generated directly from them.

These files were generated using the following:

  cd development/ndk
  for DIR in platforms/*/*/lib; do
    for ARCH in arm x86; do
      $NDK/build/tools/gen-system-symbols $DIR $DIR/../symbols
    done
  done

This means that the symbol lists were generated by parsing the
existing prebuilt shared libraries under platforms/ and extracting
their function and variable names.

Change-Id: Ie1e791d98260a7f0d8d2e9f71323a7ea448f2dd4
2011-10-10 21:52:09 +02:00
Robert Ly
f07fbe5881 Merge "fix RSBalls to be minSDK=14" 2011-10-07 15:31:22 -07:00
Winson Chung
f7dc8e5d09 Merge "Updating the sample widget with some better resources." 2011-10-07 14:03:11 -07:00
Winson Chung
cbb321fc8c Updating the sample widget with some better resources.
Change-Id: I74192f00b2f539c3431f3c327575f0e99f907be8
2011-10-07 13:48:54 -07:00
Adam Cohen
7fd48dd180 Merge "Cleaning up the stack sample widget" 2011-10-07 13:18:26 -07:00
Adam Cohen
6293583f9a Cleaning up the stack sample widget
Change-Id: Ie5d1bcacb1943e87c0517b6e38cad1598e119f7d
2011-10-07 11:27:16 -07:00
Robert Ly
9b20402482 fix RSBalls to be minSDK=14
Change-Id: I7e1f2d08e7172de4d5c6a29b4ca1e5cff42e2a14
2011-10-07 10:59:05 -07:00
Roman Nurik
dd147febf3 Merge "Update _index.html in RandomMusicPlayer sample for ICS" 2011-10-06 18:23:29 -07:00
Roman Nurik
c0aeb67784 Update _index.html in RandomMusicPlayer sample for ICS
Change-Id: I52872e491d9b5976264eb4fd87640be50e5ebc3d
2011-10-06 18:17:41 -07:00
Philip Milne
875cd1c602 Move GridLayout1/2 to here from GridLayoutTest in frameworks/base.
Change-Id: Iff31b918a3fdf599a356107a418e056cf5663142
2011-10-06 17:15:11 -07:00
Chet Haase
b19c468208 Merge "Clean up LayoutTransition demos for smaller screens." 2011-10-06 14:32:35 -07:00
Chet Haase
976d6ceb73 Clean up LayoutTransition demos for smaller screens.
These demos assumed the size of a tablet device and looked pretty
awful on phones.

Change-Id: I246ef5a5f4619c1f2fe689eca321314375722014
2011-10-06 12:46:00 -07:00
Roman Nurik
69ad161520 Merge "Update RandomMusicPlayer sample for new RemoteControlClient APIs, also add media button support" 2011-10-06 10:11:23 -07:00
Debashish Chatterjee
f84558cf16 Merge "Set HAS_CONTENT field from the app after writing audio content." 2011-10-06 02:08:25 -07:00
Anirudh Dewani
f219a95ec0 Merge "WiFiDirectDemo" 2011-10-06 00:41:23 -07:00
Scott Main
ea62e25d07 Merge "add minsdkversion to spell checker sample and more info to html page" 2011-10-05 18:39:10 -07:00
Scott Main
90fcc2183e add minsdkversion to spell checker sample
and more info to html page

Change-Id: Icbd492e61c14f78d52d731c16c55620e9b5adc7d
2011-10-05 18:36:22 -07:00
Roman Nurik
7ee7d6d5d6 Add ActionBarCompat sample (CL 1 of 2)
Change-Id: Ie41aee3fc805bf73ef0cd673049fcb608b59275c
2011-10-05 18:17:39 -07:00
Anirudh Dewani
12634496be WiFiDirectDemo
Change-Id: I9ea5020a39f02fd2ba4934397fa9a2ea79f781b4
2011-10-06 05:35:23 +05:30
Roman Nurik
5986e12034 Update RandomMusicPlayer sample for new RemoteControlClient APIs, also add media button support
Change-Id: Ia6ad08dd0ec1e67f1cffa2d6cfca2120ee0a96c7
2011-10-05 16:50:26 -07:00
Scott Main
e8916f1ec0 add HTML landing page for spell checker sample. Could use some more info.
Change-Id: Ic747474c2c71afcc2bd88a30017bc2709c5b5c5c
2011-10-05 12:37:39 -07:00
Scott Main
7d3fde3372 add NFCDemo and Spell checker service samples to sdk.atree
Change-Id: Ida2b6441026eaf06a648ae4c416ae53bfd593b2c
2011-10-05 11:23:15 -07:00
satok
d9d9dae507 Fix comments in the sample spell checker service
Change-Id: I553a9820756f1a6a1164c7a4a66820556cb3fdcc
2011-10-05 20:06:18 +09:00
satok
4fce7f7a17 Add SampleSpellCheckerService
Change-Id: I9ff4828e147406c02d38b41f3811ef0d4ba4f9fc
2011-10-05 15:17:55 +09:00
Robert Ly
3da7fb2a60 clean up Android Beam sample
Change-Id: Ieffe60c0a17509284a112eb11a7588e80e1578ee
2011-10-04 17:07:35 -07:00
Robert Ly
81f9754531 Merge "Android Beam sample for ICS SDK" 2011-10-04 16:20:47 -07:00
The Android Open Source Project
e3e712e462 Reconcile with ics-factoryrom-release
Change-Id: I82601a2de420ce916449f1d7c143963731ad621e
2011-10-04 13:56:40 -07:00
Xavier Ducrohet
7cfe2ad347 Merge "Make the VXGA720 skin indicate no hw back/home keys." 2011-10-04 13:20:40 -07:00
Xavier Ducrohet
d625e114ec Move ICS SDK packages to r1.
Change-Id: I3216a2f0f65bb8f500698c5d0c835235ecbc8608
2011-10-04 13:00:29 -07:00
Xavier Ducrohet
faa85e4d5b Make the VXGA720 skin indicate no hw back/home keys.
Change-Id: Iea7121903e75275849f0bcc2ecbc533aa37c3971
2011-10-04 10:51:37 -07:00
Xavier Ducrohet
8a585470c5 Add 1280x720@320dpi skin.
Also tweak some skins to provide more ram to the emulator
for better performance.

Change-Id: I89dcdb7a6a78d95132820db284c1fdfb6f82c6db
2011-10-03 20:27:07 -07:00