OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:drawableHeight
(Results
1 - 22
of
22
) sorted by null
/packages/apps/Messaging/src/com/android/messaging/ui/
PlaceholderInsetDrawable.java
46
final int
drawableHeight
= drawable.getIntrinsicHeight();
49
final int insetVertical =
drawableHeight
< 0 ||
drawableHeight
> sourceHeight ?
50
0 : (sourceHeight -
drawableHeight
) / 2;
/frameworks/support/compat/tests/java/android/support/v4/testutils/
TestUtils.java
40
int
drawableHeight
= drawable.getIntrinsicHeight();
42
if ((drawableWidth <= 0) || (
drawableHeight
<= 0)) {
46
assertAllPixelsOfColor(failMessagePrefix, drawable, drawableWidth,
drawableHeight
, color,
59
int drawableWidth, int
drawableHeight
, @ColorInt int color,
62
Bitmap bitmap = Bitmap.createBitmap(drawableWidth,
drawableHeight
, Bitmap.Config.ARGB_8888);
66
drawable.setBounds(0, 0, drawableWidth,
drawableHeight
);
72
for (int row = 0; row <
drawableHeight
; row++) {
/frameworks/support/core-ui/tests/java/android/support/v4/testutils/
TestUtils.java
39
int
drawableHeight
= drawable.getIntrinsicHeight();
41
if ((drawableWidth <= 0) || (
drawableHeight
<= 0)) {
45
assertAllPixelsOfColor(failMessagePrefix, drawable, drawableWidth,
drawableHeight
, color,
58
int drawableWidth, int
drawableHeight
, @ColorInt int color,
61
Bitmap bitmap = Bitmap.createBitmap(drawableWidth,
drawableHeight
, Bitmap.Config.ARGB_8888);
65
drawable.setBounds(0, 0, drawableWidth,
drawableHeight
);
71
for (int row = 0; row <
drawableHeight
; row++) {
/frameworks/base/core/java/android/transition/
ChangeImageTransform.java
106
int
drawableHeight
= drawable.getIntrinsicHeight();
107
if (drawableWidth > 0 &&
drawableHeight
> 0) {
109
float scaleY = ((float) bounds.height()) /
drawableHeight
;
172
int
drawableHeight
= drawable.getIntrinsicHeight();
175
if (drawableWidth == 0 ||
drawableHeight
== 0) {
/frameworks/support/transition/src/android/support/transition/
ChangeImageTransform.java
152
int
drawableHeight
= drawable.getIntrinsicHeight();
157
if (drawableWidth == 0 ||
drawableHeight
== 0) {
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/
GlifPatternDrawable.java
109
int
drawableHeight
= bounds.height();
122
} else if (
drawableHeight
> bitmapHeight
132
bitmap = createBitmapCache(drawableWidth,
drawableHeight
);
159
public Bitmap createBitmapCache(int drawableWidth, int
drawableHeight
) {
161
float scaleY =
drawableHeight
/ VIEWBOX_HEIGHT;
/cts/tests/tests/widget/src/android/widget/cts/
CompoundButtonTest.java
278
int
drawableHeight
;
295
drawableHeight
= drawable.getIntrinsicHeight();
302
assertEquals(
drawableHeight
, bounds.bottom);
310
assertEquals(viewHeight -
drawableHeight
, bounds.top);
319
assertEquals( (viewHeight -
drawableHeight
) / 2, bounds.top);
320
assertEquals( (viewHeight -
drawableHeight
) / 2 +
drawableHeight
, bounds.bottom);
/packages/apps/Launcher3/src/com/android/launcher3/
ButtonDropTarget.java
261
int
drawableHeight
= mDrawable.getIntrinsicHeight();
269
final int height =
drawableHeight
;
/frameworks/base/core/java/android/widget/
CompoundButton.java
424
final int
drawableHeight
= buttonDrawable.getIntrinsicHeight();
430
top = getHeight() -
drawableHeight
;
433
top = (getHeight() -
drawableHeight
) / 2;
438
final int bottom = top +
drawableHeight
;
ProgressBar.java
789
int
drawableHeight
= d.getMinimumHeight();
790
if (mMaxHeight <
drawableHeight
) {
791
mMaxHeight =
drawableHeight
;
[
all
...]
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
DetailsOverviewRowPresenter.java
472
final int
drawableHeight
= getNonNegativeHeight(row.getImageDrawable());
481
if (drawableWidth >
drawableHeight
) {
489
|| (!landscape &&
drawableHeight
> cardHeight)) {
500
} else if (!landscape &&
drawableHeight
> cardHeight - 2 * verticalMargin) {
/packages/apps/PackageInstaller/src/android/support/wearable/view/
CircledImageView.java
361
final int
drawableHeight
= Math.round(scaleFactor * nativeDrawableHeight);
366
final int drawableTop = (viewHeight -
drawableHeight
) / 2;
369
drawableTop +
drawableHeight
);
/frameworks/support/wear/src/android/support/wear/widget/
CircledImageView.java
395
final int
drawableHeight
= Math.round(scaleFactor * nativeDrawableHeight);
401
final int drawableTop = (viewHeight -
drawableHeight
) / 2;
405
drawableTop +
drawableHeight
);
/prebuilts/sdk/current/support/wear/libs/
android-support-wear.jar
/prebuilts/sdk/current/support/transition/libs/
android-support-transition.jar
/prebuilts/sdk/current/support/v17/leanback/libs/
android-support-v17-leanback.jar
/external/robolectric/v3/runtime/
android-all-4.1.2_r1-robolectric-0.jar
android-all-4.2.2_r1.2-robolectric-0.jar
android-all-4.3_r2-robolectric-0.jar
/prebuilts/misc/common/robolectric/lib/
android-all-4.1.2_r1-robolectric-0.jar
android-all-4.2.2_r1.2-robolectric-0.jar
android-all-4.3_r2-robolectric-0.jar
Completed in 730 milliseconds