Lines Matching defs:values

43     public void captureValues(TransitionValues values) {
44 View view = values.view;
45 Integer visibility = (Integer) values.values.get(Visibility.PROPNAME_VISIBILITY);
49 values.values.put(PROPNAME_VISIBILITY, visibility);
56 values.values.put(PROPNAME_VIEW_CENTER, loc);
65 * Returns {@link android.view.View#getVisibility()} for the View at the time the values
67 * @param values The TransitionValues captured at the start or end of the Transition.
68 * @return {@link android.view.View#getVisibility()} for the View at the time the values
71 public int getViewVisibility(TransitionValues values) {
72 if (values == null) {
75 Integer visibility = (Integer) values.values.get(PROPNAME_VISIBILITY);
83 * Returns the View's center x coordinate, relative to the screen, at the time the values
85 * @param values The TransitionValues captured at the start or end of the Transition.
86 * @return the View's center x coordinate, relative to the screen, at the time the values
89 public int getViewX(TransitionValues values) {
90 return getViewCoordinate(values, 0);
94 * Returns the View's center y coordinate, relative to the screen, at the time the values
96 * @param values The TransitionValues captured at the start or end of the Transition.
97 * @return the View's center y coordinate, relative to the screen, at the time the values
100 public int getViewY(TransitionValues values) {
101 return getViewCoordinate(values, 1);
104 private static int getViewCoordinate(TransitionValues values, int coordinateIndex) {
105 if (values == null) {
109 int[] coordinates = (int[]) values.values.get(PROPNAME_VIEW_CENTER);