OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs: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
45
int
drawableHeight
= drawable.getIntrinsicHeight();
47
if ((drawableWidth <= 0) || (
drawableHeight
<= 0)) {
51
assertAllPixelsOfColor(failMessagePrefix, drawable, drawableWidth,
drawableHeight
, color,
64
int drawableWidth, int
drawableHeight
, @ColorInt int color,
67
Bitmap bitmap = Bitmap.createBitmap(drawableWidth,
drawableHeight
, Bitmap.Config.ARGB_8888);
71
drawable.setBounds(0, 0, drawableWidth,
drawableHeight
);
77
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/support/design/tests/src/android/support/design/testutils/
TestUtils.java
41
int drawableWidth, int
drawableHeight
, boolean callSetBounds, @ColorInt int color,
43
assertAllPixelsOfColor(failMessagePrefix, drawable, drawableWidth,
drawableHeight
,
48
int drawableWidth, int
drawableHeight
, boolean callSetBounds, @ColorInt int color,
52
Bitmap bitmap = Bitmap.createBitmap(drawableWidth,
drawableHeight
, Bitmap.Config.ARGB_8888);
57
drawable.setBounds(0, 0, drawableWidth,
drawableHeight
);
67
final int lastRow = checkArea != null ? checkArea.bottom :
drawableHeight
- 1;
/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) {
/cts/tests/tests/widget/src/android/widget/cts/util/
TestUtils.java
137
int drawableWidth, int
drawableHeight
, boolean callSetBounds, @ColorInt int color,
140
Bitmap bitmap = Bitmap.createBitmap(drawableWidth,
drawableHeight
,
146
drawable.setBounds(0, 0, drawableWidth,
drawableHeight
);
152
assertAllPixelsOfColor(failMessagePrefix, bitmap, drawableWidth,
drawableHeight
, color,
/frameworks/support/v7/appcompat/tests/src/android/support/v7/testutils/
TestUtils.java
114
int drawableWidth, int
drawableHeight
, boolean callSetBounds, @ColorInt int color,
117
Bitmap bitmap = Bitmap.createBitmap(drawableWidth,
drawableHeight
,
123
drawable.setBounds(0, 0, drawableWidth,
drawableHeight
);
129
assertAllPixelsOfColor(failMessagePrefix, bitmap, drawableWidth,
drawableHeight
, color,
/cts/tests/tests/widget/src/android/widget/cts/
CompoundButtonTest.java
258
int
drawableHeight
;
275
drawableHeight
= drawable.getIntrinsicHeight();
282
assertEquals(
drawableHeight
, bounds.bottom);
290
assertEquals(viewHeight -
drawableHeight
, bounds.top);
299
assertEquals( (viewHeight -
drawableHeight
) / 2, bounds.top);
300
assertEquals( (viewHeight -
drawableHeight
) / 2 +
drawableHeight
, bounds.bottom);
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/
GlifPatternDrawable.java
108
int
drawableHeight
= bounds.height();
121
} else if (
drawableHeight
> bitmapHeight
131
bitmap = createBitmapCache(drawableWidth,
drawableHeight
);
158
public Bitmap createBitmapCache(int drawableWidth, int
drawableHeight
) {
160
float scaleY =
drawableHeight
/ VIEWBOX_HEIGHT;
/packages/apps/Launcher2/src/com/android/launcher2/
ButtonDropTarget.java
124
Rect getIconRect(int viewWidth, int viewHeight, int drawableWidth, int
drawableHeight
) {
132
final int height =
drawableHeight
;
/frameworks/base/core/java/android/widget/
CompoundButton.java
406
final int
drawableHeight
= buttonDrawable.getIntrinsicHeight();
412
top = getHeight() -
drawableHeight
;
415
top = (getHeight() -
drawableHeight
) / 2;
420
final int bottom = top +
drawableHeight
;
ProgressBar.java
826
int
drawableHeight
= d.getMinimumHeight();
827
if (mMaxHeight <
drawableHeight
) {
828
mMaxHeight =
drawableHeight
;
[
all
...]
/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/v17/leanback/src/android/support/v17/leanback/widget/
DetailsOverviewRowPresenter.java
474
final int
drawableHeight
= getNonNegativeHeight(row.getImageDrawable());
483
if (drawableWidth >
drawableHeight
) {
491
(!landscape &&
drawableHeight
> cardHeight)) {
502
} else if (!landscape &&
drawableHeight
> cardHeight - 2 * verticalMargin) {
/packages/apps/Launcher3/src/com/android/launcher3/
ButtonDropTarget.java
266
protected Rect getIconRect(int viewWidth, int viewHeight, int drawableWidth, int
drawableHeight
) {
274
final int height =
drawableHeight
;
/external/libdrm/tests/ttmtest/src/
xf86dristr.h
301
INT16
drawableHeight
B16;
xf86dri.c
491
*H = (int)rep.
drawableHeight
;
/external/mesa3d/src/glx/
xf86dristr.h
282
INT16
drawableHeight
B16;
XF86dri.c
495
*H = (int) rep.
drawableHeight
;
/hardware/intel/common/libva/va/x11/
va_dristr.h
265
INT16
drawableHeight
B16;
va_dri.c
486
*H = (int)rep.
drawableHeight
;
/prebuilts/sdk/current/support/v17/leanback/libs/
android-support-v17-leanback.jar
Completed in 1042 milliseconds