Lines Matching refs:values

44     public void captureValues(TransitionValues values) {
45 View view = values.view;
46 Integer visibility = (Integer) values.values.get(Visibility.PROPNAME_VISIBILITY);
50 values.values.put(PROPNAME_VISIBILITY, visibility);
57 values.values.put(PROPNAME_VIEW_CENTER, loc);
66 * Returns {@link android.view.View#getVisibility()} for the View at the time the values
68 * @param values The TransitionValues captured at the start or end of the Transition.
69 * @return {@link android.view.View#getVisibility()} for the View at the time the values
72 public int getViewVisibility(TransitionValues values) {
73 if (values == null) {
76 Integer visibility = (Integer) values.values.get(PROPNAME_VISIBILITY);
84 * Returns the View's center x coordinate, relative to the screen, at the time the values
86 * @param values The TransitionValues captured at the start or end of the Transition.
87 * @return the View's center x coordinate, relative to the screen, at the time the values
90 public int getViewX(TransitionValues values) {
91 return getViewCoordinate(values, 0);
95 * Returns the View's center y coordinate, relative to the screen, at the time the values
97 * @param values The TransitionValues captured at the start or end of the Transition.
98 * @return the View's center y coordinate, relative to the screen, at the time the values
101 public int getViewY(TransitionValues values) {
102 return getViewCoordinate(values, 1);
105 private static int getViewCoordinate(TransitionValues values, int coordinateIndex) {
106 if (values == null) {
110 int[] coordinates = (int[]) values.values.get(PROPNAME_VIEW_CENTER);