OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:startBounds
(Results
1 - 15
of
15
) sorted by null
/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
...]
/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
...]
/frameworks/base/core/java/android/transition/
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);
ChangeImageTransform.java
153
Rect
startBounds
= (Rect) startValues.values.get(PROPNAME_BOUNDS);
155
if (
startBounds
== null || endBounds == null) {
165
if (
startBounds
.equals(endBounds) && matricesEqual) {
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/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();
/frameworks/base/services/core/java/com/android/server/wm/
TaskPositioner.java
354
float startX, float startY, Rect
startBounds
) {
361
if (startX <
startBounds
.left) {
364
if (startX >
startBounds
.right) {
367
if (startY <
startBounds
.top) {
370
if (startY >
startBounds
.bottom) {
380
mStartOrientationWasLandscape =
startBounds
.width() >=
startBounds
.height();
381
mWindowOriginalBounds.set(
startBounds
);
398
mTask.mTaskId,
startBounds
, RESIZE_MODE_USER_FORCED);
406
mWindowDragBounds.set(
startBounds
);
[
all
...]
/development/samples/devbytes/animation/ListViewCellInsertion/src/com/example/android/insertingcells/
InsertionListView.java
231
Rect
startBounds
= listViewItemBounds.get(itemId);
232
bitmapDrawable.setBounds(
startBounds
);
234
int childHeight =
startBounds
.bottom -
startBounds
.top + getDividerHeight();
235
Rect endBounds = new Rect(
startBounds
);
239
"bounds", sBoundsEvaluator,
startBounds
, endBounds);
/frameworks/support/transition/src/main/java/androidx/transition/
ChangeImageTransform.java
134
Rect
startBounds
= (Rect) startValues.values.get(PROPNAME_BOUNDS);
136
if (
startBounds
== null || endBounds == null) {
146
if (
startBounds
.equals(endBounds) && matricesEqual) {
ChangeBounds.java
273
Rect
startBounds
= (Rect) startValues.values.get(PROPNAME_BOUNDS);
275
final int startLeft =
startBounds
.left;
277
final int startTop =
startBounds
.top;
279
final int startRight =
startBounds
.right;
281
final int startBottom =
startBounds
.bottom;
/cts/tests/tests/transition/src/android/transition/cts/
ChangeBoundsTest.java
295
Rect
startBounds
= (Rect) startValues.values.get(PROPNAME_BOUNDS);
/prebuilts/misc/common/robolectric/android-all/
android-all-8.0.0_r4-robolectric-0.jar
/prebuilts/tools/common/eclipse/
org.eclipse.ui.workbench_3.6.2.M20110210-1200.jar
Completed in 2274 milliseconds