Searched refs:left (Results 201 - 225 of 415) sorted by relevance

1234567891011>>

/frameworks/base/libs/hwui/
H A DTextDropShadowCache.h122 float left; member in struct:android::uirenderer::ShadowTexture
H A DFontRenderer.cpp553 (x1 > mClip->right || y1 < mClip->top || x2 < mClip->left || y4 > mClip->bottom)) {
560 mBounds->left = fmin(mBounds->left, x1);
578 mBounds->left = fmin(mBounds->left, fmin(x1, fmin(x2, fmin(x3, x4))));
615 uint32_t paddedWidth = (uint32_t) (bounds.right - bounds.left) + 2 * radius;
637 int penX = radius - bounds.left;
640 if ((bounds.right > bounds.left) && (bounds.top > bounds.bottom)) {
/frameworks/base/opengl/java/android/opengl/
H A DGLES11Ext.java347 // C function void glFrustumxOES ( GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar )
350 int left,
578 // C function void glOrthoxOES ( GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar )
581 int left,
946 // C function void glFrustumfOES ( GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar )
949 float left,
957 // C function void glOrthofOES ( GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar )
960 float left,
349 glFrustumxOES( int left, int right, int bottom, int top, int zNear, int zFar ) argument
580 glOrthoxOES( int left, int right, int bottom, int top, int zNear, int zFar ) argument
948 glFrustumfOES( float left, float right, float bottom, float top, float zNear, float zFar ) argument
959 glOrthofOES( float left, float right, float bottom, float top, float zNear, float zFar ) argument
H A DMatrix.java63 * @param lhs The float array that holds the left-hand-side matrix.
86 * @param lhsMat The float array that holds the left-hand-side matrix.
262 * @param left
270 float left, float right, float bottom, float top,
272 if (left == right) {
273 throw new IllegalArgumentException("left == right");
282 final float r_width = 1.0f / (right - left);
288 final float tx = -(right + left) * r_width;
316 * @param left
324 float left, floa
269 orthoM(float[] m, int mOffset, float left, float right, float bottom, float top, float near, float far) argument
323 frustumM(float[] m, int offset, float left, float right, float bottom, float top, float near, float far) argument
[all...]
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
H A DStatsFilter.java114 private native void regionscore(ByteBuffer imageBuffer, int width, int height, float left, argument
H A DFrameManager.java166 public int compare(Backing left, Backing right) {
167 return left.cachePriority - right.cachePriority;
/frameworks/native/opengl/libagl/
H A Dmatrix.cpp811 GLfloat left, GLfloat right,
816 if (cmpf(left,right) ||
825 const GLfloat r_width = reciprocalf(right - left);
830 const GLfloat A = mul2f((right + left) * r_width);
853 GLfloat left, GLfloat right,
858 if (cmpf(left,right) ||
865 const GLfloat r_width = reciprocalf(right - left);
871 const GLfloat tx = -(right + left) * r_width;
995 GLfloat left, GLfloat right,
1000 frustumf(left, righ
810 frustumf( GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar, ogles_context_t* c) argument
852 orthof( GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar, ogles_context_t* c) argument
994 glFrustumf( GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar) argument
1003 glFrustumx( GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar) argument
1015 glOrthof( GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar) argument
1024 glOrthox( GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar) argument
[all...]
/frameworks/native/opengl/tests/hwc/
H A DhwcRects.cpp37 * [left, top, right, bottom]
45 * sourceCrop: [left, top, right, bottom]
73 * [left, top, right, bottom]
397 - rect.displayFrame.left,
400 rect.sourceCrop.left = 0;
490 if (((uint32_t) rect.sourceCrop.left >= rect.sourceDim.width())
497 if ((rect.displayFrame.left >= width)
558 testPrintE(" [left, top, right, bottom]");
567 testPrintE(" sourceCrop: [left, top, right, bottom]");
/frameworks/native/services/surfaceflinger/RenderEngine/
H A DRenderEngine.h69 void setScissor(uint32_t left, uint32_t bottom, uint32_t right, uint32_t top);
/frameworks/rs/scriptc/
H A Drs_graphics.rsh390 * Any of left, right, top, bottom could be NULL
393 rsgMeasureText(const char *, int *left, int *right, int *top, int *bottom);
398 rsgMeasureText(rs_allocation, int *left, int *right, int *top, int *bottom);
H A Drs_matrix.rsh235 * @param left
243 rsMatrixLoadOrtho(rs_matrix4x4 *m, float left, float right, float bottom, float top, float near, float far);
249 * @param left
257 rsMatrixLoadFrustum(rs_matrix4x4 *m, float left, float right, float bottom, float top, float near, float far);
/frameworks/base/packages/WallpaperCropper/src/com/android/wallpapercropper/
H A DWallpaperCropActivity.java356 // (or all the way to the left, in RTL)
357 float extraSpace = ltr ? rotatedInSize[0] - cropRect.right : cropRect.left;
365 cropRect.left -= extraSpace;
632 mCropBounds.left /= scaleDownSampleSize;
638 crop = Bitmap.createBitmap(fullSize, roundedTrueCrop.left,
779 cropRect.left = (inWidth - (outWidth / (float) outHeight) * inHeight) / 2;
780 cropRect.right = inWidth - cropRect.left;
782 cropRect.right -= cropRect.left;
783 cropRect.left = 0;
786 cropRect.left
[all...]
/frameworks/base/services/java/com/android/server/wm/
H A DDisplayMagnifier.java115 args.argi1 = rectangle.left;
202 touchableRegionBounds.left,
326 windowFrame.offset(-windowFrame.left, -windowFrame.top);
328 windowBounds.set((int) windowFrame.left, (int) windowFrame.top,
334 windowFrame.offset(-info.mWindowState.mFrame.left,
337 windowBounds.set((int) windowFrame.left, (int) windowFrame.top,
400 mTempFloats[Matrix.MTRANS_X] = windowState.mShownFrame.left;
718 final int left = args.argi1;
723 mCallbacks.onRectangleOnScreenRequested(left, top, right, bottom);
/frameworks/base/core/java/android/view/
H A DView.java300 * expressed as a pair of <em>left</em> and <em>top</em> coordinates, and
307 * {@link #getLeft()} and {@link #getTop()}. The former returns the left, or X,
312 * right of the left edge of its direct parent.
350 * is expressed in pixels for the left, top, right and bottom parts of the view.
352 * pixels. For instance, a left padding of 2 will push the view's content by
353 * 2 pixels to the right of the left edge. Padding can be set using the
1048 * Use with {@link #focusSearch(int)}. Move focus to the left.
1845 * right-to-left direction.
2204 * Flag indicating that start/end padding has been resolved into left/right padding
2213 * Flag indicating that the start/end drawables has been resolved into left/righ
9075 onLayoutChange(View v, int left, int top, int right, int bottom, int oldLeft, int oldTop, int oldRight, int oldBottom) argument
10103 setLeft(int left) argument
11253 postInvalidate(int left, int top, int right, int bottom) argument
11297 postInvalidateDelayed(long delayMilliseconds, int left, int top, int right, int bottom) argument
11348 postInvalidateOnAnimation(int left, int top, int right, int bottom) argument
14770 setOpticalFrame(int left, int top, int right, int bottom) argument
14848 onLayout(boolean changed, int left, int top, int right, int bottom) argument
14864 setFrame(int left, int top, int right, int bottom) argument
15460 setPadding(int left, int top, int right, int bottom) argument
15478 internalSetPadding(int left, int top, int right, int bottom) argument
18712 int left; field in class:View.AttachInfo.InvalidateInfo
[all...]
/frameworks/base/core/jni/android/graphics/
H A DCanvas.cpp246 static jboolean clipRect_FFFF(JNIEnv* env, jobject jcanvas, jfloat left, argument
250 r.set(SkFloatToScalar(left), SkFloatToScalar(top),
256 static jboolean clipRect_IIII(JNIEnv* env, jobject jcanvas, jint left, argument
260 r.set(SkIntToScalar(left), SkIntToScalar(top),
282 float left, float top, float right, float bottom,
285 rect.set(SkFloatToScalar(left), SkFloatToScalar(top),
318 jfloat left, jfloat top, jfloat right,
321 r.set(SkFloatToScalar(left), SkFloatToScalar(top),
419 jfloat left, jfloat top, jfloat right,
421 SkScalar left_ = SkFloatToScalar(left);
281 clipRect(JNIEnv* env, jobject, SkCanvas* canvas, float left, float top, float right, float bottom, int op) argument
317 quickReject__FFFF(JNIEnv* env, jobject, SkCanvas* canvas, jfloat left, jfloat top, jfloat right, jfloat bottom) argument
418 drawRect__FFFFPaint(JNIEnv* env, jobject, SkCanvas* canvas, jfloat left, jfloat top, jfloat right, jfloat bottom, SkPaint* paint) argument
464 drawBitmap__BitmapFFPaint(JNIEnv* env, jobject jcanvas, SkCanvas* canvas, SkBitmap* bitmap, jfloat left, jfloat top, SkPaint* paint, jint canvasDensity, jint screenDensity, jint bitmapDensity) argument
807 SkScalar left = SkFloatToScalar(x); local
[all...]
/frameworks/base/core/java/android/widget/
H A DTextView.java337 // First reset "left" and "right" drawables to their initial values
342 // Use "start" drawable as "left" drawable if the "left" drawable was not defined
355 // JB-MR1+ normal case: "start" / "end" drawables are overriding "left" / "right"
1200 // This call will save the initial left/right drawables
1759 * Returns the left padding of the view, plus space for the left
1881 * Returns the total left padding of the view, including the left
1931 * Sets the Drawables (if any) to appear to the left o
1941 setCompoundDrawables(Drawable left, Drawable top, Drawable right, Drawable bottom) argument
2072 setCompoundDrawablesWithIntrinsicBounds(int left, int top, int right, int bottom) argument
2091 setCompoundDrawablesWithIntrinsicBounds(Drawable left, Drawable top, Drawable right, Drawable bottom) argument
2357 setPadding(int left, int top, int right, int bottom) argument
6606 onLayout(boolean changed, int left, int top, int right, int bottom) argument
[all...]
H A DCompoundButton.java279 int left = isLayoutRtl() ? getWidth() - drawableWidth : 0;
282 buttonDrawable.setBounds(left, top, right, bottom);
/frameworks/av/media/libstagefright/
H A DOggExtractor.cpp322 size_t left = 0; local
324 while (left < right) {
325 size_t center = left / 2 + right / 2 + (left & right & 1);
332 left = center + 1;
334 left = right = center;
339 const TOCEntry &entry = mTableOfContents.itemAt(left);
342 left, mTableOfContents.size(), entry.mPageOffset);
/frameworks/base/core/java/android/text/method/
H A DLinkMovementMethod.java79 protected boolean left(TextView widget, Spannable buffer) { method in class:LinkMovementMethod
84 return super.left(widget, buffer);
/frameworks/base/core/java/android/view/accessibility/
H A DAccessibilityNodeInfo.java994 outBounds.set(mBoundsInParent.left, mBoundsInParent.top,
1012 mBoundsInParent.set(bounds.left, bounds.top, bounds.right, bounds.bottom);
1021 outBounds.set(mBoundsInScreen.left, mBoundsInScreen.top,
1039 mBoundsInScreen.set(bounds.left, bounds.top, bounds.right, bounds.bottom);
2135 parcel.writeInt(mBoundsInParent.left);
2140 parcel.writeInt(mBoundsInScreen.left);
2267 mBoundsInParent.left = parcel.readInt();
2272 mBoundsInScreen.left = parcel.readInt();
/frameworks/base/core/java/com/android/internal/view/menu/
H A DIconMenuItemView.java238 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
239 super.onLayout(changed, left, top, right, bottom);
/frameworks/base/core/java/com/android/internal/widget/
H A DSlidingTab.java118 * The interface was triggered because the user grabbed the left handle and moved it past
329 * @param l the parent's left border
348 final int left = (parentWidth - handleWidth) / 2;
349 final int right = left + handleWidth;
377 tab.layout(left, 0, right, handleHeight);
378 text.layout(left, 0 - parentHeight, right, 0);
382 tab.layout(left, parentHeight - handleHeight, right, parentHeight);
383 text.layout(left, parentHeight, right, parentHeight + parentHeight);
645 int left = slider.tab.getLeft();
649 : (viewWidth - left)
[all...]
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
H A DGLFrame.java283 setNativeViewport(rect.left, rect.top, rect.right - rect.left, rect.bottom - rect.top);
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A DPathsActivity.java102 canvas.translate(-mPathBounds.left + mOffset * 1.5f, -mPathBounds.top + mOffset * 1.5f);
132 canvas.drawBitmap(mBitmap, mPathBounds.left - mOffset * 1.5f,
/frameworks/native/opengl/tools/glgen/specs/gles11/
H A DGLES10.spec40 void glFrustumf ( GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar )
41 void glFrustumx ( GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar )
73 void glOrthof ( GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar )
74 void glOrthox ( GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar )

Completed in 3559 milliseconds

1234567891011>>