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/CarouselRS.java
|
46a02894a12775c16c4588a168c3cbc767a6f983 |
|
06-May-2011 |
Jim Miller <jaggies@google.com> |
Fix unreported bug with CarouselTestActivity where incorrect items were shown. The count was wrong for the number of items in the allocation pool since we now prefetch more data. Add demo code to show dialogs for events generated by Carousel (select texture, select detail, long press). Some other minor code cleanups. Change-Id: Iebecd1945c115d96bd60a3968985c1b104b586d6
/frameworks/ex/carousel/java/com/android/ex/carousel/CarouselRS.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/CarouselRS.java
|
ec18350090abbba03c3f0c9f0511cfde4afee66f |
|
24-Jan-2011 |
Jim Shuma <jshuma@google.com> |
Proper error checking for setting cards When shrinking the cards array while invalidates are still in flight, it's possible to have an invalidate or texture set land on a nonexistent card, causing an out-of-bounds exception to be thrown, crashing the app. Frequently these invalidates come from the user dragging the carousel to another position, so it's not feasible to prevent invalidates from being sent when we're about to clear the cards array; nor is it feasible to empty any pending invalidates, since Renderscript does not provide any meaningful inspection of the event queue. Therefore, the only real way we can address the problem is by detecting these out-of-turn invalidates and handling the errors cleanly. In practice, since these events are typically to invalidate a nonexistent card, it's OK to just drop them, since each such card is already invalid because it does not exist. This fix factors out card-get and card-set logic into common methods, similar to card-set-or-create logic that's been present for a long time. Bug: 3381300 Change-Id: I037801de3b4c3bff514b1586fa16417e32c118df
/frameworks/ex/carousel/java/com/android/ex/carousel/CarouselRS.java
|
52b26266238d124ec2831835a90988f89304218e |
|
13-Jan-2011 |
Alex Sakhartchouk <alexst@google.com> |
Some names changed during API review, updating carousel to reflect them. Change-Id: Ib08f4f7997d5e06891d5ce09cc7bff6c0f61f341
/frameworks/ex/carousel/java/com/android/ex/carousel/CarouselRS.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/CarouselRS.java
|
d696cd4dc90b92e7653d5bcb0b14654c588e9d7d |
|
29-Dec-2010 |
Jim Shuma <jshuma@google.com> |
Reset cards array on createCards(0) createCards(0) is used to clear out an array. As such, it's appropriate to entirely replace the array, rather than resizing to size 1, which leaves stale data behind. Bug: 3314456 Change-Id: Ifa1eb4a01ad9f5cc09c3cd6edce5de3f9602d9f0
/frameworks/ex/carousel/java/com/android/ex/carousel/CarouselRS.java
|
819c18b25f5316429f34f975178999876c75b1de |
|
21-Dec-2010 |
Alex Sakhartchouk <alexst@google.com> |
Renderscript API cleanup Change-Id: I7235d93bbbcefd921294582d5f901e2a53d9701e
/frameworks/ex/carousel/java/com/android/ex/carousel/CarouselRS.java
|
3adf712e636f67265da7a6ff425c87e63fc20884 |
|
17-Dec-2010 |
Jim Shuma <jshuma@google.com> |
Allow fading of the entire card Give cards an overall timestamp, separate from the texture timestamp. This allows cards to fade in before their texture has been set. Bug: 3281327 Change-Id: I9405636ebcbfc2c27d777d435f3abf24265dfbe9
/frameworks/ex/carousel/java/com/android/ex/carousel/CarouselRS.java
|
77bf0562976f0571861012c8506517914efa2bbe |
|
16-Dec-2010 |
Jason Sams <rjsams@android.com> |
Remove unnecessary uploads. Change-Id: I6970953b717e6c667c5111a73db26a0bbe36e56e
/frameworks/ex/carousel/java/com/android/ex/carousel/CarouselRS.java
|
ac1d1fd9b14ce42aa9e04f8c472039790d736786 |
|
16-Dec-2010 |
Jim Shuma <jshuma@google.com> |
Fix a bug causing store config to be lost on rotate Store configs were getting lost on orientation change, since they weren't being stored right. This fixes that. Change-Id: I4b256764347e3e7462fb4532254565d81bfc8980
/frameworks/ex/carousel/java/com/android/ex/carousel/CarouselRS.java
|
0508a5d4e679d52de6e902c07e63d5856225d616 |
|
15-Dec-2010 |
Jason Sams <rjsams@android.com> |
Update for Allocation API changes. Change-Id: If3b9d05825adf1bdb495f36e7d020af1bbdb5c7a
/frameworks/ex/carousel/java/com/android/ex/carousel/CarouselRS.java
|
f664659f79399e92025e1dfe1ffbb682ff05613c |
|
12-Dec-2010 |
Jim Shuma <jshuma@google.com> |
Allow specifying configurations for mesh primitives This lets you specify separate alpha, depth read, and depth write behaviors for each primitive in your mesh. It will be used by Books to allow drawing shadows separately from the main model. Change-Id: I9351f720e6e09260b5bcd335e305922ff48cb373
/frameworks/ex/carousel/java/com/android/ex/carousel/CarouselRS.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/CarouselRS.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/CarouselRS.java
|
e8cab95c5f73ddf6843d82793decc3adb4692860 |
|
04-Dec-2010 |
Jim Shuma <jshuma@google.com> |
Add more feedback parameters to onCardLongPress onCardLongPress now passes information about the detail texture being passed, and where the touch happened. Also fixing a bug that caused long-press to be interpreted as selection. Change-Id: I4ee189c7c006abbc6ad71ac60778d1f18e8684a2
/frameworks/ex/carousel/java/com/android/ex/carousel/CarouselRS.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/CarouselRS.java
|
8441b1025afe64748f9e3483baacee92171bbfa3 |
|
02-Dec-2010 |
Jeff Sharkey <jsharkey@android.com> |
Enable invalidation of carousel textures. Mirrors existing implementation of detail texture invalidation. Also fixes issue where eraseCurrent was being ignored. Fixes http://b/3246908. Change-Id: I7348536b43b1ccf6b7df2389a1100c3d5b1671a8
/frameworks/ex/carousel/java/com/android/ex/carousel/CarouselRS.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/CarouselRS.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/CarouselRS.java
|
0f529a84c393814bccd851d94c34b77558dcbab0 |
|
16-Nov-2010 |
Jim Shuma <jshuma@google.com> |
Don't throw an exception when invalidating an unset card If the user calls invalidateDetailTexture() before calling setDetailTexture(), don't throw an exception; just silently ignore the call. Change-Id: I9945a32319dd04729aa2b42b4c15a8d2880903d4
/frameworks/ex/carousel/java/com/android/ex/carousel/CarouselRS.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/CarouselRS.java
|
6af401bca5f8854524d128e9df5700035fae1160 |
|
12-Nov-2010 |
Jim Shuma <jshuma@google.com> |
Add updateDetailTexture to allow updating detail textures Change-Id: Id0d3146142bc7019523c038cacbfffb71db56594
/frameworks/ex/carousel/java/com/android/ex/carousel/CarouselRS.java
|
8fd40311898a9ec759a76f021642f43e617e38c4 |
|
11-Nov-2010 |
Jim Shuma <jshuma@google.com> |
Allow carousel apps to receive taps on detail textures Change-Id: I909edf4f05e268a00a3727fa684f3d83360e2225
/frameworks/ex/carousel/java/com/android/ex/carousel/CarouselRS.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/CarouselRS.java
|
1eccd028e704c15e842c1f23254d77a1a0a4cae0 |
|
02-Nov-2010 |
Jim Miller <jaggies@google.com> |
Several improvements to Carousel: - Use pool of allocations to reduce GCs in Carousel. - Hold of selection scale animation for 100ms - Fixed bug with detail ruler not being drawn at pixel coordinates. - Fixed bug where adding cards caused all cards to be refreshed. Change-Id: I0ca254b6b3c3e4d9b2ce6575d25c8ede59b0a075
/frameworks/ex/carousel/java/com/android/ex/carousel/CarouselRS.java
|
6f2cc8cf611860467315ecc542f71a225625eb1c |
|
02-Nov-2010 |
Jason Sams <rjsams@android.com> |
User RS resize instead of manually implementing a copy routine. Change-Id: I201cafd9683752252e6e484e5fb6d370a4ec6cce
/frameworks/ex/carousel/java/com/android/ex/carousel/CarouselRS.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/CarouselRS.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/CarouselRS.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/CarouselRS.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/CarouselRS.java
|
bf39450b962d91ec78af53db39826d55ddb39902 |
|
14-Oct-2010 |
Jim Shuma <jshuma@google.com> |
Disable the depth test when drawing detail textures Add programStoreDetail for drawing detail textures. It does blending (with non-premultiplied alpha) but not depth testing, and does not write to the depth buffer. Change-Id: I5c31f9fcf551320288dc6b047e54e6988591154c
/frameworks/ex/carousel/java/com/android/ex/carousel/CarouselRS.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/CarouselRS.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/CarouselRS.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/CarouselRS.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/CarouselRS.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/CarouselRS.java
|
9f0c6badc3e8f928c6f2658a3c85ea50319424d4 |
|
06-Oct-2010 |
Alex Sakhartchouk <alexst@google.com> |
changing texcoord from vec4 to vec2 for perf reasons. Change-Id: I18a9f94694f8977db79d9cb42d0a7d88c41c9c24
/frameworks/ex/carousel/java/com/android/ex/carousel/CarouselRS.java
|
b8c3aee40f704e71fd9a8af41f060ebae2ea445f |
|
06-Oct-2010 |
Bryan Mawhinney <bryanmawhinney@google.com> |
Don't create any cards by default. Otherwise there's a small chance we may request textures before a listener is attached. Change-Id: I95fe4c16ec6aedb81dc3e5e7b8c65b28d9f83131
/frameworks/ex/carousel/java/com/android/ex/carousel/CarouselRS.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/CarouselRS.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/CarouselRS.java
|
a9e9c4bef076e718094786edfe0290f798e1db4b |
|
01-Oct-2010 |
Jim Miller <jaggies@google.com> |
A few more Carousel improvements: Add feature to fade detail texture out as it goes into the distance. Fix background texture drawing performance by using single texture shader instead of multi. Fix minor bug with background texture after review, as agreed. Change-Id: Ibd80f83058f78cf40cae902626fdfba2a4792ee9
/frameworks/ex/carousel/java/com/android/ex/carousel/CarouselRS.java
|
8b55d7500c1e5a88c415dae8dcead16b152d7929 |
|
01-Oct-2010 |
Jack Palevich <jackpal@google.com> |
Preserve existing cards when resizing the card array. Change-Id: I0f5a4e11585d289aaed9c3553b82a9df80f8acd0
/frameworks/ex/carousel/java/com/android/ex/carousel/CarouselRS.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/CarouselRS.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/CarouselRS.java
|
e0103cfd1a72197454e522834d2e8f600f798073 |
|
22-Sep-2010 |
Jack Palevich <jackpal@google.com> |
Bitmap's config now controls RenderScript texture format. Allows clients to control when 16 bit vs 32 bit textures are used. Change-Id: Icd9e144b64ef06ccdcfb687a5e191b7ba5079798
/frameworks/ex/carousel/java/com/android/ex/carousel/CarouselRS.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/CarouselRS.java
|
c4c6f38bf410af40e10c63b152befd5a39df87c8 |
|
17-Sep-2010 |
Jim Miller <jaggies@google.com> |
Use proper rsObject methods when switching texture and geometry. Fix race condition in set methods when invoked from RS thread. Change-Id: I0734e287727f3ce77ac388512c49028b2428b614
/frameworks/ex/carousel/java/com/android/ex/carousel/CarouselRS.java
|
1126aa8ba186b42baf5b14c66d44b59f43888b70 |
|
17-Sep-2010 |
Stephen Hines <srhines@google.com> |
Handle RS reflection name changes. Change-Id: I0b16fbbfe26e45d7f221c4420c4fb05b906bd6f7
/frameworks/ex/carousel/java/com/android/ex/carousel/CarouselRS.java
|
3e919976d4eb87384c1be0ab82caf985f786aa47 |
|
16-Sep-2010 |
Jim Miller <jaggies@google.com> |
Fix bug where power-of-two textures were showing up black in Carousel. Change-Id: Id1a578f63e137eadca4bb1419863fcd2db154dcb
/frameworks/ex/carousel/java/com/android/ex/carousel/CarouselRS.java
|
3df59346f395434454d310b070fff195089fbaf1 |
|
16-Sep-2010 |
Jim Miller <jaggies@google.com> |
Fix for potential memory corruption in RS when cardcount = 0 This bug is related to a previous workaround for a limitation in RS where an allocation cannot have a size of 0. Instead of creating the allocation, it would set the allocation to null. This workaround always allocates at least one card and adds a shadow variable to indicate when the array is valid. Also added checks for negative numbers. Change-Id: Icc37f5da048b8177b93b05472a093f695e6ecc86
/frameworks/ex/carousel/java/com/android/ex/carousel/CarouselRS.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/CarouselRS.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/CarouselRS.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/CarouselRS.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/CarouselRS.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/CarouselRS.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/CarouselRS.java
|