OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:TEST_WIDTH
(Results
1 - 11
of
11
) sorted by null
/cts/tests/tests/widget/src/android/widget/cts/
AbsListView_LayoutParamsTest.java
54
int
TEST_WIDTH
= 25;
60
assertEquals(
TEST_WIDTH
, layoutParams.width);
73
AbsListView.LayoutParams tmpParams = new AbsListView.LayoutParams(
TEST_WIDTH
, TEST_HEIGHT2);
75
assertEquals(
TEST_WIDTH
, layoutParams.width);
/cts/tests/tests/graphics/src/android/graphics/cts/
PictureTest.java
41
private static final int
TEST_WIDTH
= 4; // must be >= 2
54
Canvas canvas = original.beginRecording(
TEST_WIDTH
, TEST_HEIGHT);
65
Bitmap bitmap = Bitmap.createBitmap(
TEST_WIDTH
, TEST_HEIGHT, Bitmap.Config.ARGB_8888);
82
Bitmap bitmap = Bitmap.createBitmap(
TEST_WIDTH
, TEST_HEIGHT, Bitmap.Config.ARGB_8888);
108
Canvas canvas = picture.beginRecording(
TEST_WIDTH
, TEST_HEIGHT);
113
Bitmap bitmap = Bitmap.createBitmap(
TEST_WIDTH
, TEST_HEIGHT, Bitmap.Config.ARGB_8888);
120
bitmap = Bitmap.createBitmap(
TEST_WIDTH
, TEST_HEIGHT, Bitmap.Config.ARGB_8888);
135
assertEquals(
TEST_WIDTH
, picture.getWidth());
144
canvas.drawRect(0, 0,
TEST_WIDTH
, TEST_HEIGHT, paint);
147
canvas.drawLine(0, 0,
TEST_WIDTH
, 0, paint)
[
all
...]
/cts/tests/tests/graphics/src/android/graphics/drawable/shapes/cts/
ArcShapeTest.java
40
private static final int
TEST_WIDTH
= 100;
73
Bitmap bitmap = Bitmap.createBitmap(
TEST_WIDTH
, TEST_HEIGHT, Config.ARGB_8888);
78
arcShape.resize(
TEST_WIDTH
, TEST_HEIGHT);
82
assertEquals(TEST_COLOR_1, bitmap.getPixel(
TEST_WIDTH
/ 2, TEST_HEIGHT / 2));
84
final int SQUARE = Math.min(
TEST_WIDTH
, TEST_HEIGHT);
OvalShapeTest.java
42
private static final int
TEST_WIDTH
= 100;
58
Bitmap bitmap = Bitmap.createBitmap(
TEST_WIDTH
, TEST_HEIGHT, Config.ARGB_8888);
63
ovalShape.resize(
TEST_WIDTH
, TEST_HEIGHT);
67
assertEquals(TEST_COLOR_1, bitmap.getPixel(
TEST_WIDTH
/ 2, TEST_HEIGHT / 2));
69
final int SQUARE = Math.min(
TEST_WIDTH
, TEST_HEIGHT);
RectShapeTest.java
43
private static final int
TEST_WIDTH
= 100;
65
Bitmap bitmap = Bitmap.createBitmap(
TEST_WIDTH
, TEST_HEIGHT, Config.ARGB_8888);
70
rectShape.resize(
TEST_WIDTH
, TEST_HEIGHT);
73
verifyDrawSuccessfully(bitmap,
TEST_WIDTH
, TEST_HEIGHT, TEST_COLOR_1);
77
verifyDrawSuccessfully(bitmap,
TEST_WIDTH
, TEST_HEIGHT, TEST_COLOR_2);
103
rectShape.resize(
TEST_WIDTH
, TEST_HEIGHT);
107
assertEquals((float)
TEST_WIDTH
, rect.right, 0.0f);
RoundRectShapeTest.java
43
private static final int
TEST_WIDTH
= 100;
79
Bitmap bitmap = Bitmap.createBitmap(
TEST_WIDTH
, TEST_HEIGHT, Config.ARGB_8888);
84
roundRectShape.resize(
TEST_WIDTH
, TEST_HEIGHT);
88
assertEquals(TEST_COLOR_1, bitmap.getPixel(
TEST_WIDTH
/ 2, 0));
93
assertEquals(TEST_COLOR_2, bitmap.getPixel(
TEST_WIDTH
/ 2, 0));
ShapeTest.java
41
private static final int
TEST_WIDTH
= 100;
111
Bitmap bitmap = Bitmap.createBitmap(
TEST_WIDTH
, TEST_HEIGHT, Config.ARGB_8888);
116
shape.resize(
TEST_WIDTH
, TEST_HEIGHT);
/external/libcups/filter/
rasterbench.c
34
#define
TEST_WIDTH
1024
92
TEST_PAGES,
TEST_WIDTH
, TEST_HEIGHT);
179
unsigned char buffer[8 *
TEST_WIDTH
];
262
unsigned char data[32][8 *
TEST_WIDTH
];
307
header.cupsWidth =
TEST_WIDTH
;
309
header.cupsBytesPerLine =
TEST_WIDTH
;
/cts/tests/tests/uirendering/src/android/uirendering/cts/testinfrastructure/
ActivityTestBase.java
55
public static final int
TEST_WIDTH
= 90;
131
TEST_WIDTH
, TEST_HEIGHT,
134
Rect srcRect = new Rect(0, 0,
TEST_WIDTH
, TEST_HEIGHT);
/cts/tests/tests/uirendering27/src/android/uirendering/cts/testinfrastructure/
ActivityTestBase.java
55
public static final int
TEST_WIDTH
= 90;
131
TEST_WIDTH
, TEST_HEIGHT,
134
Rect srcRect = new Rect(0, 0,
TEST_WIDTH
, TEST_HEIGHT);
/cts/tests/camera/libctscamera2jni/
native-camera-jni.cpp
[
all
...]
Completed in 213 milliseconds