Searched refs:bottom (Results 101 - 125 of 625) sorted by relevance

1234567891011>>

/frameworks/native/libs/ui/tests/
H A DRegion_test.cpp36 if (other->bottom < current->top) break;
37 if (other->bottom != current->top) continue;
41 if (other->top > current->bottom) break;
42 if (other->top != current->bottom) continue;
/frameworks/base/core/jni/android/graphics/pdf/
H A DPdfEditor.cpp51 jfieldID bottom; member in struct:android::__anon854
207 // PDF's coordinate system origin is left-bottom while in graphics it
274 float bottom; local
277 ? FPDFPage_GetMediaBox(page, &left, &top, &right, &bottom)
278 : FPDFPage_GetCropBox(page, &left, &top, &right, &bottom);
289 env->SetIntField(outBox, gRectClassInfo.bottom, (int) bottom);
322 const int bottom = env->GetIntField(box, gRectClassInfo.bottom); local
325 FPDFPage_SetMediaBox(page, left, top, right, bottom);
[all...]
/frameworks/rs/
H A DrsMatrix4x4.cpp276 void Matrix4x4::loadOrtho(float left, float right, float bottom, float top, float near, float far) { argument
279 m[5] = 2.f / (top - bottom);
282 m[13]= -(top + bottom) / (top - bottom);
286 void Matrix4x4::loadFrustum(float left, float right, float bottom, float top, float near, float far) { argument
289 m[5] = 2.f * near / (top - bottom);
291 m[9] = (top + bottom) / (top - bottom);
300 float bottom = -top; local
301 float left = bottom * aspec
[all...]
H A DrsScriptC_LibGL.cpp230 int32_t *left, int32_t *right, int32_t *top, int32_t *bottom) {
240 if (bottom) {
241 *bottom = metrics->bottom;
246 int32_t *left, int32_t *right, int32_t *top, int32_t *bottom) {
252 SetMetrics(&metrics, left, right, top, bottom);
257 int32_t *left, int32_t *right, int32_t *top, int32_t *bottom) {
261 SetMetrics(&metrics, left, right, top, bottom);
229 SetMetrics(Font::Rect *metrics, int32_t *left, int32_t *right, int32_t *top, int32_t *bottom) argument
245 rsrMeasureTextAlloc(Context *rsc, Allocation *a, int32_t *left, int32_t *right, int32_t *top, int32_t *bottom) argument
256 rsrMeasureText(Context *rsc, const char *text, int32_t *left, int32_t *right, int32_t *top, int32_t *bottom) argument
/frameworks/base/libs/hwui/
H A DUvMapper.h87 * - bottom = max. V
94 texCoords.bottom = lerp(mMinV, mMaxV, texCoords.bottom);
H A DLayer.cpp163 void Layer::updateDeferred(RenderNode* renderNode, int left, int top, int right, int bottom) { argument
166 const Rect r(left, top, right, bottom);
228 dirtyRect.right >= width && dirtyRect.bottom >= height)) {
238 dirtyRect.right, dirtyRect.bottom, !isBlend());
259 dirtyRect.left, dirtyRect.top, dirtyRect.right, dirtyRect.bottom, !isBlend());
277 dirtyRect.left, dirtyRect.top, dirtyRect.right, dirtyRect.bottom, !isBlend());
H A DRecordingCanvas.cpp118 int RecordingCanvas::saveLayer(float left, float top, float right, float bottom, argument
130 Rect unmappedBounds(left, top, right, bottom);
178 snapshot.resetClip(clip.left, clip.top, clip.right, clip.bottom);
230 bool RecordingCanvas::quickRejectRect(float left, float top, float right, float bottom) const {
231 return mState.quickRejectConservative(left, top, right, bottom);
237 bool RecordingCanvas::clipRect(float left, float top, float right, float bottom, SkRegion::Op op) { argument
238 return mState.clipRect(left, top, right, bottom, op);
295 void RecordingCanvas::drawRect(float left, float top, float right, float bottom, const SkPaint& paint) { argument
299 Rect(left, top, right, bottom),
314 float bottom local
366 drawRoundRect(float left, float top, float right, float bottom, float rx, float ry, const SkPaint& paint) argument
381 drawRoundRect( CanvasPropertyPrimitive* left, CanvasPropertyPrimitive* top, CanvasPropertyPrimitive* right, CanvasPropertyPrimitive* bottom, CanvasPropertyPrimitive* rx, CanvasPropertyPrimitive* ry, CanvasPropertyPaint* paint) argument
424 drawOval(float left, float top, float right, float bottom, const SkPaint& paint) argument
434 drawArc(float left, float top, float right, float bottom, float startAngle, float sweepAngle, bool useCenter, const SkPaint& paint) argument
[all...]
H A DDisplayListCanvas.h85 CanvasPropertyPrimitive* right, CanvasPropertyPrimitive* bottom,
133 virtual int saveLayer(float left, float top, float right, float bottom, const SkPaint* paint,
135 virtual int saveLayerAlpha(float left, float top, float right, float bottom,
139 return saveLayer(left, top, right, bottom, &paint, flags);
154 virtual bool quickRejectRect(float left, float top, float right, float bottom) const override;
157 virtual bool clipRect(float left, float top, float right, float bottom, SkRegion::Op op) override;
183 virtual void drawRect(float left, float top, float right, float bottom, const SkPaint& paint) override;
185 virtual void drawRoundRect(float left, float top, float right, float bottom,
188 virtual void drawOval(float left, float top, float right, float bottom, const SkPaint& paint) override;
189 virtual void drawArc(float left, float top, float right, float bottom,
[all...]
H A DLayerRenderer.cpp47 float left, float top, float right, float bottom, bool opaque) {
55 Rect dirty(left, top, right, bottom);
57 dirty.right >= width && dirty.bottom >= height)) {
62 android::Rect r(dirty.left, dirty.top, dirty.right, dirty.bottom);
68 dirty.left, dirty.top, dirty.right, dirty.bottom, opaque);
71 void LayerRenderer::clear(float left, float top, float right, float bottom, bool opaque) { argument
79 OpenGLRenderer::clear(left, top, right, bottom, opaque);
174 const float v2 = (height - r->bottom) * texY;
178 TextureVertex::set(mesh++, r->left, r->bottom, u1, v2);
179 TextureVertex::set(mesh++, r->right, r->bottom, u
46 prepareDirty(int viewportWidth, int viewportHeight, float left, float top, float right, float bottom, bool opaque) argument
[all...]
H A DRecordingCanvas.h77 CanvasPropertyPrimitive* right, CanvasPropertyPrimitive* bottom,
110 virtual int saveLayer(float left, float top, float right, float bottom, const SkPaint* paint,
112 virtual int saveLayerAlpha(float left, float top, float right, float bottom,
116 return saveLayer(left, top, right, bottom, &paint, flags);
131 virtual bool quickRejectRect(float left, float top, float right, float bottom) const override;
134 virtual bool clipRect(float left, float top, float right, float bottom, SkRegion::Op op) override;
162 virtual void drawRect(float left, float top, float right, float bottom, const SkPaint& paint) override;
164 virtual void drawRoundRect(float left, float top, float right, float bottom,
167 virtual void drawOval(float left, float top, float right, float bottom, const SkPaint& paint) override;
168 virtual void drawArc(float left, float top, float right, float bottom,
[all...]
/frameworks/base/media/java/android/media/tv/
H A DITvInputSessionCallback.aidl39 void onLayoutSurface(int left, int top, int right, int bottom);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DStackScrollerDecorView.java48 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
49 super.onLayout(changed, left, top, right, bottom);
H A DExpandableView.java100 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
101 super.onLayout(changed, left, top, right, bottom);
108 float bottom = mActualHeight;
110 localY < (bottom + slop);
214 * notification is scrolling in the top or bottom stack.
301 outRect.bottom = (int) (outRect.top + getTranslationY() + getActualHeight());
312 outRect.bottom = outRect.top + getActualHeight();
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/jni/
H A Dstats_scorer.cpp45 jfloat left, jfloat top, jfloat right, jfloat bottom, jfloatArray statsArray)
51 int yEnd = static_cast<int>(height * bottom);
43 Java_androidx_media_filterpacks_numeric_StatsFilter_regionscore( JNIEnv* env, jobject thiz, jobject imageBuffer, jint width, jint height, jfloat left, jfloat top, jfloat right, jfloat bottom, jfloatArray statsArray) argument
/frameworks/support/compat/jellybean/android/support/v4/view/
H A DViewCompatJB.java42 int right, int bottom) {
43 view.postInvalidate(left, top, right, bottom);
41 postInvalidateOnAnimation(View view, int left, int top, int right, int bottom) argument
/frameworks/support/percent/src/android/support/percent/
H A DPercentRelativeLayout.java112 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
113 super.onLayout(changed, left, top, right, bottom);
/frameworks/base/core/jni/
H A Dandroid_view_GraphicBuffer.cpp67 jfieldID bottom; member in struct:android::__anon935
166 rect.bottom = GET_INT(dirtyRect, gRectClassInfo.bottom);
196 nativeCanvas->clipRect(rect.left, rect.top, rect.right, rect.bottom);
200 int(rect.left), int(rect.top), int(rect.right), int(rect.bottom));
295 gRectClassInfo.bottom = GetFieldIDOrDie(env, clazz, "bottom", "I");
H A Dandroid_view_TextureView.cpp47 jfieldID bottom; member in struct:android::__anon960
146 rect.bottom = GET_INT(dirtyRect, gRectClassInfo.bottom);
168 nativeCanvas->clipRect(rect.left, rect.top, rect.right, rect.bottom);
172 int(rect.left), int(rect.top), int(rect.right), int(rect.bottom));
214 gRectClassInfo.bottom = GetFieldIDOrDie(env, clazz, "bottom", "I");
/frameworks/base/core/tests/coretests/src/android/widget/scroll/
H A DRequestRectangleVisibleTest.java90 assertTrue("bottom blob needs to be taller than the screen for many of the "
108 // should be on screen, positioned at the bottom (with room for
138 // go to bottom button
167 // blob should have moved so bottom of it is at bottom of screen
190 fail("couldn't move down to bottom button within "
197 * Assert that view overlaps the bottom edge of the screen
208 int bottom = xy[1] + view.getHeight();
211 assertTrue(bottom > bottomOfRoot);
214 assertTrue(bottom > bottomOfRoo
[all...]
/frameworks/base/services/core/java/com/android/server/wm/
H A DBlackFrame.java136 outer.left, inner.top, inner.left, outer.bottom, layerStack);
138 if (outer.bottom > inner.bottom) {
140 inner.left, inner.bottom, outer.right, outer.bottom, layerStack);
144 inner.right, outer.top, outer.right, inner.bottom, layerStack);
/frameworks/base/tools/layoutlib/bridge/src/android/view/
H A DRenderNode_Delegate.java213 /*package*/ static boolean nSetBottom(long renderNode, int bottom) { argument
215 if (delegate != null && delegate.mBottom != bottom) {
216 delegate.mBottom = bottom;
224 int bottom) {
227 .mRight != right || delegate.mBottom != bottom)) {
231 delegate.mBottom = bottom;
223 nSetLeftTopRightBottom(long renderNode, int left, int top, int right, int bottom) argument
/frameworks/support/compat/java/android/support/v4/view/
H A DWindowInsetsCompat.java41 int left, int top, int right, int bottom);
102 public WindowInsetsCompat replaceSystemWindowInsets(Object insets, int left, int top, int right, int bottom) { argument
194 int right, int bottom) {
196 left, top, right, bottom));
319 * Returns the bottom system window inset in pixels.
325 * @return The bottom system window inset
373 * <p>A round window's left, top, right and bottom edges reach all the way to the
400 * @param bottom New bottom inset in pixels
403 public WindowInsetsCompat replaceSystemWindowInsets(int left, int top, int right, int bottom) { argument
40 replaceSystemWindowInsets(Object insets, int left, int top, int right, int bottom) argument
193 replaceSystemWindowInsets(Object insets, int left, int top, int right, int bottom) argument
[all...]
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DRegion_Delegate.java182 int left, int top, int right, int bottom) {
189 regionDelegate.mArea.contains(left, top, right - left, bottom - top);
194 int left, int top, int right, int bottom) {
201 regionDelegate.mArea.intersects(left, top, right - left, bottom - top) == false;
296 int left, int top, int right, int bottom) {
302 dstRegion.mArea = new Area(new Rectangle2D.Float(left, top, right - left, bottom - top));
337 rect.left = rect.top = rect.right = rect.bottom = 0;
344 rect.bottom = bounds.y + bounds.height;
371 int left, int top, int right, int bottom, int op) {
378 new Rectangle2D.Float(left, top, right - left, bottom
181 quickContains(Region thisRegion, int left, int top, int right, int bottom) argument
193 quickReject(Region thisRegion, int left, int top, int right, int bottom) argument
295 nativeSetRect(long native_dst, int left, int top, int right, int bottom) argument
370 nativeOp(long native_dst, int left, int top, int right, int bottom, int op) argument
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/
H A DBatteryMeterDrawable.java260 public void setBounds(int left, int top, int right, int bottom) { argument
261 super.setBounds(left, top, right, bottom);
262 mHeight = bottom - top;
356 mFrame.bottom -= mSubpixelSmoothingRight;
376 mShapePath.lineTo(mFrame.right, mFrame.bottom);
377 mShapePath.lineTo(mFrame.left, mFrame.bottom);
387 final float bb = mFrame.bottom - mFrame.height() / 10f;
389 || mBoltFrame.right != br || mBoltFrame.bottom != bb) {
405 float boltPct = (mBoltFrame.bottom - levelTop) / (mBoltFrame.bottom
[all...]
/frameworks/support/design/src/android/support/design/widget/
H A DCollapsingTextHelper.java158 void setExpandedBounds(int left, int top, int right, int bottom) {
159 if (!rectEquals(mExpandedBounds, left, top, right, bottom)) {
160 mExpandedBounds.set(left, top, right, bottom);
166 void setCollapsedBounds(int left, int top, int right, int bottom) {
167 if (!rectEquals(mCollapsedBounds, left, top, right, bottom)) {
168 mCollapsedBounds.set(left, top, right, bottom);
405 mCollapsedDrawY = mCollapsedBounds.bottom;
437 mExpandedDrawY = mExpandedBounds.bottom;
475 mCurrentBounds.bottom = lerp(mExpandedBounds.bottom, mCollapsedBound
716 rectEquals(Rect r, int left, int top, int right, int bottom) argument
[all...]

Completed in 6850 milliseconds

1234567891011>>