History log of /frameworks/ex/carousel/java/com/android/ex/carousel/CarouselViewHelper.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
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/CarouselViewHelper.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/CarouselViewHelper.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/CarouselViewHelper.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/CarouselViewHelper.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/CarouselViewHelper.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
/frameworks/ex/carousel/java/com/android/ex/carousel/CarouselViewHelper.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/CarouselViewHelper.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/CarouselViewHelper.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/CarouselViewHelper.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/CarouselViewHelper.java
9fa7a1887bd54f8833a772f8418b8f94c811ccf6 30-Sep-2010 Jack Palevich <jackpal@google.com> Add an onDestroy method

This method should be called when tearing down the view. By default it
quits the handler thread.

Change-Id: Iece07bf0fa9fa9ee454e83ed6a26381aa22c63ba
/frameworks/ex/carousel/java/com/android/ex/carousel/CarouselViewHelper.java
0eb8cac611ca6d82dced0995d2ead3886c647170 30-Sep-2010 Jack Palevich <jackpal@google.com> Make Parameters objects static.

Change-Id: I763803595dc344eb50eb257b51bcacffebb94df1
/frameworks/ex/carousel/java/com/android/ex/carousel/CarouselViewHelper.java
eb71cf6812bdb53bda75ac37a185f78f43ddfcef 29-Sep-2010 Jim Shuma <jshuma@google.com> Expose getGeometry() like the other getters

Change-Id: I8d9abb4c75e7cb2afa70cef8c0d2baed0442b659
/frameworks/ex/carousel/java/com/android/ex/carousel/CarouselViewHelper.java
baa6653bc1165a787c44ed8781c8d258a8e4e798 29-Sep-2010 Jack Palevich <jackpal@google.com> Make CarouselViewHelper more reusable.

Allow subclasses to get at the async handler and view members.

Change-Id: I2696246de6a27ecf0a74ac7a45b36e1789eca1f7
/frameworks/ex/carousel/java/com/android/ex/carousel/CarouselViewHelper.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/CarouselViewHelper.java