Searched defs:left (Results 151 - 175 of 367) sorted by relevance

1234567891011>>

/frameworks/base/core/java/android/widget/
H A DCheckedTextView.java336 protected void internalSetPadding(int left, int top, int right, int bottom) { argument
337 super.internalSetPadding(left, top, right, bottom);
402 final int left;
405 left = mBasePadding;
406 right = left + mCheckMarkWidth;
409 left = right - mCheckMarkWidth;
411 checkMarkDrawable.setBounds(mScrollX + left, top, mScrollX + right, bottom);
416 background.setHotspotBounds(mScrollX + left, top, mScrollX + right, bottom);
H A DDayPickerView.java214 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
225 final int width = right - left;
/frameworks/base/core/java/com/android/internal/policy/
H A DBackdropFrameRenderer.java334 final int left = mLastXOffset + newBounds.left;
339 mFrameAndBackdropNode.setLeftTopRightBottom(left, top, left + width, top + height);
347 drawable.setBounds(0, 0, left + width, top + mLastCaptionHeight);
353 mResizingBackgroundDrawable.setBounds(0, mLastCaptionHeight, left + width, top + height);
358 drawColorViews(left, top, width, height, fullscreen, systemInsets, stableInsets);
366 private void drawColorViews(int left, int top, int width, int height, argument
372 mSystemBarBackgroundNode.setLeftTopRightBottom(left, top, left
[all...]
/frameworks/base/core/java/com/android/internal/view/menu/
H A DIconMenuItemView.java252 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
253 super.onLayout(changed, left, top, right, bottom);
/frameworks/base/core/java/com/android/internal/widget/
H A DDecorCaptionView.java196 // starting event is either a left mouse button or any other input device.
296 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
/frameworks/base/core/jni/android/graphics/
H A DGIFMovie.cpp204 static void fillRect(SkBitmap* bm, GifWord left, GifWord top, GifWord width, GifWord height, argument
209 uint32_t* dst = bm->getAddr32(left, top);
211 if (left + copyWidth > bmWidth) {
212 copyWidth = bmWidth - left;
/frameworks/base/core/jni/android/graphics/pdf/
H A DPdfEditor.cpp53 jfieldID left; member in struct:android::__anon1039
143 // PDF's coordinate system origin is left-bottom while in graphics it
144 // is the top-left. So, translate the PDF coordinates to ours.
229 float left; local
235 ? FPDFPage_GetMediaBox(page, &left, &top, &right, &bottom)
236 : FPDFPage_GetCropBox(page, &left, &top, &right, &bottom);
250 env->SetIntField(outBox, gRectClassInfo.left, (int) left);
284 const int left = env->GetIntField(box, gRectClassInfo.left); local
[all...]
/frameworks/base/graphics/java/android/graphics/
H A DRegion.java71 nativeSetRect(mNativeRegion, r.left, r.top, r.right, r.bottom);
76 public Region(int left, int top, int right, int bottom) { argument
78 nativeSetRect(mNativeRegion, left, top, right, bottom);
97 return nativeSetRect(mNativeRegion, r.left, r.top, r.right, r.bottom);
102 public boolean set(int left, int top, int right, int bottom) { argument
103 return nativeSetRect(mNativeRegion, left, top, right, bottom);
182 return quickContains(r.left, r.top, r.right, r.bottom);
191 public native boolean quickContains(int left, int top, int right, argument
200 return quickReject(r.left, r.top, r.right, r.bottom);
208 public native boolean quickReject(int left, in argument
267 op(int left, int top, int right, int bottom, Op op) argument
412 nativeSetRect(long native_dst, int left, int top, int right, int bottom) argument
420 nativeOp(long native_dst, int left, int top, int right, int bottom, int op) argument
[all...]
/frameworks/base/libs/hwui/
H A DClipArea.cpp37 handlePoint(transformedBounds, transform, r.left, r.top);
39 handlePoint(transformedBounds, transform, r.left, r.bottom);
155 rectPath.addRect(bounds.left, bounds.top, bounds.right, bounds.bottom);
211 void ClipArea::setClip(float left, float top, float right, float bottom) { argument
214 mClipRect.set(left, top, right, bottom);
541 other.op(rect.left, rect.top, rect.right, rect.bottom, SkRegion::kUnion_Op);
H A DGlopBuilder.cpp58 quadVertex[0] = {0, 0, uvs.left, uvs.top};
60 quadVertex[2] = {0, 1, uvs.left, uvs.bottom};
501 mOutGlop->transform.modelView.loadTranslate(destination.left, destination.top, 0.0f);
510 float left = destination.left; local
519 left = (int) floorf(left + translateX + 0.5f) - translateX;
524 mOutGlop->transform.modelView.loadTranslate(left, top, 0.0f);
546 offsetX = (int) floorf(offsetX + translateX + source.left + 0.5f) - translateX - source.left;
[all...]
H A DMatrix.cpp396 void Matrix4::loadOrtho(float left, float right, float bottom, float top, float near, float far) { argument
399 data[kScaleX] = 2.0f / (right - left);
402 data[kTranslateX] = -(right + left) / (right - left);
452 MUL_ADD_STORE(r.left, data[kScaleX], data[kTranslateX]);
457 if (r.left > r.right) {
458 float x = r.left;
459 r.left = r.right;
473 r.left, r.top,
476 r.left,
[all...]
H A DPathCache.h90 float left = 0; member in struct:android::uirenderer::PathTexture
/frameworks/base/libs/hwui/tests/common/
H A DTestUtils.h43 EXPECT_TRUE(MathUtils::areEqual((a).left, (b).left) \
178 snapshot->setClip(clip.left, clip.top, clip.right, clip.bottom);
210 static sp<RenderNode> createNode(int left, int top, int right, int bottom, argument
220 props.setLeftTopRightBottom(left, top, right, bottom);
232 static sp<RenderNode> createNode(int left, int top, int right, int bottom, argument
242 props.setLeftTopRightBottom(left, top, right, bottom);
260 static sp<RenderNode> createSkiaNode(int left, int top, int right, int bottom, argument
273 props.setLeftTopRightBottom(left, top, right, bottom);
/frameworks/base/opengl/java/android/opengl/
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/packages/PrintSpooler/src/com/android/printspooler/ui/
H A DPrintPreviewController.java217 public void setPadding(int left, int top , int right, int bottom) { argument
218 mRecyclerView.setPadding(left, top, right, bottom);
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/graph/
H A DBatteryMeterDrawableBase.java217 public void setBounds(int left, int top, int right, int bottom) { argument
218 super.setBounds(left, top, right, bottom);
220 mWidth = right - left;
273 mFrame.left + Math.round(width * 0.25f),
279 mButtonFrame.left += mSubpixelSmoothingLeft;
284 mFrame.left += mSubpixelSmoothingLeft;
303 mShapePath.moveTo(mButtonFrame.left, mButtonFrame.top);
308 mShapePath.lineTo(mFrame.left, mFrame.bottom);
309 mShapePath.lineTo(mFrame.left, mFrame.top);
310 mShapePath.lineTo(mButtonFrame.left, mFram
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/
H A DDessertCaseView.java527 protected void onLayout (boolean changed, int left, int top, int right, int bottom) { argument
528 final float w = right-left;
532 final int cx = (int) (left + w * 0.5f);
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
H A DQSAnimator.java361 public void onLayoutChange(View v, int left, int top, int right, int bottom, int oldLeft, argument
/frameworks/base/packages/WallpaperCropper/src/com/android/photos/views/
H A DTiledImageView.java169 protected void onLayout(boolean changed, int left, int top, int right, argument
171 super.onLayout(changed, left, top, right, bottom);
265 cx += (mTempRectF.left / scale) - xoffset;
267 cx -= (mTempRectF.left / scale) - xoffset;
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DCanvas_Delegate.java364 float left, float top,
373 return canvasDelegate.clipRect(left, top, right, bottom, regionOp);
419 bounds.left = rect.x;
454 float left, float top,
363 nClipRect(long nCanvas, float left, float top, float right, float bottom, int regionOp) argument
453 nQuickReject(long nativeCanvas, float left, float top, float right, float bottom) argument
/frameworks/rs/
H A DrsScriptC_LibGL.cpp226 int32_t *left, int32_t *right, int32_t *top, int32_t *bottom) {
227 if (left) {
228 *left = metrics->left;
242 int32_t *left, int32_t *right, int32_t *top, int32_t *bottom) {
248 SetMetrics(&metrics, left, right, top, bottom);
253 int32_t *left, int32_t *right, int32_t *top, int32_t *bottom) {
257 SetMetrics(&metrics, left, right, top, bottom);
225 SetMetrics(Font::Rect *metrics, int32_t *left, int32_t *right, int32_t *top, int32_t *bottom) argument
241 rsrMeasureTextAlloc(Context *rsc, Allocation *a, int32_t *left, int32_t *right, int32_t *top, int32_t *bottom) argument
252 rsrMeasureText(Context *rsc, const char *text, int32_t *left, int32_t *right, int32_t *top, int32_t *bottom) argument
/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);
426 mCollapsedDrawX = mCollapsedBounds.left;
458 mExpandedDrawX = mExpandedBounds.left;
469 mCurrentBounds.left = lerp(mExpandedBounds.left, mCollapsedBound
720 rectEquals(Rect r, int left, int top, int right, int bottom) argument
[all...]
/frameworks/support/v7/appcompat/src/android/support/v7/graphics/drawable/
H A DDrawableWrapper.java214 public void setHotspotBounds(int left, int top, int right, int bottom) { argument
215 DrawableCompat.setHotspotBounds(mDrawable, left, top, right, bottom);
/frameworks/support/v7/recyclerview/src/android/support/v7/util/
H A DSortedList.java592 private int findIndexOf(T item, T[] mData, int left, int right, int reason) { argument
593 while (left < right) {
594 final int middle = (left + right) / 2;
598 left = middle + 1;
603 int exact = linearEqualitySearch(item, middle, left, right);
614 return reason == INSERTION ? left : INVALID_POSITION;
617 private int linearEqualitySearch(T item, int middle, int left, int right) { argument
618 // go left
619 for (int next = middle - 1; next >= left; next--) {
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
H A DBaseWrapContentWithAspectRatioTest.java82 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
83 super.onLayout(changed, left, top, right, bottom);
84 mBehavior.onLayout(changed, left, top, right, bottom);
146 public MeasureBehavior withMargins(int left, int top, int right, int bottom) { argument
147 layoutParams.leftMargin = left;
177 public void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
179 layouts.add(new Pair<>(right - left, bottom - top));

Completed in 701 milliseconds

1234567891011>>