Searched refs:Parallax (Results 1 - 11 of 11) sorted by relevance

/frameworks/support/v17/leanback/tests/java/android/support/v17/leanback/widget/
H A DParallaxFloatTest.java35 Parallax<Parallax.FloatProperty> mSource;
44 mSource = new Parallax<Parallax.FloatProperty>() {
61 Parallax.FloatProperty var1 = mSource.addProperty("var1");
72 Parallax.FloatProperty var1 = mSource.addProperty("var1");
74 Parallax.FloatPropertyMarkerValue keyValue = (Parallax.FloatPropertyMarkerValue)
83 Parallax.FloatProperty var1 = mSource.addProperty("var1");
85 Parallax
[all...]
H A DParallaxIntTest.java32 Parallax<Parallax.IntProperty> mSource;
41 mSource = new Parallax<Parallax.IntProperty>() {
58 Parallax.IntProperty var1 = mSource.addProperty("var1");
69 Parallax.IntProperty var1 = mSource.addProperty("var1");
71 Parallax.IntPropertyMarkerValue keyValue = (Parallax.IntPropertyMarkerValue)
80 Parallax.IntProperty var1 = mSource.addProperty("var1");
82 Parallax
[all...]
H A DParallaxFloatEffectTest.java42 Parallax<Parallax.FloatProperty> mSource;
54 mSource = new Parallax<Parallax.FloatProperty>() {
72 Parallax.FloatProperty var1 = mSource.addProperty("var1");
120 var1.setValue(mSource, Parallax.FloatProperty.UNKNOWN_BEFORE);
126 var1.setValue(mSource, Parallax.FloatProperty.UNKNOWN_AFTER);
135 Parallax.FloatProperty var1 = mSource.addProperty("var1");
146 Parallax.FloatProperty var1 = mSource.addProperty("var1");
147 Parallax
[all...]
H A DParallaxIntEffectTest.java39 Parallax<Parallax.IntProperty> mSource;
51 mSource = new Parallax<Parallax.IntProperty>() {
69 Parallax.IntProperty var1 = mSource.addProperty("var1");
117 var1.setValue(mSource, Parallax.IntProperty.UNKNOWN_BEFORE);
123 var1.setValue(mSource, Parallax.IntProperty.UNKNOWN_AFTER);
132 Parallax.IntProperty var1 = mSource.addProperty("var1");
143 Parallax.IntProperty var1 = mSource.addProperty("var1");
144 Parallax
[all...]
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
H A DDetailsParallax.java24 * Subclass of Parallax object that tracks overview row's top and bottom edge in DetailsFragment
58 public Parallax.IntProperty getOverviewRowTop() {
66 public Parallax.IntProperty getOverviewRowBottom() {
H A DParallaxEffect.java20 import android.support.v17.leanback.widget.Parallax.FloatProperty;
21 import android.support.v17.leanback.widget.Parallax.FloatPropertyMarkerValue;
22 import android.support.v17.leanback.widget.Parallax.IntProperty;
23 import android.support.v17.leanback.widget.Parallax.PropertyMarkerValue;
31 * variables defined in {@link Parallax}.
33 * ParallaxEffect has a list of {@link Parallax.PropertyMarkerValue}s which represents the range of
35 * {@link ParallaxEffect#performMapping(Parallax)} which computes a fraction between 0 and 1
36 * based on the current values of variables in {@link Parallax}. As the parallax effect goes
40 * App use {@link Parallax#addEffect(PropertyMarkerValue...)} to create a ParallaxEffect.
44 final List<Parallax
[all...]
H A DParallax.java29 * Parallax tracks a list of dynamic {@link Property}s typically representing foreground UI
30 * element positions on screen. Parallax keeps a list of {@link ParallaxEffect} objects which define
38 * Parallax<IntProperty> parallax = new Parallax<IntProperty>() {...};
47 * list of {@link PropertyMarkerValue} which defines the range of {@link Parallax.IntProperty} or
48 * {@link Parallax.FloatProperty}. Then user adds {@link ParallaxTarget} into
52 * App may subclass {@link Parallax.IntProperty} or {@link Parallax.FloatProperty} to supply
54 * a great example of Parallax implementation tracking child view positions on screen.
58 * <li>FloatProperty and IntProperty cannot be mixed in one Parallax</l
77 public abstract class Parallax<PropertyT extends android.util.Property> { class
[all...]
H A DDetailsParallaxDrawable.java172 Parallax.IntProperty frameTop = parallax.getOverviewRowTop();
173 Parallax.IntProperty frameBottom = parallax.getOverviewRowBottom();
H A DRecyclerViewParallax.java29 * Implementation of {@link Parallax} class for {@link RecyclerView}. This class
33 public class RecyclerViewParallax extends Parallax<RecyclerViewParallax.ChildPositionProperty> {
53 * Subclass of {@link Parallax.IntProperty}. Using this Property, users can track a
60 public static final class ChildPositionProperty extends Parallax.IntProperty {
213 * Set RecyclerView that this Parallax will register onScrollListener.
/frameworks/support/v17/leanback/src/android/support/v17/leanback/transition/
H A DParallaxTransition.java27 import android.support.v17.leanback.widget.Parallax;
58 final Parallax source = (Parallax) view.getTag(R.id.lb_parallax_source);
/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/
H A DDetailsBackgroundVideoHelper.java24 import android.support.v17.leanback.widget.Parallax;
88 Parallax.IntProperty frameTop = mDetailsParallax.getOverviewRowTop();

Completed in 2086 milliseconds