Searched defs:bottom (Results 1 - 24 of 24) sorted by relevance

/cts/tests/tests/view/src/android/view/cts/
H A DViewOutlineProviderTest.java48 private void setViewLeftTopRightBottom(View view, int left, int top, int right, int bottom) { argument
52 view.setBottom(bottom);
H A DFocusFinderTest.java97 // Check that left/right traversal works when top/bottom borders are equal.
133 * Create a small rectangle on the border between the top left and bottom left buttons.
449 private void setViewBox(View view, int left, int top, int right, int bottom) { argument
453 view.setBottom(bottom);
H A DPixelCopyTest.java279 private Rect makeWindowRect(int left, int top, int right, int bottom) { argument
280 Rect r = new Rect(left, top, right, bottom);
389 private Rect makeWideGamutWindowRect(int left, int top, int right, int bottom) { argument
390 Rect r = new Rect(left, top, right, bottom);
472 private Rect makeDialogRect(int left, int top, int right, int bottom) { argument
473 Rect r = new Rect(left, top, right, bottom);
H A DMockView.java346 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
347 super.onLayout(changed, left, top, right, bottom);
H A DViewGroupTest.java1170 assertEquals(2, rect.bottom);
1193 assertEquals(6, rect.bottom);
1278 final int bottom = 200;
1279 mMockViewGroup.layout(left, top, right, bottom);
1283 assertEquals(bottom, mMockViewGroup.bottom);
1922 assertEquals(100, rect.bottom);
1945 float bottom, EdgeType type) {
1946 super.quickReject(left, top, right, bottom, type);
1963 public boolean clipRect(int left, int top, int right, int bottom) { argument
1944 quickReject(float left, float top, float right, float bottom, EdgeType type) argument
2722 public int bottom; field in class:ViewGroupTest.MockViewGroup
3065 setFrame(int left, int top, int right, int bottom) argument
[all...]
/cts/tests/tests/text/src/android/text/style/cts/
H A DReplacementSpanTest.java47 float x, int top, int y, int bottom, Paint paint) {
46 draw(Canvas canvas, CharSequence text, int start, int end, float x, int top, int y, int bottom, Paint paint) argument
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/sixdof/Renderer/
H A DRobustnessRenderer.java86 protected float[] getCameraCoordinates(float left, float right, float bottom, float top) { argument
90 2 * left, 2 * bottom, 0.0f,
92 2 * left, 2 * bottom, 0.0f,
93 2 * right, 2 * bottom, 0.0f,
95 2 * right, 2 * bottom, 0.0f,
104 2 * left, 2 * bottom, 0.0f,
106 2 * left, 2 * bottom, 0.0f,
107 2 * right, 2 * bottom, 0.0f,
H A DBaseRenderer.java132 float bottom = -1.0f;
148 bottom = -ratio;
158 mCameraCoordinates = getCameraCoordinates(left, right, bottom, top);
163 Matrix.orthoM(mOrthogonalProjectionMatrix, 0, left, right, bottom, top, near, far);
164 Matrix.frustumM(mFrustrumProjectionMatrix, 0, left, right, bottom, top, near, far);
203 protected float[] getCameraCoordinates(float left, float right, float bottom, float top) { argument
211 left, bottom, 0.0f,
213 left, bottom, 0.0f,
214 right, bottom, 0.0f,
221 bottom, righ
[all...]
/cts/tests/inputmethod/mockime/src/com/android/cts/mockime/
H A DImeLayoutInfo.java98 mDisplaySize.y - mSystemWindowInset.bottom);
126 mDisplaySize.y - mStableInset.bottom);
162 int bottom, int oldLeft, int oldTop, int oldRight, int oldBottom) {
163 final Rect newLayout = new Rect(left, top, right, bottom);
161 fromLayoutListenerCallback(View v, int left, int top, int right, int bottom, int oldLeft, int oldTop, int oldRight, int oldBottom) argument
/cts/tests/openglperf2/jni/primitive/fullpipeline/
H A DFullPipelineRenderer.cpp137 float bottom = -1.0f; local
142 mProjectionMatrix = Matrix::newFrustum(left, right, bottom, top, near, far);
/cts/tests/openglperf2/jni/reference/scene/glowing/
H A DGlowingScene.cpp106 float bottom = -1.0f; local
111 return Matrix::newFrustum(left, right, bottom, top, near, far);
/cts/tests/openglperf2/test/
H A DMatrixTest.cpp171 float bottom = -1.0f; local
176 Matrix* m = Matrix::newFrustum(left, right, bottom, top, near, far);
/cts/tests/tests/graphics/src/android/graphics/cts/
H A DNinePatchTest.java245 private void verifyBounds(Rect regionBounds, int left, int top, int right, int bottom) { argument
249 assertEquals(bottom, regionBounds.bottom);
/cts/tests/tests/text/src/android/text/method/cts/
H A DEditorState.java71 int y, int bottom, Paint paint) {
70 draw(Canvas canvas, CharSequence text, int start, int end, float x, int top, int y, int bottom, Paint paint) argument
/cts/apps/CtsVerifier/src/com/android/cts/verifier/
H A DBoxInsetLayout.java37 * {@code left|top|right|bottom} or {@code all}.
155 + getPaddingBottom() + mForegroundPadding.bottom;
184 int pbwf = getPaddingBottom() + mForegroundPadding.bottom;
237 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
238 layoutBoxChildren(left, top, right, bottom, false /* no force left gravity */);
241 private void layoutBoxChildren(int left, int top, int right, int bottom, argument
244 int boxInset = (int)(FACTOR * Math.max(right - left, bottom - top));
250 final int parentBottom = bottom - top - getPaddingBottom() - mForegroundPadding.bottom;
317 // on both top and bottom, wit
[all...]
/cts/tests/openglperf2/jni/reference/scene/flocking/
H A DFlockingScene.cpp104 float bottom = -1.0f; local
109 return Matrix::newFrustum(left, right, bottom, top, near, far);
186 drawSceneGraph(0); // Draw fish and pond bottom
/cts/tests/openglperf2/jni/graphics/
H A DMatrix.cpp191 Matrix* Matrix::newFrustum(float left, float right, float bottom, float top, argument
194 const float r_height = 1.0f / (top - bottom);
199 const float B = (top + bottom) * r_height;
/cts/tests/tests/text/src/android/text/cts/
H A DBoringLayoutTest.java275 changedMetrics.bottom = paintMetrics.bottom + someInt;
286 assertEquals(expectedMetrics.bottom, actualMetrics.bottom);
545 final int bottom,
554 metrics.bottom = bottom;
541 createMetrics( final int top, final int ascent, final int descent, final int bottom, final int width, final int leading) argument
/cts/libs/deviceutillegacy/src/android/webkit/cts/
H A DWebViewOnUiThread.java673 public boolean pageDown(final boolean bottom) { argument
677 return mWebView.pageDown(bottom);
/cts/tests/tests/media/libmediandkjni/
H A Dcodec-utils-jni.cpp48 int bottom; member in struct:NativeImage::crop
161 gFields.fieldBottom = env->GetFieldID(rectClazz, "bottom", "I");
191 img->crop.bottom = env->GetIntField(area, gFields.fieldBottom);
192 if (img->crop.right == 0 && img->crop.bottom == 0) {
194 img->crop.bottom = img->height;
231 ((img->crop.bottom + (1 << yDecim) - 1) >> yDecim) - (img->crop.top >> yDecim);
329 tgt->crop.left, tgt->crop.top, tgt->crop.right, tgt->crop.bottom,
335 src->crop.left, src->crop.top, src->crop.right, src->crop.bottom,
401 size_t bottomOdd = img->crop.bottom & 1;
/cts/tests/tests/nativehardware/jni/
H A DAHardwareBufferGLTest.cpp195 // Opaque red is top 2 bits and bottom 10 bits set.
350 // In OpenGL, Y axis grows up, so bottom = minimum Y coordinate.
351 int bottom = INT_MAX, left = INT_MAX, right = 0, top = 0; local
355 bottom = std::min(bottom, golden.y);
369 const int height = top - bottom + 1;
372 glReadPixels(left, bottom, width, height, GL_RGBA, GL_FLOAT, pixels.get());
375 float* pixel = pixels.get() + ((golden.y - bottom) * width + golden.x - left) * 4;
382 glReadPixels(left, bottom, width, height, GL_RGBA, GL_UNSIGNED_BYTE, pixels.get());
385 uint8_t* pixel = pixels.get() + ((golden.y - bottom) * widt
[all...]
/cts/tests/camera/src/android/hardware/cts/
H A DCameraTest.java2579 testInvalidAreas(type, makeAreas(-1000, -1000, 1000, 1001, 1)); // bottom should <= 1000
2583 testInvalidAreas(type, makeAreas(-1000, 500, 1000, 500, 1)); // top should < bottom
2585 testInvalidAreas(type, makeAreas(-1000, 500, 100, 499, 1)); // top should < bottom
2591 private static ArrayList<Area> makeAreas(int left, int top, int right, int bottom, int weight) { argument
2593 areas.add(new Area(new Rect(left, top, right, bottom), weight));
2597 private static ArrayList<Area> makeAreas(int left, int top, int right, int bottom, argument
2601 areas.add(new Area(new Rect(left, top, right, bottom), weight));
/cts/tests/framework/base/activitymanager/util/src/android/server/am/
H A DActivityManagerTestBase.java451 ComponentName activityName, int left, int top, int right, int bottom) {
455 + taskId + " " + left + " " + top + " " + right + " " + bottom;
450 resizeActivityTask( ComponentName activityName, int left, int top, int right, int bottom) argument
/cts/apps/CtsVerifier/libs/
H A Dopencv3-android.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/opencv/ org/opencv/BuildConfig.class BuildConfig. ...

Completed in 540 milliseconds