Searched refs:left (Results 76 - 100 of 362) sorted by relevance

1234567891011>>

/frameworks/base/core/jni/
H A Dandroid_view_GLES20DisplayList.cpp143 jobject clazz, DisplayList* displayList, int left) {
144 displayList->setLeft(left);
163 jobject clazz, DisplayList* displayList, int left, int top) {
164 displayList->setLeftTop(left, top);
168 jobject clazz, DisplayList* displayList, int left, int top,
170 displayList->setLeftTopRightBottom(left, top, right, bottom);
142 android_view_GLES20DisplayList_setLeft(JNIEnv* env, jobject clazz, DisplayList* displayList, int left) argument
162 android_view_GLES20DisplayList_setLeftTop(JNIEnv* env, jobject clazz, DisplayList* displayList, int left, int top) argument
167 android_view_GLES20DisplayList_setLeftTopRightBottom(JNIEnv* env, jobject clazz, DisplayList* displayList, int left, int top, int right, int bottom) argument
H A Dandroid_view_TextureView.cpp39 jfieldID left; member in struct:android::__anon1002
134 rect.left = GET_INT(dirtyRect, gRectClassInfo.left);
165 clipRect.set(rect.left, rect.top, rect.right, rect.bottom);
170 int(rect.left), int(rect.top), int(rect.right), int(rect.bottom));
223 GET_FIELD_ID(gRectClassInfo.left, clazz, "left", "I");
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DNinePatch_Delegate.java162 (int) loc.left, (int) loc.top, (int) loc.width(), (int) loc.height(),
171 loc.left, loc.top, loc.width(), loc.height(),
184 final int left, final int top, final int right, final int bottom,
198 new Rect(left, top, right, bottom),
221 left, top, right - left, bottom - top, destDensity, srcDensity);
183 draw(int canvas_instance, final int left, final int top, final int right, final int bottom, int bitmap_instance, byte[] c, int paint_instance_or_null, final int destDensity, final int srcDensity) argument
H A DPath_Delegate.java320 pathDelegate.addRect(rect.left, rect.top, rect.right, rect.bottom, dir);
325 float left, float top, float right, float bottom, int dir) {
331 pathDelegate.addRect(left, top, right, bottom, dir);
342 oval.left, oval.top, oval.width(), oval.height()), false);
367 oval.left, oval.top, oval.width(), oval.height(),
381 rect.left, rect.top, rect.width(), rect.height(), rx * 2, ry * 2), false);
559 bounds.left = (float)rect.getMinX();
711 Arc2D arc = new Arc2D.Float(oval.left, oval.top, oval.width(), oval.height(), -startAngle,
735 * @param left The left sid
324 native_addRect(int nPath, float left, float top, float right, float bottom, int dir) argument
741 addRect(float left, float top, float right, float bottom, int dir) argument
[all...]
/frameworks/base/graphics/java/android/graphics/
H A DCanvas.java66 * Flag for drawTextRun indicating left-to-right run direction.
72 * Flag for drawTextRun indicating right-to-left run direction.
357 public int saveLayer(float left, float top, float right, float bottom, Paint paint, argument
359 return native_saveLayer(mNativeCanvas, left, top, right, bottom,
388 public int saveLayerAlpha(float left, float top, float right, float bottom, int alpha, argument
390 return native_saveLayerAlpha(mNativeCanvas, left, top, right, bottom,
536 return native_clipRect(mNativeCanvas, rect.left, rect.top, rect.right, rect.bottom,
549 return native_clipRect(mNativeCanvas, rect.left, rect.top, rect.right, rect.bottom,
575 * @param left The left sid
586 clipRect(float left, float top, float right, float bottom, Region.Op op) argument
603 clipRect(float left, float top, float right, float bottom) argument
618 clipRect(int left, int top, int right, int bottom) argument
752 quickReject(float left, float top, float right, float bottom, EdgeType type) argument
933 drawRect(float left, float top, float right, float bottom, Paint paint) argument
1064 drawBitmap(Bitmap bitmap, float left, float top, Paint paint) argument
1643 native_clipRect(int nCanvas, float left, float top, float right, float bottom, int regionOp) argument
1664 native_quickReject(int nativeCanvas, float left, float top, float right, float bottom, int native_edgeType) argument
1681 native_drawRect(int nativeCanvas, float left, float top, float right, float bottom, int paint) argument
1697 native_drawBitmap(int nativeCanvas, int bitmap, float left, float top, int nativePaintOrZero, int canvasDensity, int screenDensity, int bitmapDensity) argument
[all...]
H A DPath.java384 private void detectSimplePath(float left, float top, float right, float bottom, Direction dir) { argument
393 rects.op((int) left, (int) top, (int) right, (int) bottom, Region.Op.UNION);
408 detectSimplePath(rect.left, rect.top, rect.right, rect.bottom, dir);
415 * @param left The left side of a rectangle to add to the path
421 public void addRect(float left, float top, float right, float bottom, Direction dir) { argument
422 detectSimplePath(left, top, right, bottom, dir);
423 native_addRect(mNativePath, left, top, right, bottom, dir.nativeInt);
486 * two radius values [X, Y]. The corners are ordered top-left, top-right,
487 * bottom-right, bottom-left
636 native_addRect(int nPath, float left, float top, float right, float bottom, int dir) argument
[all...]
/frameworks/rs/
H A DrsMatrix4x4.cpp272 void Matrix4x4::loadOrtho(float left, float right, float bottom, float top, float near, float far) { argument
274 m[0] = 2.f / (right - left);
277 m[12]= -(right + left) / (right - left);
282 void Matrix4x4::loadFrustum(float left, float right, float bottom, float top, float near, float far) { argument
284 m[0] = 2.f * near / (right - left);
286 m[8] = (right + left) / (right - left);
297 float left = bottom * aspect; local
299 loadFrustum(left, righ
[all...]
/frameworks/support/renderscript/v8/rs_support/
H A DrsMatrix4x4.cpp272 void Matrix4x4::loadOrtho(float left, float right, float bottom, float top, float near, float far) { argument
274 m[0] = 2.f / (right - left);
277 m[12]= -(right + left) / (right - left);
282 void Matrix4x4::loadFrustum(float left, float right, float bottom, float top, float near, float far) { argument
284 m[0] = 2.f * near / (right - left);
286 m[8] = (right + left) / (right - left);
297 float left = bottom * aspect; local
299 loadFrustum(left, righ
[all...]
/frameworks/base/libs/hwui/
H A DDisplayListRenderer.h304 void setLeft(int left) { argument
305 if (left != mLeft) {
306 mLeft = left;
344 void setLeftTop(int left, int top) { argument
345 if (left != mLeft || top != mTop) {
346 mLeft = left;
356 void setLeftTopRightBottom(int left, int top, int right, int bottom) { argument
357 if (left != mLeft || top != mTop || right != mRight || bottom != mBottom) {
358 mLeft = left;
553 virtual status_t prepareDirty(float left, floa
750 addBounds(float left, float top, float right, float bottom) argument
[all...]
H A DMatrix.cpp289 void Matrix4::loadOrtho(float left, float right, float bottom, float top, float near, float far) { argument
292 data[kScaleX] = 2.0f / (right - left);
295 data[kTranslateX] = -(right + left) / (right - left);
322 MUL_ADD_STORE(r.left, data[kScaleX], data[kTranslateX]);
327 if (r.left > r.right) {
328 float x = r.left;
329 r.left = r.right;
343 r.left, r.top,
346 r.left,
[all...]
H A DShapeCache.cpp111 float left, top, offset; local
113 computeBounds(bounds, paint, left, top, offset, rectWidth, rectHeight);
126 canvas.translate(-left + offset, -top + offset);
H A DPatch.cpp110 float left, float top, float right, float bottom) {
126 const float meshWidth = right - left;
135 const float xStretch = fmaxf(right - left - fixed, 0.0f);
137 rescaleX = fixed == 0.0f ? 0.0f : fminf(fmaxf(right - left, 0.0f) / fixed, 1.0f);
180 generateRow(vertex, y1, y2, v1, v2, stretchX, rescaleX, right - left,
199 generateRow(vertex, y1, y2, v1, 1.0f, stretchX, rescaleX, right - left,
284 PATCH_LOGD(" left, top = %.2f, %.2f\t\tu1, v1 = %.4f, %.4f", x1, y1, u1, v1);
311 PATCH_LOGD(" left, top = %.2f, %.2f\t\tu1, v1 = %.4f, %.4f", x1, y1, u1, v1);
109 updateVertices(const float bitmapWidth, const float bitmapHeight, float left, float top, float right, float bottom) argument
/frameworks/base/core/java/android/net/
H A DNetworkStats.java498 NetworkStats left, NetworkStats right, NonMonotonicObserver<C> observer, C cookie) {
499 long deltaRealtime = left.elapsedRealtime - right.elapsedRealtime;
502 observer.foundNonMonotonic(left, -1, right, -1, cookie);
509 final NetworkStats result = new NetworkStats(deltaRealtime, left.size);
510 for (int i = 0; i < left.size; i++) {
511 entry.iface = left.iface[i];
512 entry.uid = left.uid[i];
513 entry.set = left.set[i];
514 entry.tag = left.tag[i];
520 entry.rxBytes = left
497 subtract( NetworkStats left, NetworkStats right, NonMonotonicObserver<C> observer, C cookie) argument
692 foundNonMonotonic( NetworkStats left, int leftIndex, NetworkStats right, int rightIndex, C cookie) argument
[all...]
H A DNetworkUtils.java214 public static boolean addressTypeMatches(InetAddress left, InetAddress right) { argument
215 return (((left instanceof Inet4Address) && (right instanceof Inet4Address)) ||
216 ((left instanceof Inet6Address) && (right instanceof Inet6Address)));
/frameworks/base/core/java/android/widget/
H A DFastScroller.java330 int left = 0;
333 left = viewWidth - (mThumbW * alpha) / ScrollFade.ALPHA_MAX;
336 left = -mThumbW + (mThumbW * alpha) / ScrollFade.ALPHA_MAX;
339 mThumbDrawable.setBounds(left, 0, left + mThumbW, mThumbH);
345 final int left = thumbBounds.left;
348 final int trackLeft = (left + mThumbW / 2) - trackWidth / 2;
361 int left = 0;
365 left
[all...]
/frameworks/native/libs/ui/
H A DRegion.cpp279 bounds.left = 0;
287 // rect.left, rect.top, rect.right, rect.bottom);
291 } else if (cur->right == rect.left) {
312 if ((p->left != q->left) || (p->right != q->right)) {
328 bounds.left = min(span.itemAt(0).left, bounds.left);
359 b.left = b.left < cu
[all...]
/frameworks/native/opengl/tests/hwc/
H A DhwcStress.cpp441 layer->sourceCrop.left = testRandMod(gBuf->getWidth());
443 layer->sourceCrop.right = layer->sourceCrop.left
444 + testRandMod(gBuf->getWidth() - layer->sourceCrop.left) + 1;
447 layer->displayFrame.left = testRandMod(width);
449 layer->displayFrame.right = layer->displayFrame.left
450 + testRandMod(width - layer->displayFrame.left) + 1;
463 - layer->sourceCrop.left;
466 if (((layer->displayFrame.left + sourceWidth) <= width)
468 layer->displayFrame.right = layer->displayFrame.left
/frameworks/base/policy/src/com/android/internal/policy/impl/
H A DIconUtilities.java159 final int left = (textureWidth-width) / 2;
168 canvas.drawRect(left, top, left+width, top+height, debugPaint);
172 icon.setBounds(left, top, left+width, top+height);
H A DPhoneWindowManager.java2403 pf.left = df.left = vf.left = mDockLeft;
2461 int left = displayWidth - mNavigationBarWidthForRotation[displayRotation];
2462 mTmpNavigationFrame.set(left, 0, displayWidth, displayHeight);
2463 mStableRight = mStableFullscreenRight = mTmpNavigationFrame.left;
2466 mDockRight = mTmpNavigationFrame.left;
2476 mSystemRight = mTmpNavigationFrame.left;
2497 pf.left = df.left
[all...]
/frameworks/base/core/tests/coretests/src/android/util/
H A DDayOfMonthCursorTest.java52 // move left, still same row
53 assertFalse(mc.left());
59 assertFalse(mc.left());
65 assertTrue(mc.left());
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
H A DFontLoader.java318 int left = index - 1;
319 while (left >= 0) {
320 if (Character.isWhitespace(value.charAt(left))) {
321 left--;
337 // remove all between left and right (non inclusive) and replace by a single space.
339 if (left >= 0) {
340 leftString = value.substring(0, left + 1);
/frameworks/av/libvideoeditor/osal/src/
H A DM4OSA_Mutex.c135 struct timespec left; local
178 nanosleep(&ts, &left);
H A DM4OSA_Semaphore.c133 struct timespec left; local
171 nanosleep(&ts, &left);
/frameworks/support/v4/java/android/support/v4/view/
H A DKeyEventCompat.java48 int modifiers, int basic, int left, int right) {
50 final int directional = left | right;
47 metaStateFilterDirectionalModifiers(int metaState, int modifiers, int basic, int left, int right) argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DNotificationPanelView.java73 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
74 super.onLayout(changed, left, top, right, bottom);

Completed in 285 milliseconds

1234567891011>>