Commit Graph

61 Commits

Author SHA1 Message Date
Daniel Sandler
75ab82e25f hdpi artwork for development/{apps,samples}.
(drop dated 29-Sep-2009)

Change-Id: Ie022d478ed4eafc641e475dad94f507a6c358595
2009-09-29 20:41:24 -04:00
Dianne Hackborn
cfc90dc1aa Add transition animation sample, log to service sample.
Change-Id: I7021a7fbbe26d9c52699d7c2216452a5bd51452b
2009-09-25 16:10:42 -07:00
Raphael
50dc6c7556 Tell the SDK that ApiDemoes requires Eclair preview.
After the preview we'll change it to the final API level.

BUG 2141157
2009-09-24 11:52:40 -07:00
Piotr Gurgul
979d5abe06 Define tested.project.dir property for existing samples
As now test projects are recognized by presence of the property
tested.project.dir, it has been manually added for existing
test project samples.
2009-09-23 12:15:05 -07:00
Eric Fischer
2528f77daa Add backslashes before apostrophes so they don't get lost.
This is required by another change I am about to submit that makes it
an error not to include the backslash, since it is inevitably a mistake
when someone fails to include it.
2009-09-01 15:42:46 -07:00
Dianne Hackborn
b8ff7ade69 Add sample of correctly requesting camera feature, optional shared lib.
Change-Id: I5697e70cedeba9de6458caf50a363057278a7387
2009-08-27 20:13:19 -07:00
Dianne Hackborn
945b236290 Update sample code for new service semantics. 2009-08-24 16:28:39 -07:00
Scott Main
1ef50a9d95 am 04680858: docs only. Add new web pages for sample apps included in the SDK. Revise the existing sample app web pages. Delete screenshots for notepad and lunar lander (these have moved into frameworks/base/docs/html/guide/samples/image/.
Merge commit '04680858a0671ad615f088edeea87b61ea243f24' into eclair

* commit '04680858a0671ad615f088edeea87b61ea243f24':
  docs only.
2009-08-24 16:20:14 -07:00
Scott Main
04680858a0 docs only.
Add new web pages for sample apps included in the SDK.
Revise the existing sample app web pages.
Delete screenshots for notepad and lunar lander (these have
moved into frameworks/base/docs/html/guide/samples/image/.
2009-08-24 15:27:00 -07:00
Xavier Ducrohet
53b3190a47 am e95a86cf: Merge change 22346 into donut
Merge commit 'e95a86cfec18836ddbff149690a13766bfc9ada3' into eclair

* commit 'e95a86cfec18836ddbff149690a13766bfc9ada3':
  Fix target for ApiDemos (API is now 4)
2009-08-22 07:44:12 -07:00
Xavier Ducrohet
c86903288c Fix target for ApiDemos (API is now 4)
Also add some progress output to the ant rules.
2009-08-21 15:59:02 -07:00
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
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
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
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
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
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
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
Mike Reed
b94183bf7c add sample for using colorfilters 2009-06-08 14:00:17 -04:00
Android (Google) Code Review
c7ee895b44 Merge change 2768 into donut
* changes:
  Add an API demo that shows the effets of setting Bitmaps as being purgeable.
2009-06-02 16:53:22 -07:00
Wei-Ta Chen
1ba461c7b6 Add an API demo that shows the effets of setting Bitmaps as being purgeable. 2009-06-01 13:35:06 -07:00
Ken Shirriff
35787c0f99 Fix typo in comment. 2009-05-22 13:01:40 -07:00
James Dong
bf4d838a88 Fixed bugs in the media player api demo application
- release the MediaPlayer object when onPause
- use onVideoSizeChanged listener to make sure that correct video size is known before starting playback
2009-05-11 13:51:43 -07:00
Jack Palevich
d9b9c8eaaa Use direct, native order Buffers for OpenGL data. 2009-05-07 14:54:46 -07:00
Scott Main
82ce558241 am 705a3ee: AI 147793: cleanup broken links and delete all innacurate in
Merge commit '705a3ee3975877460c124d98eda12ae16dadd1a6' into donut

* commit '705a3ee3975877460c124d98eda12ae16dadd1a6':
  AI 147793: cleanup broken links and delete all innacurate info in apidemo pages
2009-04-28 21:53:14 -07:00
Scott Main
705a3ee397 AI 147793: cleanup broken links and delete all innacurate info in apidemo pages
BUG=1810005

Automated import of CL 147793
2009-04-25 14:04:53 -07:00
Jack Palevich
c7ad6e203d Add a sample showing how to use the new static OpenGL ES bindings.
(Actually repurpose the existing Texture Triangle sample.)
2009-04-24 13:04:26 -07:00
Jeff Hamilton
136d537b79 AI 147247: am: CL 147243 Make the API sample check to see if there is anything installed to handle the recognition intent.
Original author: jham
  Merged from: //branches/cupcake/...

Automated import of CL 147247
2009-04-21 15:09:35 -07:00
Jeff Hamilton
662afbbf33 AI 147243: Make the API sample check to see if there is anything installed to handle the recognition intent.
BUG=1803523

Automated import of CL 147243
2009-04-21 15:05:59 -07:00
Andy Stadler
651794b606 AI 147167: am: CL 147162 Emphasize in the javadoc that the "pkg" parameters to
InstrumentationTestCase and its descendants should be the
  package manager package name (not the java package name, and
  not the test package) of the package holding the Activity
  under test.
  Added similar notations to the ApiDemos call sites.
  JAVADOC ONLY - should be safe change for cupcake sdk.
  Original author: stadler
  Merged from: //branches/cupcake/...

Automated import of CL 147167
2009-04-21 11:51:42 -07:00
Andy Stadler
fc707349cc AI 147162: Emphasize in the javadoc that the "pkg" parameters to
InstrumentationTestCase and its descendants should be the
  package manager package name (not the java package name, and
  not the test package) of the package holding the Activity
  under test.
  Added similar notations to the ApiDemos call sites.
  JAVADOC ONLY - should be safe change for cupcake sdk.
  BUG=1783981

Automated import of CL 147162
2009-04-21 11:48:53 -07:00
Jeffrey Sharkey
f7f1c36f61 AI 146481: am: CL 146394 Add ExampleAppWidgetConfigure to manifest and correct update issues.
This adds widget configuration to manifest so we don't crash when trying to insert.  We also correctly push a second update once prefix title has been saved; previously we showed a stale title until next widget update.  Also return the title prefix correctly for a given appWidgetId.
  Original author: jsharkey
  Merged from: //branches/cupcake/...

Automated import of CL 146481
2009-04-16 12:32:29 -07:00
Jeffrey Sharkey
28a20dae3e AI 146394: Add ExampleAppWidgetConfigure to manifest and correct update issues.
This adds widget configuration to manifest so we don't crash when trying to insert.  We also correctly push a second update once prefix title has been saved; previously we showed a stale title until next widget update.  Also return the title prefix correctly for a given appWidgetId.
  BUG=1792887

Automated import of CL 146394
2009-04-15 17:15:21 -07:00
Xavier Ducrohet
3489bba692 AI 145097: am: CL 144935 ApiDemos contains new API, and we must force the target to cupcake.
Original author: xav
  Merged from: //branches/cupcake/...

Automated import of CL 145097
2009-04-08 13:34:04 -07:00
Xavier Ducrohet
1d0c9f3363 AI 144935: ApiDemos contains new API, and we must force the target to cupcake.
BUG=1575649

Automated import of CL 144935
2009-04-07 16:04:04 -07:00
Jeffrey Sharkey
a0d0f0ce62 AI 143865: am: CL 143864 Fix SDK example to correctly pass back newly-configured appWidgetId.
Original author: jsharkey
  Merged from: //branches/cupcake/...

Automated import of CL 143865
2009-03-31 16:58:03 -07:00
Jeffrey Sharkey
e64360f76a AI 143864: Fix SDK example to correctly pass back newly-configured appWidgetId.
BUG=1725041

Automated import of CL 143864
2009-03-31 16:55:19 -07:00
Xavier Ducrohet
5d22c85df0 AI 143206: am: CL 142994 Clean up official ApiDemos to not reference Google Maps
Original author: xav
  Merged from: //branches/cupcake/...

Automated import of CL 143206
2009-03-27 18:00:15 -07:00
Xavier Ducrohet
2d2cf2889c Automated import from //branches/cupcake/...@142994,142994 2009-03-26 15:29:07 -07:00
Jack Palevich
46a1d90217 Automated import from //branches/donutburger/...@142486,142486 2009-03-24 22:49:05 -07:00
Romain Guy
02e8d006b0 Automated import from //branches/donutburger/...@142465,142465 2009-03-24 22:45:50 -07:00
Jeff Hamilton
3ce38fa6cc Automated import from //branches/donutburger/...@141737,141737 2009-03-24 20:48:56 -07:00
Jack Palevich
bea7f769d8 Automated import from //branches/cupcake/...@142485,142485 2009-03-24 20:22:52 -07:00
Jeff Hamilton
b10c75c895 Automated import from //branches/cupcake/...@141732,141732 2009-03-24 18:16:44 -07:00