Searched refs:left (Results 51 - 75 of 362) sorted by relevance

1234567891011>>

/frameworks/base/libs/hwui/
H A DLayerRenderer.h51 virtual status_t prepareDirty(float left, float top, float right, float bottom, bool opaque);
52 virtual status_t clear(float left, float top, float right, float bottom, bool opaque);
/frameworks/compile/libbcc/runtime/www/
H A Dmenu.css12 left:29ex;
/frameworks/support/v4/java/android/support/v4/view/
H A DPagerTabStrip.java151 public void setPadding(int left, int top, int right, int bottom) { argument
155 super.setPadding(left, top, right, bottom);
261 final int left = mCurrText.getLeft() - mTabPadding;
266 canvas.drawRect(left, top, right, bottom, mTabPaint);
279 int left = mCurrText.getLeft() - mTabPadding;
283 r.set(left, top, right, bottom);
288 left = mCurrText.getLeft() - mTabPadding;
290 r.union(left, top, right, bottom);
/frameworks/support/v4/jellybean/android/support/v4/view/
H A DViewCompatJB.java39 public static void postInvalidateOnAnimation(View view, int left, int top, argument
41 view.postInvalidate(left, top, right, bottom);
/frameworks/base/docs/html/reference/renderscript/
H A Ddoxygen.css135 margin-left: -1cm;
168 background-image: -webkit-gradient(linear, left top, left bottom, from(#eee), to(#000),color-stop(0.3, #444));
173 margin-left: 16px;
179 margin-left: 16px;
191 margin-left: 8px;
387 margin-left: 9px;
412 margin-left: 6px;
417 border-left: 1px solid #A8B8D9;
426 border-top-left
[all...]
/frameworks/av/services/audioflinger/
H A DAudioResamplerCubic.cpp31 memset(&left, 0, sizeof(state));
81 out[outputIndex++] += vl * interp(&left, x);
107 advance(&left, in[inputIndex*2]);
147 sample = interp(&left, x);
173 advance(&left, in[inputIndex]);
/frameworks/base/media/java/android/media/videoeditor/
H A DOverlayFrame.java358 int left, right, top, bottom;
369 left = 0;
376 left = (overlayCanvas.getWidth() - newWidth) / 2;
378 right = left + newWidth;
382 destRect = new Rect(left, top, right, bottom);
389 int left, right, top, bottom;
399 left = 0;
406 left = (overlayBitmap.getWidth() - newWidth) / 2;
408 right = left + newWidth;
412 srcRect = new Rect(left, to
[all...]
/frameworks/base/docs/html/guide/google/gcm/client-javadoc/
H A Ddefault.css39 padding-left: 10px; }
59 margin-left: 190px;
74 float: left; }
82 min-height:5px; /* silly way to avoid doc floating left when nav goes fixed */
101 float: left; }
153 float: left;
154 margin-left: 20px; }
156 margin-left: 0; }
384 margin-left:0;
406 left
[all...]
/frameworks/base/docs/html/guide/google/gcm/server-javadoc/
H A Ddefault.css39 padding-left: 10px; }
59 margin-left: 190px;
74 float: left; }
82 min-height:5px; /* silly way to avoid doc floating left when nav goes fixed */
101 float: left; }
153 float: left;
154 margin-left: 20px; }
156 margin-left: 0; }
384 margin-left:0;
406 left
[all...]
/frameworks/base/core/java/android/widget/
H A DSlidingDrawer.java389 final int left = mHandle.getLeft();
390 mTouchDelta = (int) x - left;
391 prepareTracking(left);
446 final int left = mHandle.getLeft();
452 (mExpanded && left < mTapThreshold + mTopOffset) ||
453 (!mExpanded && left > mBottomOffset + mRight - mLeft -
460 animateClose(vertical ? top : left);
462 animateOpen(vertical ? top : left);
465 performFling(vertical ? top : left, velocity, false);
469 performFling(vertical ? top : left, velocit
[all...]
H A DCheckedTextView.java176 protected void internalSetPadding(int left, int top, int right, int bottom) { argument
177 super.internalSetPadding(left, top, right, bottom);
236 final int left;
239 left = mBasePadding;
240 right = left + mCheckMarkWidth;
243 left = right - mCheckMarkWidth;
245 checkMarkDrawable.setBounds( left, top, right, bottom);
H A DHorizontalScrollView.java820 * (excluding fading edges) pretending that this View's left is located at
821 * the parameter left.
824 * @param leftFocus look for a candidate is the one at the left of the bounds
827 * @param left the left offset of the bounds in which a focusable must be
834 final int left, View preferredFocusable) {
841 final int leftWithoutFadingEdge = left + fadingEdgeLength;
842 final int rightWithoutFadingEdge = left + getWidth() - fadingEdgeLength;
859 * @param leftFocus look for a candidate is the one at the left of the bounds
862 * @param left th
833 findFocusableViewInMyBounds(final boolean leftFocus, final int left, View preferredFocusable) argument
869 findFocusableViewInBounds(boolean leftFocus, int left, int right) argument
1015 scrollAndFocus(int direction, int left, int right) argument
[all...]
/frameworks/base/tests/TileBenchmark/src/com/test/tilebenchmark/
H A DPlaybackView.java60 label = (int) (t.left / TILE_SCALE) + ", "
63 setBounds(t.left, t.top,
66 setBounds((int) (t.left * t.scale),
82 canvas.drawText(Integer.toString(tile.level), getBounds().left,
84 canvas.drawText(label, getBounds().left,
146 t.left, t.top, t.right, t.bottom);
172 if (t.left < 0 || t.top < 0) {
/frameworks/base/graphics/java/android/graphics/
H A DBitmapRegionDecoder.java187 if (rect.right <= 0 || rect.bottom <= 0 || rect.left >= getWidth()
190 return nativeDecodeRegion(mNativeBitmapRegionDecoder, rect.left, rect.top,
191 rect.right - rect.left, rect.bottom - rect.top, options);
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard/
H A DMultiPaneChallengeLayout.java273 // Second pass. Measure everything that's left.
327 padding.left = getPaddingLeft();
376 final int paddedWidth = width - padding.left - padding.right;
393 int left = padding.left;
395 int right = left + childWidth;
424 left = fixedLayoutHorizontal ?
425 padding.left + (adjustedWidth - childWidth) / 2 : padding.left;
426 right = left
[all...]
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DCanvas_Delegate.java196 return clipRect(thisCanvas, rect.left, rect.top, rect.right, rect.bottom);
201 return clipRect(thisCanvas, (float) rect.left, (float) rect.top,
206 /*package*/ static boolean clipRect(Canvas thisCanvas, float left, float top, float right, argument
214 return canvasDelegate.clipRect(left, top, right, bottom, Region.Op.INTERSECT.nativeInt);
218 /*package*/ static boolean clipRect(Canvas thisCanvas, int left, int top, int right, argument
221 return clipRect(thisCanvas, (float) left, (float) top, (float) right, (float) bottom);
472 float left, float top,
482 return canvasDelegate.clipRect(left, top, right, bottom, regionOp);
546 bounds.left = rect.x;
591 float left, floa
471 native_clipRect(int nCanvas, float left, float top, float right, float bottom, int regionOp) argument
590 native_quickReject(int nativeCanvas, float left, float top, float right, float bottom, int native_edgeType) argument
675 native_drawRect(int nativeCanvas, final float left, final float top, final float right, final float bottom, int paint) argument
823 native_drawBitmap(Canvas thisCanvas, int nativeCanvas, int bitmap, float left, float top, int nativePaintOrZero, int canvasDensity, int screenDensity, int bitmapDensity) argument
1269 clipRect(float left, float top, float right, float bottom, int regionOp) argument
[all...]
/frameworks/base/core/jni/
H A Dandroid_view_GLES20Canvas.cpp145 OpenGLRenderer* renderer, jint left, jint top, jint right, jint bottom,
147 return renderer->prepareDirty(left, top, right, bottom, opaque);
185 int(bounds.left), int(bounds.top), int(bounds.right), int(bounds.bottom));
231 OpenGLRenderer* renderer, jfloat left, jfloat top, jfloat right, jfloat bottom,
233 return renderer->saveLayer(left, top, right, bottom, paint, saveFlags);
239 return renderer->saveLayer(bounds.left, bounds.top, bounds.right, bounds.bottom,
244 OpenGLRenderer* renderer, jfloat left, jfloat top, jfloat right, jfloat bottom,
246 return renderer->saveLayerAlpha(left, top, right, bottom, alpha, saveFlags);
252 return renderer->saveLayerAlpha(bounds.left, bounds.top, bounds.right, bounds.bottom,
261 OpenGLRenderer* renderer, jfloat left, jfloa
144 android_view_GLES20Canvas_prepareDirty(JNIEnv* env, jobject clazz, OpenGLRenderer* renderer, jint left, jint top, jint right, jint bottom, jboolean opaque) argument
230 android_view_GLES20Canvas_saveLayer(JNIEnv* env, jobject clazz, OpenGLRenderer* renderer, jfloat left, jfloat top, jfloat right, jfloat bottom, SkPaint* paint, jint saveFlags) argument
243 android_view_GLES20Canvas_saveLayerAlpha(JNIEnv* env, jobject clazz, OpenGLRenderer* renderer, jfloat left, jfloat top, jfloat right, jfloat bottom, jint alpha, jint saveFlags) argument
260 android_view_GLES20Canvas_quickReject(JNIEnv* env, jobject clazz, OpenGLRenderer* renderer, jfloat left, jfloat top, jfloat right, jfloat bottom, SkCanvas::EdgeType edge) argument
266 android_view_GLES20Canvas_clipRectF(JNIEnv* env, jobject clazz, OpenGLRenderer* renderer, jfloat left, jfloat top, jfloat right, jfloat bottom, SkRegion::Op op) argument
272 android_view_GLES20Canvas_clipRect(JNIEnv* env, jobject clazz, OpenGLRenderer* renderer, jint left, jint top, jint right, jint bottom, SkRegion::Op op) argument
331 android_view_GLES20Canvas_drawBitmap(JNIEnv* env, jobject clazz, OpenGLRenderer* renderer, SkBitmap* bitmap, jbyteArray buffer, jfloat left, jfloat top, SkPaint* paint) argument
360 android_view_GLES20Canvas_drawBitmapData(JNIEnv* env, jobject clazz, OpenGLRenderer* renderer, jintArray colors, jint offset, jint stride, jfloat left, jfloat top, jint width, jint height, jboolean hasAlpha, SkPaint* paint) argument
401 android_view_GLES20Canvas_drawPatch(JNIEnv* env, jobject clazz, OpenGLRenderer* renderer, SkBitmap* bitmap, jbyteArray buffer, jbyteArray chunks, float left, float top, float right, float bottom, SkPaint* paint) argument
423 android_view_GLES20Canvas_drawRect(JNIEnv* env, jobject clazz, OpenGLRenderer* renderer, jfloat left, jfloat top, jfloat right, jfloat bottom, SkPaint* paint) argument
429 android_view_GLES20Canvas_drawRoundRect(JNIEnv* env, jobject clazz, OpenGLRenderer* renderer, jfloat left, jfloat top, jfloat right, jfloat bottom, jfloat rx, jfloat ry, SkPaint* paint) argument
440 android_view_GLES20Canvas_drawOval(JNIEnv* env, jobject clazz, OpenGLRenderer* renderer, jfloat left, jfloat top, jfloat right, jfloat bottom, SkPaint* paint) argument
446 android_view_GLES20Canvas_drawArc(JNIEnv* env, jobject clazz, OpenGLRenderer* renderer, jfloat left, jfloat top, jfloat right, jfloat bottom, jfloat startAngle, jfloat sweepAngle, jboolean useCenter, SkPaint* paint) argument
819 android_view_GLES20Canvas_updateRenderLayer(JNIEnv* env, jobject clazz, Layer* layer, OpenGLRenderer* renderer, DisplayList* displayList, jint left, jint top, jint right, jint bottom) argument
[all...]
/frameworks/base/core/java/com/android/internal/widget/
H A DLinearLayoutWithDefaultTouchRecepient.java62 ev.setLocation(ev.getX() + mTempRect.left, ev.getY() + mTempRect.top);
/frameworks/testing/uiautomator/library/src/com/android/uiautomator/core/
H A DAccessibilityNodeInfoHelper.java50 displayRect.left = 0;
/frameworks/base/opengl/java/android/opengl/
H A DGLU.java87 * @param left
92 public static void gluOrtho2D(GL10 gl, float left, float right, argument
94 gl.glOrthof(left, right, bottom, top, -1.0f, 1.0f);
115 float left = bottom * aspect;
117 gl.glFrustumf(left, right, bottom, top, zNear, zFar);
/frameworks/base/core/jni/android/graphics/
H A DRegion.cpp52 static jboolean Region_setRect(JNIEnv* env, jobject, SkRegion* dst, int left, int top, int right, int bottom) { argument
53 return dst->setRect(left, top, right, bottom);
71 static jboolean Region_op0(JNIEnv* env, jobject, SkRegion* dst, int left, int top, int right, int bottom, int op) { argument
74 ir.set(left, top, right, bottom);
106 static jboolean Region_quickContains(JNIEnv* env, jobject region, int left, int top, int right, int bottom) { argument
107 return GetSkRegion(env, region)->quickContains(left, top, right, bottom);
110 static jboolean Region_quickRejectIIII(JNIEnv* env, jobject region, int left, int top, int right, int bottom) { argument
112 ir.set(left, top, right, bottom);
/frameworks/base/graphics/java/android/graphics/drawable/shapes/
H A DRoundRectShape.java45 * top-left corner (remaining pairs correspond clockwise).
53 * top-left corner (remaining pairs correspond clockwise).
94 mInnerRect.set(r.left + mInset.left, r.top + mInset.top,
/frameworks/rs/
H A DrsScriptC_LibGL.cpp234 int32_t *left, int32_t *right, int32_t *top, int32_t *bottom) {
235 if (left) {
236 *left = metrics->left;
250 int32_t *left, int32_t *right, int32_t *top, int32_t *bottom) {
256 SetMetrics(&metrics, left, right, top, bottom);
261 int32_t *left, int32_t *right, int32_t *top, int32_t *bottom) {
265 SetMetrics(&metrics, left, right, top, bottom);
233 SetMetrics(Font::Rect *metrics, int32_t *left, int32_t *right, int32_t *top, int32_t *bottom) argument
249 rsrMeasureTextAlloc(Context *rsc, Script *sc, Allocation *a, int32_t *left, int32_t *right, int32_t *top, int32_t *bottom) argument
260 rsrMeasureText(Context *rsc, Script *sc, const char *text, int32_t *left, int32_t *right, int32_t *top, int32_t *bottom) argument
/frameworks/av/services/camera/libcameraservice/camera2/
H A DParameters.h97 int left, top, right, bottom; member in struct:android::camera2::Parameters::Area
100 Area(int left, int top, int right, int bottom, int weight): argument
101 left(left), top(top), right(right), bottom(bottom),
104 return (left == 0) && (top == 0) && (right == 0) && (bottom == 0);
233 float left; member in struct:android::camera2::Parameters::CropRegion
/frameworks/base/core/java/android/webkit/
H A DAutoCompletePopup.java135 int left = mWebView.contentToViewX(mWebView.mEditTextContentBounds.left);
137 int width = right - left;
148 lp = new AbsoluteLayout.LayoutParams(width, height, left, top);
150 if ((lp.x != left) || (lp.y != top) || (lp.width != width)
153 lp.x = left;

Completed in 1791 milliseconds

1234567891011>>