/frameworks/base/core/tests/coretests/src/android/view/ |
H A D | GlobalFocusChange.java | 35 findViewById(R.id.left).getViewTreeObserver().addOnGlobalFocusChangeListener(this);
|
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/ |
H A D | ActionBarOverlayLayout.java | 69 private boolean applyInsets(View view, Rect insets, boolean left, boolean top, argument 73 if (left && lp.leftMargin != insets.left) { 75 lp.leftMargin = insets.left;
|
/frameworks/testing/uiautomator/library/core-src/com/android/uiautomator/core/ |
H A D | AccessibilityNodeInfoHelper.java | 45 displayRect.left = 0;
|
/frameworks/uiautomator/src/com/android/uiautomator/core/ |
H A D | AccessibilityNodeInfoHelper.java | 45 displayRect.left = 0;
|
/frameworks/wilhelm/tests/sandbox/ |
H A D | intbufq.c | 52 short left; member in struct:__anon1778 153 sine[i].left = sin((float) (i / (sr / hz)) * pi2 ) * 32000.0; 154 sine[i].right = sine[i].left; 157 square[i].left = (i % (unsigned) (sr / hz)) < 50 ? 32767 : -32768; 158 square[i].right = square[i].left; 161 sawtooth[i].left = ((((int) (i % (unsigned) (sr / hz))) - 50) / 100.0) * 60000.0 - 30000.0; 162 sawtooth[i].right = sawtooth[i].left; 165 half[i].left = sine[i].left;
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
H A D | Region_Delegate.java | 182 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; 297 int left, int top, int right, int bottom) { 303 dstRegion.mArea = new Area(new Rectangle2D.Float(left, top, right - left, bottom - top)); 338 rect.left 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 296 nativeSetRect(int native_dst, int left, int top, int right, int bottom) argument 371 nativeOp(int native_dst, int left, int top, int right, int bottom, int op) argument [all...] |
H A D | Canvas_Delegate.java | 194 return clipRect(thisCanvas, rect.left, rect.top, rect.right, rect.bottom); 199 return clipRect(thisCanvas, (float) rect.left, (float) rect.top, 204 /*package*/ static boolean clipRect(Canvas thisCanvas, float left, float top, float right, argument 212 return canvasDelegate.clipRect(left, top, right, bottom, Region.Op.INTERSECT.nativeInt); 216 /*package*/ static boolean clipRect(Canvas thisCanvas, int left, int top, int right, argument 219 return clipRect(thisCanvas, (float) left, (float) top, (float) right, (float) bottom); 469 float left, float top, 479 return canvasDelegate.clipRect(left, top, right, bottom, regionOp); 543 bounds.left = rect.x; 586 float left, floa 468 native_clipRect(int nCanvas, float left, float top, float right, float bottom, int regionOp) argument 585 native_quickReject(int nativeCanvas, float left, float top, float right, float bottom) argument 669 native_drawRect(int nativeCanvas, final float left, final float top, final float right, final float bottom, int paint) argument 817 native_drawBitmap(Canvas thisCanvas, int nativeCanvas, int bitmap, float left, float top, int nativePaintOrZero, int canvasDensity, int screenDensity, int bitmapDensity) argument 1185 clipRect(float left, float top, float right, float bottom, int regionOp) argument [all...] |
/frameworks/base/libs/hwui/ |
H A D | DisplayListRenderer.cpp | 129 status_t DisplayListRenderer::prepareDirty(float left, float top, argument 183 int DisplayListRenderer::saveLayer(float left, float top, float right, float bottom, argument 185 addStateOp(new (alloc()) SaveLayerOp(left, top, right, bottom, alpha, mode, flags)); 224 bool DisplayListRenderer::clipRect(float left, float top, float right, float bottom, argument 226 addStateOp(new (alloc()) ClipRectOp(left, top, right, bottom, op)); 227 return OpenGLRenderer::clipRect(left, top, right, bottom, op); 261 status_t DisplayListRenderer::drawBitmap(SkBitmap* bitmap, float left, float top, SkPaint* paint) { argument 265 addDrawOp(new (alloc()) DrawBitmapOp(bitmap, left, top, paint)); 299 status_t DisplayListRenderer::drawBitmapData(SkBitmap* bitmap, float left, float top, argument 304 addDrawOp(new (alloc()) DrawBitmapDataOp(bitmap, left, to 321 drawPatch(SkBitmap* bitmap, Res_png_9patch* patch, float left, float top, float right, float bottom, SkPaint* paint) argument 336 drawRect(float left, float top, float right, float bottom, SkPaint* paint) argument 343 drawRoundRect(float left, float top, float right, float bottom, float rx, float ry, SkPaint* paint) argument 356 drawOval(float left, float top, float right, float bottom, SkPaint* paint) argument 363 drawArc(float left, float top, float right, float bottom, float startAngle, float sweepAngle, bool useCenter, SkPaint* paint) argument [all...] |
H A D | LayerRenderer.h | 51 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);
|
H A D | DisplayListOp.h | 218 DrawBoundedOp(float left, float top, float right, float bottom, SkPaint* paint) argument 219 : DrawOp(paint), mLocalBounds(left, top, right, bottom) {} 230 mLocalBounds.left = fminf(mLocalBounds.left, points[i]); 330 SaveLayerOp(float left, float top, float right, float bottom, argument 332 : mArea(left, top, right, bottom), mAlpha(alpha), mMode(mode), mFlags(flags) {} 342 deferStruct.mRenderer.saveLayerDeferred(mArea.left, mArea.top, mArea.right, mArea.bottom, 347 renderer.saveLayer(mArea.left, mArea.top, mArea.right, mArea.bottom, mAlpha, mMode, mFlags); 362 DisplayListOp* reinit(float left, float top, float right, float bottom, argument 364 mArea.set(left, to 526 ClipRectOp(float left, float top, float right, float bottom, SkRegion::Op op) argument 544 reinit(float left, float top, float right, float bottom, SkRegion::Op op) argument 732 DrawBitmapOp(SkBitmap* bitmap, float left, float top, SkPaint* paint) argument 899 DrawBitmapDataOp(SkBitmap* bitmap, float left, float top, SkPaint* paint) argument 953 DrawPatchOp(SkBitmap* bitmap, Res_png_9patch* patch, float left, float top, float right, float bottom, SkPaint* paint) argument 1119 DrawStrokableOp(float left, float top, float right, float bottom, SkPaint* paint) argument 1144 DrawRectOp(float left, float top, float right, float bottom, SkPaint* paint) argument 1194 DrawRoundRectOp(float left, float top, float right, float bottom, float rx, float ry, SkPaint* paint) argument 1238 DrawOvalOp(float left, float top, float right, float bottom, SkPaint* paint) argument 1255 DrawArcOp(float left, float top, float right, float bottom, float startAngle, float sweepAngle, bool useCenter, SkPaint* paint) argument 1283 float left, top, offset; local [all...] |
H A D | PathCache.cpp | 91 float& left, float& top, float& offset, uint32_t& width, uint32_t& height) { 93 PathCache::computeBounds(bounds, paint, left, top, offset, width, height); 97 float& left, float& top, float& offset, uint32_t& width, uint32_t& height) { 101 left = bounds.fLeft; 129 float left, float top, float offset, uint32_t width, uint32_t height) { 136 canvas.translate(-left + offset, -top + offset); 140 static PathTexture* createTexture(float left, float top, float offset, argument 143 texture->left = left; 267 float left, to local 90 computePathBounds(const SkPath* path, const SkPaint* paint, float& left, float& top, float& offset, uint32_t& width, uint32_t& height) argument 96 computeBounds(const SkRect& bounds, const SkPaint* paint, float& left, float& top, float& offset, uint32_t& width, uint32_t& height) argument 128 drawPath(const SkPath *path, const SkPaint* paint, SkBitmap& bitmap, float left, float top, float offset, uint32_t width, uint32_t height) argument 347 float left, top, offset; local [all...] |
/frameworks/base/core/java/android/view/ |
H A D | DisplayList.java | 585 * Sets the left position for the display list. 587 * @param left The left position, in pixels, of the display list 592 public abstract void setLeft(int left); argument 595 * Returns the left position for the display list in pixels. 653 * Sets the left and top positions for the display list 655 * @param left The left position of the display list, in pixels 665 public abstract void setLeftTopRightBottom(int left, int top, int right, int bottom); argument 668 * Offsets the left an [all...] |
/frameworks/support/v4/java/android/support/v4/view/ |
H A D | PagerTabStrip.java | 151 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 D | ViewCompatJB.java | 40 public static void postInvalidateOnAnimation(View view, int left, int top, argument 42 view.postInvalidate(left, top, right, bottom);
|
/frameworks/base/docs/html/reference/renderscript/ |
H A D | doxygen.css | 135 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 D | AudioResamplerCubic.cpp | 31 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 D | OverlayFrame.java | 358 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/core/java/android/widget/ |
H A D | SlidingDrawer.java | 389 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 D | CheckedTextView.java | 177 protected void internalSetPadding(int left, int top, int right, int bottom) { argument 178 super.internalSetPadding(left, top, right, bottom); 237 final int left; 240 left = mBasePadding; 241 right = left + mCheckMarkWidth; 244 left = right - mCheckMarkWidth; 246 checkMarkDrawable.setBounds(mScrollX + left, top, mScrollX + right, bottom);
|
/frameworks/base/graphics/java/android/graphics/ |
H A D | BitmapRegionDecoder.java | 185 if (rect.right <= 0 || rect.bottom <= 0 || rect.left >= getWidth() 188 return nativeDecodeRegion(mNativeBitmapRegionDecoder, rect.left, rect.top, 189 rect.right - rect.left, rect.bottom - rect.top, options);
|
/frameworks/base/packages/Keyguard/src/com/android/keyguard/ |
H A D | MultiPaneChallengeLayout.java | 280 // Second pass. Measure everything that's left. 334 padding.left = getPaddingLeft(); 384 final int paddedWidth = width - padding.left - padding.right; 401 int left = padding.left; 403 int right = left + childWidth; 432 left = fixedLayoutHorizontal ? 433 padding.left + (adjustedWidth - childWidth) / 2 : padding.left; 434 right = left [all...] |
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | LinearLayoutWithDefaultTouchRecepient.java | 62 ev.setLocation(ev.getX() + mTempRect.left, ev.getY() + mTempRect.top);
|
/frameworks/base/opengl/java/android/opengl/ |
H A D | GLU.java | 87 * @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/native/libs/ui/tests/ |
H A D | Region_test.cpp | 29 EXPECT_FALSE((rhs->right > lhs->left && rhs->right < lhs->right) || 30 (rhs->left > lhs->left && rhs->left < lhs->right));
|
/frameworks/base/core/jni/android/graphics/ |
H A D | Region.cpp | 52 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);
|