HomeSort by relevance Sort by last modified time
    Searched defs:startBounds (Results 1 - 14 of 14) sorted by null

  /development/samples/training/AnimationsDemo/src/com/example/android/animationsdemo/
ZoomActivity.java 121 final Rect startBounds = new Rect();
129 thumbView.getGlobalVisibleRect(startBounds);
131 startBounds.offset(-globalOffset.x, -globalOffset.y);
139 > (float) startBounds.width() / startBounds.height()) {
141 startScale = (float) startBounds.height() / finalBounds.height();
143 float deltaWidth = (startWidth - startBounds.width()) / 2;
144 startBounds.left -= deltaWidth;
145 startBounds.right += deltaWidth;
148 startScale = (float) startBounds.width() / finalBounds.width()
    [all...]
  /developers/build/prebuilts/gradle/WearSpeakerSample/wear/src/main/java/com/example/android/wearable/speaker/
UIAnimation.java 85 final Rect startBounds = new Rect();
88 thumbView.getGlobalVisibleRect(startBounds);
90 startBounds.offset(-globalOffset.x, -globalOffset.y);
94 > (float) startBounds.width() / startBounds.height()) {
95 startScale = (float) startBounds.height() / finalBounds.height();
97 float deltaWidth = (startWidth - startBounds.width()) / 2;
98 startBounds.left -= deltaWidth;
99 startBounds.right += deltaWidth;
101 startScale = (float) startBounds.width() / finalBounds.width()
    [all...]
  /developers/samples/android/wearable/wear/WearSpeakerSample/wear/src/main/java/com/example/android/wearable/speaker/
UIAnimation.java 85 final Rect startBounds = new Rect();
88 thumbView.getGlobalVisibleRect(startBounds);
90 startBounds.offset(-globalOffset.x, -globalOffset.y);
94 > (float) startBounds.width() / startBounds.height()) {
95 startScale = (float) startBounds.height() / finalBounds.height();
97 float deltaWidth = (startWidth - startBounds.width()) / 2;
98 startBounds.left -= deltaWidth;
99 startBounds.right += deltaWidth;
101 startScale = (float) startBounds.width() / finalBounds.width()
    [all...]
  /development/samples/browseable/WearSpeakerSample/src/com.example.android.wearable.speaker/
UIAnimation.java 85 final Rect startBounds = new Rect();
88 thumbView.getGlobalVisibleRect(startBounds);
90 startBounds.offset(-globalOffset.x, -globalOffset.y);
94 > (float) startBounds.width() / startBounds.height()) {
95 startScale = (float) startBounds.height() / finalBounds.height();
97 float deltaWidth = (startWidth - startBounds.width()) / 2;
98 startBounds.left -= deltaWidth;
99 startBounds.right += deltaWidth;
101 startScale = (float) startBounds.width() / finalBounds.width()
    [all...]
  /frameworks/base/core/java/android/transition/
ChangeImageTransform.java 153 Rect startBounds = (Rect) startValues.values.get(PROPNAME_BOUNDS);
155 if (startBounds == null || endBounds == null) {
165 if (startBounds.equals(endBounds) && matricesEqual) {
Crossfade.java 176 Rect startBounds = (Rect) startVals.get(PROPNAME_BOUNDS);
238 if (mResizeBehavior == RESIZE_BEHAVIOR_SCALE && !startBounds.equals(endBounds)) {
240 Log.d(LOG_TAG, "animating from startBounds to endBounds: " +
241 startBounds + ", " + endBounds);
244 sRectEvaluator, startBounds, endBounds);
250 sRectEvaluator, startBounds, endBounds);
ChangeBounds.java 288 Rect startBounds = (Rect) startValues.values.get(PROPNAME_BOUNDS);
290 final int startLeft = startBounds.left;
292 final int startTop = startBounds.top;
294 final int startRight = startBounds.right;
296 final int startBottom = startBounds.bottom;
  /frameworks/support/transition/src/android/support/transition/
ChangeImageTransform.java 133 Rect startBounds = (Rect) startValues.values.get(PROPNAME_BOUNDS);
135 if (startBounds == null || endBounds == null) {
145 if (startBounds.equals(endBounds) && matricesEqual) {
ChangeBounds.java 272 Rect startBounds = (Rect) startValues.values.get(PROPNAME_BOUNDS);
274 final int startLeft = startBounds.left;
276 final int startTop = startBounds.top;
278 final int startRight = startBounds.right;
280 final int startBottom = startBounds.bottom;
  /packages/apps/Dialer/java/com/android/dialershared/bubble/
ChangeOnScreenBounds.java 97 Rect startBounds = (Rect) startValues.values.get(PROPNAME_BOUNDS);
100 if (startBounds == null || endBounds == null) {
105 // Offset the startBounds by the difference in screen position
110 startBounds.offset(startScreenX - endScreenX, startScreenY - endScreenY);
112 final int startLeft = startBounds.left;
114 final int startTop = startBounds.top;
116 final int startRight = startBounds.right;
118 final int startBottom = startBounds.bottom;
  /cts/tests/tests/transition/src/android/transition/cts/
ChangeBoundsTest.java 283 Rect startBounds = (Rect) startValues.values.get(PROPNAME_BOUNDS);
  /frameworks/base/core/java/com/android/internal/transition/
EpicenterTranslateClipReveal.java 130 final Rect startBounds = getEpicenterOrCenter(endBounds);
131 final float startX = startBounds.centerX() - endBounds.centerX();
132 final float startY = startBounds.centerY() - endBounds.centerY();
166 final Rect startBounds = (Rect) endValues.values.get(PROPNAME_BOUNDS);
167 final Rect endBounds = getEpicenterOrCenter(startBounds);
168 final float endX = endBounds.centerX() - startBounds.centerX();
169 final float endY = endBounds.centerY() - startBounds.centerY();
  /prebuilts/sdk/current/support/transition/libs/
android-support-transition.jar 
  /prebuilts/tools/common/eclipse/
org.eclipse.ui.workbench_3.6.2.M20110210-1200.jar 

Completed in 3048 milliseconds