Commit Graph

162 Commits

Author SHA1 Message Date
Jack Palevich
83d8d83ad1 Remove unused getConfigSpec methods from ApiDemos sample code
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.
2009-08-21 11:48:50 -07:00
Scott Main
42c7eaa6bc am fab096cb: Merge change 22103 into donut
Merge commit 'fab096cbcf98cb98eef25e7541121ae8e3898a10' into eclair

* commit 'fab096cbcf98cb98eef25e7541121ae8e3898a10':
  new transparent icon for searchable dictionary
2009-08-20 16:00:56 -07:00
Scott Main
ec633d5aea new transparent icon for searchable dictionary 2009-08-20 12:21:15 -07:00
Dianne Hackborn
f416b7ea19 Hey, we don't need to set this flag any more! 2009-08-12 14:41:28 -07:00
Wu-cheng Li
0b34a0cfd5 am c5c912e4: Merge change 20717 into donut
Merge commit 'c5c912e49bdc89a7a7778b66d1ca6b00440d2888'

* commit 'c5c912e49bdc89a7a7778b66d1ca6b00440d2888':
  Release the camera in surfaceDestroyed().
2009-08-11 18:12:14 -07:00
Dianne Hackborn
b99b11dec9 am 46b133a2: Merge change 20690 into donut
Merge commit '46b133a2baf4d4c35801a24893d6a72f1ab82e7f'

* commit '46b133a2baf4d4c35801a24893d6a72f1ab82e7f':
  Add density demo.
2009-08-11 18:11:50 -07:00
Android (Google) Code Review
c5c912e49b Merge change 20717 into donut
* changes:
  Release the camera in surfaceDestroyed().
2009-08-11 10:31:48 -07:00
Android (Google) Code Review
056db8f4f0 Merge change 20723
* changes:
  adding README to sample plugins and cleaning up the animation plugin.
2009-08-11 08:07:54 -07:00
Karl Rosaen
38693ff550 am 7a3e95ae: Add a "Searchable Dictionary" app to the sample apps that demonstrates being a part of global search.
Merge commit '7a3e95aeba5109ef6aa4c9488be9416e7355067c'

* commit '7a3e95aeba5109ef6aa4c9488be9416e7355067c':
  Add a "Searchable Dictionary" app to the sample apps that demonstrates being a part of global search.
2009-08-11 07:33:14 -07:00
Derek Sollenberger
0c763b60ce adding README to sample plugins and cleaning up the animation plugin. 2009-08-11 10:05:46 -04:00
Wu-cheng Li
5dfeb0e195 Release the camera in surfaceDestroyed().
If the camera is not released, the new client will fail to connect to camera next time. b2042350
2009-08-11 17:30:15 +08:00
Dianne Hackborn
3b01460578 Add density demo.
This is basically just a copy of DpiTest, but it seems like this stuff
would be useful to have in sample code.
2009-08-10 18:12:32 -07:00
Karl Rosaen
7a3e95aeba Add a "Searchable Dictionary" app to the sample apps that demonstrates being a part of global search.
updated: makefile adjusted so app is part of sdk, and the manifest refers to the correct sdk version.

updated: brushed up docs and formatting per feedback.
2009-08-10 10:09:21 -07:00
Derek Sollenberger
5ad138fef8 allow surfaces to specify the bitmap's pixel format 2009-08-10 10:50:59 -04:00
Dianne Hackborn
b1a1abffa8 Use new wallpaper theme. 2009-08-09 17:23:53 -07:00
Dianne Hackborn
44bf93a67b Half-done new wallpaper API demo. 2009-08-08 21:36:31 -07:00
Derek Sollenberger
d049ec168b updating the sample plugin to reflect the latest changes in android_npapi.h 2009-08-07 11:26:44 -04:00
Grace Kloba
9ffe5ac6c4 Add the test for the new SystemInterface in the android_npapi. 2009-08-04 17:51:06 -07:00
Xavier Ducrohet
31192b9309 am 66f17e50: ApiDemos Clean up
Merge commit '66f17e50dbb42bc529dd12b2f26729f114b1a1a9'

* commit '66f17e50dbb42bc529dd12b2f26729f114b1a1a9':
  ApiDemos Clean up
2009-08-03 19:09:37 -07:00
Xavier Ducrohet
66f17e50db ApiDemos Clean up
- Add missing @Override
- Remove (some) unused imports
- Add some missing headers

BUG: 2031807
2009-08-03 19:00:36 -07:00
Derek Sollenberger
c356b9f040 adding sample cod to access dom and javascript. 2009-07-30 16:57:07 -04:00
Derek Sollenberger
b6f5cd2d77 adding touch support to the paint plugin. 2009-07-28 15:09:23 -04:00
Derek Sollenberger
4fb83e6fa2 adding first pass of a sample paint plugin based on surface views. 2009-07-27 16:40:13 -04:00
Jean-Baptiste Queru
1972851d20 Merge korg/donut into korg/master
Conflicts:

	tools/eclipse/plugins/README.txt
	tools/sdkmanager/libs/sdklib/src/com/android/sdklib/avd/AvdManager.java
2009-07-25 17:25:52 -07:00
Dianne Hackborn
676902e287 Deal with canceled keys. 2009-07-24 17:30:00 -07:00
Derek Sollenberger
c654bce09e adding support for tracking the visible rectangles. 2009-07-20 11:25:29 -04:00
Derek Sollenberger
c0f2657695 Adding support for surface views. also removed subplugin's dependency on ANPCanvas. 2009-07-17 08:50:53 -04:00
Jean-Baptiste Queru
9237d93cda Merge branch 'master' of git://android.git.kernel.org/platform/development into merge_korg_master
* 'master' of git://android.git.kernel.org/platform/development:
  Value for windows condition is missing a dot before "exe". "adbexe" should be "adb.exe"
  Add the FixedGridLayout sample code.
  Fix NullPointer exception in function getBrokenAvds()
2009-07-09 11:24:20 -07:00
Derek Sollenberger
21f3991238 Updating the sample plugin with performance optimizations and better audio support. 2009-07-09 09:25:04 -04:00
Derek Sollenberger
0e827219dd Adding navigation support to the sample form plugin. 2009-07-08 11:11:33 -04:00
Derek Sollenberger
81382964c8 Fixing a typo in the android plugin api. 2009-07-07 11:26:38 -04:00
Derek Sollenberger
71f7d255d8 Adding focus and keyboard support to the form plugin. 2009-07-02 17:05:08 -04:00
Romain Guy
9e8b13ceb0 am fc614476: Fix NPE in Home sample.
Merge commit 'fc614476e42b461e5bee40b9ede172b6eec7b5d9'

* commit 'fc614476e42b461e5bee40b9ede172b6eec7b5d9':
  Fix NPE in Home sample.
2009-07-01 11:20:04 -07:00
Android (Google) Code Review
cf2ec6185b am 6683fa35: Merge change 5688 into donut
Merge commit '6683fa352a7ed5d2c02c227da1c7268640c19aa4'

* commit '6683fa352a7ed5d2c02c227da1c7268640c19aa4':
  Fixes #1949253. Prevents NPE on startup.
2009-07-01 00:07:26 -07:00
Romain Guy
fc614476e4 Fix NPE in Home sample. 2009-06-30 10:23:32 -07:00
Romain Guy
14035e8634 Fixes #1949253. Prevents NPE on startup. 2009-06-29 14:55:08 -07:00
Derek Sollenberger
db398a7c21 Adding a new sample plugin to test text input. 2009-06-29 13:53:04 -04:00
Derek Sollenberger
f42e2f4e92 Adding a basic sample plugin to test audio playback 2009-06-26 11:42:46 -04:00
Mike Reed
d3b9a76870 add zoom field to visibleRect event 2009-06-24 13:39:49 -04:00
Android (Google) Code Review
d880efaa3f am 3db7a730: Merge change 4880 into donut
Merge commit '3db7a730bce818196c216945f866939bf8a7401f'

* commit '3db7a730bce818196c216945f866939bf8a7401f':
  Add ApiDemos to the test build, and cts-permission2 tests to test_defs.xml.
2009-06-23 13:08:23 -07:00
Derek Sollenberger
5b011e35fb Adding support for recording the visible rect and auto-scrolling. 2009-06-22 11:39:40 -04:00
Brett Chabot
fe905a8cb0 Add ApiDemos to the test build, and cts-permission2 tests to test_defs.xml.
This should enable the ApiDemos sample tests to run continuously again.
2009-06-19 18:34:39 -07:00
Derek Sollenberger
d7ebf27ff4 Restructuring the sample plugin and adding more tests. 2009-06-18 11:19:41 -04:00
Mike Reed
224adadb3c test pixelpacking api 2009-06-10 10:36:28 -04:00
Android (Google) Code Review
7d164ce1af Merge change 3572
* changes:
  Changing plugin to use the draw event (not drawContext)
2009-06-09 08:14:35 -07:00
Derek Sollenberger
02162c1c29 Changing plugin to use the draw event (not drawContext) 2009-06-09 11:08:59 -04:00
Mike Reed
b94183bf7c add sample for using colorfilters 2009-06-08 14:00:17 -04:00
Derek Sollenberger
9119e7d05d updating sample plugin to use lifecycle events. 2009-06-08 11:26:14 -04:00
Android (Google) Code Review
e1cd1cc8a1 am 8eb71d59: Merge change 2428 into donut
Merge commit '8eb71d59e94edf9e0581515ed7db762fc1a49a4e'

* commit '8eb71d59e94edf9e0581515ed7db762fc1a49a4e':
  Fix misleading comment.
2009-06-03 13:00:10 -07:00
Android (Google) Code Review
8eb71d59e9 Merge change 2428 into donut
* changes:
  Fix misleading comment.
2009-06-03 10:49:54 -07:00