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
arouselTestActivity.java
|
ceae13b8f2ae7342506ecb4e4fcce956dbb12af7 |
02-Mar-2011 |
Jim Miller <jaggies@google.com> |
Fix 3404464: Add scale-down animation to Carousel This changes the behavior to avoid snapping back to the original size, which was a very jarring effect. Instead, Carousel now has a scale-down animation that is triggered when the user releases the item. Change-Id: I81a91e65d0da991a98211f2ecb92fa89c8c81e22
yCarouselView.java
|
396b1eb70452e27942550efaa06e10da84fc58db |
17-Jan-2011 |
Jim Miller <jaggies@google.com> |
Fix bitrot in Carousel demo. Change-Id: I4151f20458b72f339bf636f7324b8dbbe33e6635
usicDemoActivity.java
|
8fd40311898a9ec759a76f021642f43e617e38c4 |
11-Nov-2010 |
Jim Shuma <jshuma@google.com> |
Allow carousel apps to receive taps on detail textures Change-Id: I909edf4f05e268a00a3727fa684f3d83360e2225
arouselTestActivity.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
arouselTestActivity.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
arouselTestActivity.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
arouselTestActivity.java
usicDemoActivity.java
|
7cc5787b49708f63aeb818bdd06efed3d4229925 |
21-Oct-2010 |
Jim Shuma <jshuma@google.com> |
Switch to using ModelViewController-based CarouselView Change-Id: I5cd2ff8ce9b2102ab6b10f6d6a41f87e0f3a06f3
arouselTestActivity.java
yCarouselView.java
askSwitcherActivity.java
|
43471a7e84593d0dd855ec5c66d70891a6fd4c81 |
14-Oct-2010 |
Jim Miller <jaggies@google.com> |
Several major improvements to Carousel: Improved selection criteria. It now looks for the finger to move less than a minimum distance (currently 50 pixels) before allowing that card to be selected or the carousel to move. Greatly simplified animation detection logic. Started adding new motion model methods. Change-Id: I8a7dc85dcfe547ff7bc024ba8be941bb787075ec
arouselTestActivity.java
|
2ba04e061b52c488a154739379501dc833e39f79 |
06-Oct-2010 |
Jim Miller <jaggies@google.com> |
Fix bug where resizing cards array caused cards to get reloaded. Change-Id: I090dd17a01dada63461708760454f073b4b7cb13
arouselTestActivity.java
|
f7c724da4bb4fcd3cd02add04a7bb8052e07e4c3 |
05-Oct-2010 |
Jim Miller <jaggies@google.com> |
Fix 3061600: Allow scrolling to last few items in CarouselView. This fixes a bug where the last few items cannot be scrolled to. The code now follows visibleDetailCount to allow scrolling all cards into the "visible area" for inspection and selection. Change-Id: I0fded18f0f7ac2828385164b287fec2f522dc3a0 Fixes: Music2, Books, Recents.
arouselTestActivity.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
arouselTestActivity.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
arouselTestActivity.java
usicDemoActivity.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
arouselTestActivity.java
usicDemoActivity.java
askSwitcherActivity.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
arouselTestActivity.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
arouselTestActivity.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
arouselTestActivity.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
arouselTestActivity.java
usicDemoActivity.java
askSwitcherActivity.java
|
198a060d650bc849ef0f25b597888fac9546803b |
15-Sep-2010 |
Jack Palevich <jackpal@google.com> |
Add an API to report the first card position. Change-Id: I07072569f9e02a327aed4a2b13b3748899687b33
arouselTestActivity.java
usicDemoActivity.java
askSwitcherActivity.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
usicDemoActivity.java
|
5ce730797a8a7278dfe19dac8a9460b25675fed0 |
02-Sep-2010 |
Jim Miller <jaggies@google.com> |
Add carousel as static library to build. Change-Id: I5e3eb0a6c3ea6deeee3856c486bbb469c8d20360
arouselTestActivity.java
usicDemoActivity.java
yCarouselView.java
askSwitcherActivity.java
|