9afded4d212243e554c2695c4a2f90c13628e24b |
|
09-Sep-2011 |
Bryan Mawhinney <bryanmawhinney@google.com> |
Add ability to set overscroll slot count Change-Id: I10541172d99e1ede5b27bfcef106afadc0e540d4
/frameworks/ex/carousel/java/com/android/ex/carousel/CarouselView.java
|
8debeb8a0a785f0ad66bc75200cdb47c137602bc |
|
08-Feb-2011 |
Arnaud Berry <arnaudberry@google.com> |
Added a way to trigger an interpolated rotation of the carousel Change-Id: I4717952f5fe6b5d99699e55d93abcd1cb1fc1986
/frameworks/ex/carousel/java/com/android/ex/carousel/CarouselView.java
|
c2baf88a763ae0e3694c8a10c13f203db9aec363 |
|
12-Jan-2011 |
Jim Shuma <jshuma@google.com> |
Allow specifying per-card matrices Set a per-card matrix through the newly expanded TextureParameters mechanism. This also changes the behavior of the card matrix so that it is applied locally to the card, rather than being applied to the whole carousel. And the detail texture is no longer drawn with the card matrix. Bug: 3206251 Change-Id: I5119bc97b136d32cf9d4e29e7aa3751334cc68c1
/frameworks/ex/carousel/java/com/android/ex/carousel/CarouselView.java
|
1a5b4d109397ea175b5cbaa7490ca18e78eb040f |
|
15-Dec-2010 |
Simon Wilson <simonwilson@google.com> |
Allow top-to-bottom card order when rowCount>1 Add a member function to CarouselRS.java called setFirstCardTop() to allow the first card to appear on top instead of the bottom when rowCount>1. The default is false, meaning the existing behaviour is not changed for other apps. Change-Id: I38d666958ebb802e211496895cbe3f91e78f5392
/frameworks/ex/carousel/java/com/android/ex/carousel/CarouselView.java
|
358868df5043b240c9a241c7bb75128ff94b1f34 |
|
09-Dec-2010 |
Bryan Mawhinney <bryanmawhinney@google.com> |
Use ids rather than Meshes when specifying default / loading geometries. This allows them to be reloaded when required, thus fixing http:/b/3237395 Change-Id: I9eea73d85a8c272debbfb45d5577ded185cf8112
/frameworks/ex/carousel/java/com/android/ex/carousel/CarouselView.java
|
27b81f375cfa65f4f689c64bd2c48e3a56c1e11b |
|
07-Dec-2010 |
Jason Sams <rjsams@android.com> |
Update to API cleanup Change-Id: I3b5add1a98f10ca47cf26c004f8ca4f3353da1f8
/frameworks/ex/carousel/java/com/android/ex/carousel/CarouselView.java
|
51dd0196e4f3bd4086545f5bf30038ca9ad9ac27 |
|
20-Nov-2010 |
Bryan Mawhinney <bryanmawhinney@google.com> |
Allow user to specify a custom matrix to transform cards. Change-Id: I28901c4bdee160c06deae1167489510122d45e98
/frameworks/ex/carousel/java/com/android/ex/carousel/CarouselView.java
|
14d2c1ec52bb04b5120c2bfdd1a8811a238573ce |
|
17-Nov-2010 |
Jim Shuma <jshuma@google.com> |
Allow clients to draw carousel cards clockwise This consists of the following: - Plumb the new fillDirection parameter - Set the slotPosition (and consequently the cardPosition) at the appropriate points - Compute motion and overscroll based not on first and last bias but on lowest and highest bias. - Let cullCards() allow thetaFirst > thetaLast Bug: 3177563 Change-Id: I2bb7b3f906726db5ced2ea5bad0e5395f5821d1d
/frameworks/ex/carousel/java/com/android/ex/carousel/CarouselView.java
|
0cec8afdb4f9d78adf88c9b9b41e993aef617bea |
|
12-Nov-2010 |
Bryan Mawhinney <bryanmawhinney@google.com> |
Add multiple row support to carousel. Change-Id: Ic4f2586b1ff45a40c03a728b1664c55977c7b846
/frameworks/ex/carousel/java/com/android/ex/carousel/CarouselView.java
|
1882cebdc1b7b0551189ca33fb7cb77ef10c988b |
|
03-Nov-2010 |
Jim Miller <jaggies@google.com> |
Add better event handling to Carousel. This changes Carousel to rely on historical event times instead of the wallclock. This has the effect of improving Carousel's velocity estimate, which provides much smoother tracking of the user's intended motion. Change-Id: I987294386212b88fdfbf847a12735e4badf6045c
/frameworks/ex/carousel/java/com/android/ex/carousel/CarouselView.java
|
be5482f170e191aa98a3c2ecefdeaf936b7df412 |
|
29-Oct-2010 |
Jim Miller <jaggies@google.com> |
Major improvement to Carousel dragging. This change adds new drag choices to Carousel: DRAG_MODEL_PLANE, DRAG_MODEL_CYLINDER_INSIDE and DRAG_MODEL_CYLINDER_OUTSIDE. The old drag model is still available as DRAG_MODEL_SCREEN_DELTA. Change-Id: I339c21ceaa493fb302c6b57adebfa2063a68d69a
/frameworks/ex/carousel/java/com/android/ex/carousel/CarouselView.java
|
fb179e7afd8f02be63061b478b0283e3085fc25f |
|
25-Oct-2010 |
Jim Miller <jaggies@google.com> |
Carousel performance improvements. This change disables depth and changes the background bitmap for the test case to 256x256 instead of 512x512. With these two changes, Carousel consistently achieves 87fps with no background and 78fps with. Both tests were with sync-to-vblank disabled. It also cleans up the program store names to have more meaningful names as we add new states. Upload after rebase. Change-Id: I6008fbd89fbe924dbea10792b3f787fe69586fa0
/frameworks/ex/carousel/java/com/android/ex/carousel/CarouselView.java
|
7cc5787b49708f63aeb818bdd06efed3d4229925 |
|
21-Oct-2010 |
Jim Shuma <jshuma@google.com> |
Switch to using ModelViewController-based CarouselView Change-Id: I5cd2ff8ce9b2102ab6b10f6d6a41f87e0f3a06f3
/frameworks/ex/carousel/java/com/android/ex/carousel/CarouselView.java
|
4a8736e22d7b40ab9dfa3fbd8a10de92144912b3 |
|
14-Oct-2010 |
Bryan Mawhinney <bryanmawhinney@google.com> |
Provides more control over detail alignment. Replaces setDrawDetailsBelowCard and setDetailTexturesCentered with setDetailTextureAlignment, and implements support for vertical centering. Change-Id: Idee5f28235e269667132920421cfe32f91456285
/frameworks/ex/carousel/java/com/android/ex/carousel/CarouselView.java
|
a84feeb7e4dc1a75ec6d0b1f2494893987fc3ca3 |
|
15-Oct-2010 |
Jack Palevich <jackpal@google.com> |
Add API to get/set carousel rotation angle. + Add setCarouselRotationAngle + onAnimationFinished now returns the current carouselRotationAngle + remove Request/ReportFirstCardPositon, not required. Note that the carouselRotationAngle is specified in floating point slot positions, not radians or degrees. Change-Id: I4f70c2aff07e9ab15a9bf6ac834ac5a61830a28b
/frameworks/ex/carousel/java/com/android/ex/carousel/CarouselView.java
|
7ec486bf1373232a35efa96622f31ac1aff5456b |
|
14-Oct-2010 |
Bryan Mawhinney <bryanmawhinney@google.com> |
Guard against setting detail textures after destroy. Change-Id: I0c375a05cbd44d354ea0439b5aecee59a1306ce3
/frameworks/ex/carousel/java/com/android/ex/carousel/CarouselView.java
|
50c5e37bb3a952d1da78582d00922a28c55c0239 |
|
13-Oct-2010 |
Jack Palevich <jackpal@google.com> |
Set DrawCardsWithBlending state when starting up carousel. Change-Id: I1c5371d65797fbbfcf5507fb82caea2666fad885
/frameworks/ex/carousel/java/com/android/ex/carousel/CarouselView.java
|
bfc5ce2da9e0d8d0ec2535c465624574d98418d7 |
|
12-Oct-2010 |
Jim Shuma <jshuma@google.com> |
Performance improvements: Enable blending only when needed Never draw the background image with blending. Draw card images with blending only when requested. By default, blending is enabled, but [MVC]CarouselView subclasses can disable it. Change-Id: Ia66f0fb7df45881481f0b782983402fcecb4a29a
/frameworks/ex/carousel/java/com/android/ex/carousel/CarouselView.java
|
4fe6ea729d1fc44c8126de7a92a710c3885fb2ec |
|
11-Oct-2010 |
Jim Shuma <jshuma@google.com> |
Detail texture geometry fixes, and offscreen loading tweak Changes in support of Simon Wilson's work on improving the Books carousel appearance. Provide an option to center the detail texture with respect to the card, as opposed to the default left-alignment. Draw the detail texture based on the bounding box of the card, not just on the left coordinate. Add an option to specify how many offscreen cards are maintained in memory (as opposed to just one on each side). Change-Id: I696f7315423440a9cecb503f07be96ffee96424f
/frameworks/ex/carousel/java/com/android/ex/carousel/CarouselView.java
|
fc1960b04f7746f8bdb13cc5bf3297fe0928c851 |
|
10-Oct-2010 |
Jason Sams <rjsams@android.com> |
Update to use SurfaceConfig. Change-Id: I3e04225c9241d96fa6be390eb32fe06fee994e1d
/frameworks/ex/carousel/java/com/android/ex/carousel/CarouselView.java
|
594ff62c170509c0d69b30f4c2a5e71d4799a9c8 |
|
08-Oct-2010 |
Jim Shuma <jshuma@google.com> |
Add long-press support to carousel Change-Id: I65f468d4d0104bac2e98a8e97ec3ba49db42c7d5
/frameworks/ex/carousel/java/com/android/ex/carousel/CarouselView.java
|
83d7a5f03e6511372f73e3e4e03a6d403b20125d |
|
07-Oct-2010 |
Bryan Mawhinney <bryanmawhinney@google.com> |
Provide option to allow cards to face the center of the carousel circle. Change-Id: I74ea4308316735ef5ec28318e4dc9374410894fa
/frameworks/ex/carousel/java/com/android/ex/carousel/CarouselView.java
|
a044fbbb1e5498a0112f20a1b0de11a4089ef612 |
|
07-Oct-2010 |
Jim Miller <jaggies@google.com> |
Substantial improvement to Carousel launch time. This fixes a bug where compiling the renderscript was done multiple times. The operation is fairly expensive and was taking about 800ms per call, repeated over several calls. The new code compiles it just once in the CarouselRS constructor and keeps a reference to it. Change-Id: I6cbf92062a995e2d847f40e737448e0bc6684d76
/frameworks/ex/carousel/java/com/android/ex/carousel/CarouselView.java
|
2ba04e061b52c488a154739379501dc833e39f79 |
|
06-Oct-2010 |
Jim Miller <jaggies@google.com> |
Fix bug where resizing cards array caused cards to get reloaded. Change-Id: I090dd17a01dada63461708760454f073b4b7cb13
/frameworks/ex/carousel/java/com/android/ex/carousel/CarouselView.java
|
b378af500b36226635b6343b1d5009ee9af44fc1 |
|
02-Oct-2010 |
Jim Miller <jaggies@google.com> |
Major performance improvements to Carousel: Use single-texture shader when we don't need to blend. Gets us to solid 55 fps in steady-state. Add lineOffset parameter to DetailTextureParameters to allow apps to set an offset from the top of screen. Minor refactoring of picking rays in prep for oblique frustum support. Added 'debugRendering' flag to carousel.rs. Updated CarouselTestActivity to demonstrate use of new properties. Change-Id: I472e442a092ef83445ac30eb64265d49af022261
/frameworks/ex/carousel/java/com/android/ex/carousel/CarouselView.java
|
420b44b8b11ec1c309ea130e69a6876325dbfef9 |
|
29-Sep-2010 |
Jim Miller <jaggies@google.com> |
More improvements to Carousel. Added new blending mode and render back-to-front for default view. Added new "rez-in" effect for last few cards (selectable). Added time-lapse fade-in as new textures become available. Change-Id: Ic5e662bcd59fee127227a00529dd868342957a9f
/frameworks/ex/carousel/java/com/android/ex/carousel/CarouselView.java
|
c3e94dc22d3c03b514bf3aff41082bfab7aca845 |
|
30-Sep-2010 |
Jack Palevich <jackpal@google.com> |
Avoid calling RenderScript after view is detached from window. Change-Id: I793663ee882ed6f2e933b93ebf1eb173a8ea2724
/frameworks/ex/carousel/java/com/android/ex/carousel/CarouselView.java
|
a3cb716626b477c98ba912698c765eab20f27286 |
|
27-Sep-2010 |
Jim Miller <jaggies@google.com> |
Major improvements to Carousel. Added CarouselViewHelper class to simplify writing applications that use the widged. Updated examples to use new CarouselViewHelper class. Added sample "lighting" to CarouselTestActivity. Change-Id: I1b4a7e0d79f94781add16e1d2e7ec8b4657744d8
/frameworks/ex/carousel/java/com/android/ex/carousel/CarouselView.java
|
7c09ccce478100d75e4427d87866ff19d758ae7a |
|
22-Sep-2010 |
Jim Shuma <jshuma@google.com> |
Support for Books carousel Fixes a bug causing detail text to sway with the cover. Allows specifying the number of detail textures to show. Draw detail texture either above or below the card. Makes optional the ruler from card to detail texture. Change-Id: I41e45058eff1fdd4a3fea587ad4dd7f3bc75482a
/frameworks/ex/carousel/java/com/android/ex/carousel/CarouselView.java
|
e386bbba584685f6261e6dc846c9d05c79b53535 |
|
17-Sep-2010 |
Bryan Mawhinney <bryanmawhinney@google.com> |
Ensure renderscript is available to load geometry. This fixes a bug I introduced in the previous CL. Change-Id: I9c3160623fe827a854fe8adb47a578faff2a4bca
/frameworks/ex/carousel/java/com/android/ex/carousel/CarouselView.java
|
ffd2d025459cfd383fff8889c6293b951f864ac1 |
|
16-Sep-2010 |
Bryan Mawhinney <bryanmawhinney@google.com> |
Fix RenderScriptGL leak in CarouselView. Previously we called ensureRenderScript both when creating the view and when attaching it to a window. This caused us to overwrite the RenderScriptGL instance without shutting it down first. Change-Id: Ie448f1135121111bd379b1a7e827acd7e3834bcf
/frameworks/ex/carousel/java/com/android/ex/carousel/CarouselView.java
|
6b1fa13e79a6ae467d16da223fd36db53fa5a5cb |
|
16-Sep-2010 |
Jim Miller <jaggies@google.com> |
Fix for 3007426: Fix crash in CarouselView Change-Id: I66fd91376b579d08dd776565153b212ee4f136fa
/frameworks/ex/carousel/java/com/android/ex/carousel/CarouselView.java
|
b0f070636c29ad178f4e21306f301fe3d20c183b |
|
16-Sep-2010 |
Jim Miller <jaggies@google.com> |
Expose setting the background color of the Carousel. Switch setBackgroundColor() api from Float4 to float to avoid forcing apps to explicitly import RenderScript Float4 data type. Change-Id: I650ac0a74cd2abce489a9526652e1c31a93ea9be
/frameworks/ex/carousel/java/com/android/ex/carousel/CarouselView.java
|
7cb0068e59dde61ef0e649735199e5ba31c9c6af |
|
14-Sep-2010 |
Jim Miller <jaggies@google.com> |
Add detail text to Carousel and CarouselTestActivity. Add better documentation to CarouselView. Remove unnecessary log spew. Updated documentation after review. Change-Id: I13df9f9bcac8898b198e3dbf06b11ae7522dc8f1
/frameworks/ex/carousel/java/com/android/ex/carousel/CarouselView.java
|
198a060d650bc849ef0f25b597888fac9546803b |
|
15-Sep-2010 |
Jack Palevich <jackpal@google.com> |
Add an API to report the first card position. Change-Id: I07072569f9e02a327aed4a2b13b3748899687b33
/frameworks/ex/carousel/java/com/android/ex/carousel/CarouselView.java
|
c0bb8af58ae15674178f2db240283719918c6f28 |
|
15-Sep-2010 |
Jim Shuma <jshuma@google.com> |
Integrate functionality from the Books carousel This change is getting ready for the Books app to use the system carousel. It integrates functionality that previously only existed Books: - Swaying based on the velocity of the user drag - Disabling overscroll - Disabling jumping into position - Some stability improvements To do this, it exposes the following functionality publicly from CarouselView: - radius - sway sensitivity - friction coefficient - drag factor - point to lookAt The changes to Books to use this are at change #68137 Change-Id: Ie81c3b328716d7edb1652e9a8b6ecfd161c7fabc
/frameworks/ex/carousel/java/com/android/ex/carousel/CarouselView.java
|
9afba8c61f6aff94c68acbfaae1cc58bd28c13ea |
|
04-Sep-2010 |
Jim Miller <jaggies@google.com> |
Add background texture support to Carousel widget. This allows an application to specify a background texture to draw behind the carousel. Change-Id: I2eefc3fe460acf704a46d80698c0aae493e9de58
/frameworks/ex/carousel/java/com/android/ex/carousel/CarouselView.java
|
5ce730797a8a7278dfe19dac8a9460b25675fed0 |
|
02-Sep-2010 |
Jim Miller <jaggies@google.com> |
Add carousel as static library to build. Change-Id: I5e3eb0a6c3ea6deeee3856c486bbb469c8d20360
/frameworks/ex/carousel/java/com/android/ex/carousel/CarouselView.java
|