/frameworks/base/packages/WallpaperCropper/src/com/android/wallpapercropper/ |
H A D | CropView.java | 109 edgesOut.left = leftEdge; 124 float cropLeft = -edges.left / scale; 205 mCenterX += Math.ceil(edges.left / scale); 296 if (edges.left > 0) { 297 adjustment[0] = edges.left / scale;
|
/frameworks/rs/ |
H A D | rsRuntime.h | 100 int32_t *left, int32_t *right, int32_t *top, int32_t *bottom); 102 int32_t *left, int32_t *right, int32_t *top, int32_t *bottom); 104 int32_t *left, int32_t *right, int32_t *top, int32_t *bottom); 210 void rsrMatrixLoadOrtho(rs_matrix4x4 *m, float left, float right, 212 void rsrMatrixLoadFrustum(rs_matrix4x4 *m, float left, float right,
|
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
H A D | AlertDialogLayout.java | 263 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument 267 final int width = right - left; 346 private void setChildFrame(View child, int left, int top, int width, int height) { argument 347 child.layout(left, top, left + width, top + height);
|
/frameworks/base/core/java/android/text/ |
H A D | SpannableStringBuilder.java | 880 int left = leftChild(i); 881 int spanMax = mSpanMax[left]; 886 count = countSpans(queryStart, queryEnd, kind, left); 934 int left = leftChild(i); 935 int spanMax = mSpanMax[left]; 940 count = getSpansRec(queryStart, queryEnd, kind, left, ret, priority, 1094 int left = 2 * index + 1; 1095 while (left < size) { 1096 if (left < size - 1 && compareSpans(left, lef 1130 compareSpans(int left, int right, int[] priority, int[] insertionOrder) argument [all...] |
H A D | Layout.java | 182 * @param align whether to left, right, or center the text. Styles can 202 * @param align whether to left, right, or center the text. Styles can 300 int left = 0; 343 left += margin.getLeadingMargin(useFirstLineMargin); 379 return right - left - indentWidth; 413 int left = 0; 447 // Draw all leading margin spans. Adjust left or right according 472 margin.drawLeadingMargin(canvas, paint, left, dir, ltop, 475 left += margin.getLeadingMargin(useFirstLineMargin); 507 x = left 659 getLineStartPos(int line, int left, int right) argument [all...] |
/frameworks/base/core/java/android/view/ |
H A D | SurfaceView.java | 342 protected boolean setFrame(int left, int top, int right, int bottom) { argument 343 boolean result = super.setFrame(left, top, right, bottom); 508 + " left=" + (mWindowSpaceLeft != mLocation[0]) 520 mScreenRect.left = mWindowSpaceLeft; 529 mScreenRect.offset(surfaceInsets.left, surfaceInsets.top); 571 mSurfaceControl.setPosition(mScreenRect.left, mScreenRect.top); 587 mSurfaceFrame.left = 0; 712 TAG, "Layout: x=" + mScreenRect.left + " y=" + mScreenRect.top 746 mScreenRect.left, mScreenRect.top, 781 mSurfaceControl.setPosition(position.left, positio 796 updateSurfacePosition_renderWorker(long frameNumber, int left, int top, int right, int bottom) argument [all...] |
H A D | DisplayListCanvas.java | 215 public void drawRoundRect(CanvasProperty<Float> left, CanvasProperty<Float> top, argument 218 nDrawRoundRect(mNativeCanvasWrapper, left.getNativeContainer(), top.getNativeContainer(),
|
/frameworks/av/media/libaudioprocessing/ |
H A D | AudioResamplerSinc.cpp | 147 int32_t mulRL(int left, int32_t in, uint32_t vRL) argument 151 if (left) { 164 int16_t v = left ? int16_t(vRL) : int16_t(vRL>>16); 185 int32_t mulAddRL(int left, uint32_t inRL, int32_t v, int32_t a) argument 189 if (left) { 202 int16_t s = left ? int16_t(inRL) : int16_t(inRL>>16); 259 void AudioResamplerSinc::setVolume(float left, float right) { argument 260 AudioResampler::setVolume(left, right); 263 mVolumeSIMD[0] = u4_28_from_float(clampFloatVol(left));
|
/frameworks/support/design/src/android/support/design/widget/ |
H A D | CoordinatorLayout.java | 954 int left; 963 left = anchorRect.left; 966 left = anchorRect.right; 969 left = anchorRect.left + anchorRect.width() / 2; 990 left -= childWidth; 996 left -= childWidth / 2; 1013 out.set(left, top, left [all...] |
/frameworks/base/graphics/java/android/graphics/drawable/ |
H A D | DrawableContainer.java | 106 result = (r.left | r.top | r.bottom | r.right) != 0; 115 final int left = padding.left; 117 padding.left = right; 118 padding.right = left; 308 public void setHotspotBounds(int left, int top, int right, int bottom) { argument 310 mHotspotBounds = new Rect(left, top, right, bottom); 312 mHotspotBounds.set(left, top, right, bottom); 316 mCurrDrawable.setHotspotBounds(left, top, right, bottom); 560 d.setHotspotBounds(hotspotBounds.left, hotspotBound [all...] |
H A D | GradientDrawable.java | 184 /** draw the gradient from the top-right to the bottom-left */ 186 /** draw the gradient from the right to the left */ 188 /** draw the gradient from the bottom-right to the top-left */ 192 /** draw the gradient from the bottom-left to the top-right */ 194 /** draw the gradient from the left to the right */ 196 /** draw the gradient from the top-left to the bottom-right */ 225 * ordered top-left, top-right, bottom-right, bottom-left. This property 248 * ordered top-left, top-right, bottom-right, bottom-left [all...] |
/frameworks/base/services/core/java/com/android/server/wm/ |
H A D | WindowState.java | 701 final int left = Math.max(0, insetFrame.left - Math.max(layoutFrame.left, displayFrame.left)); 705 frame.inset(left, top, right, bottom); 760 mContainingFrame.right = mContainingFrame.left + frozen.width(); 790 layoutXDiff = !mInsetFrame.isEmpty() ? mInsetFrame.left - mContainingFrame.left : 0; 835 mOutsets.set(Math.max(mContentFrame.left - mOutsetFrame.left, [all...] |
/frameworks/base/core/java/android/text/method/ |
H A D | BaseMovementMethod.java | 165 return left(widget, buffer); 245 * Performs a left movement action. 246 * Moves the cursor or scrolls left by one character. 252 protected boolean left(TextView widget, Spannable buffer) { method in class:BaseMovementMethod 429 int left = Integer.MAX_VALUE; 432 if (lineLeft < left) { 433 left = lineLeft; 436 return left; 457 * Performs a scroll left action. 458 * Scrolls left b [all...] |
/frameworks/base/core/java/com/android/internal/transition/ |
H A D | EpicenterTranslateClipReveal.java | 150 final State startStateX = new State(startClip.left, startClip.right, startX); 151 final State endStateX = new State(endClip.left, endClip.right, endX); 182 final State startStateX = new State(startClip.left, startClip.right, startX); 183 final State endStateX = new State(endClip.left, endClip.right, endX); 297 tempState.lower = tempRect.left + (int) tempState.trans; 312 tempRect.left = value.lower - (int) value.trans;
|
/frameworks/base/libs/hwui/ |
H A D | BakedOpRenderer.cpp | 53 offscreenBuffer->region.subtractSelf(android::Rect(repaintRect.left, repaintRect.top, 112 area.left, mRenderTarget.viewportHeight - area.bottom, width, height); 177 mRenderState.scissor().set(rect.left, mRenderTarget.viewportHeight - rect.bottom, 258 rectangleVertices.push_back(Vertex{bounds.left, bounds.top}); 260 rectangleVertices.push_back(Vertex{bounds.left, bounds.bottom}); 356 info.clipLeft = clip.left;
|
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/ |
H A D | AndroidCamera2Settings.java | 303 double oldLeft = (rectangle.left + 1000) / 2000.0; 307 int left = mCropRectangle.left + toIntConstrained( 311 int right = mCropRectangle.left + toIntConstrained( 315 transformed[index] = new MeteringRectangle(left, top, right - left, bottom - top, 573 RectF cropRect = new RectF(/*left*/0, /*top*/0, cropWidth, cropHeight);
|
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/ |
H A D | FastScroller.java | 297 int left = viewWidth - mVerticalThumbWidth; 311 canvas.translate(left, 0); 315 canvas.translate(-left, -top); 323 int left = mHorizontalThumbCenterX - mHorizontalThumbWidth / 2; 330 canvas.translate(left, 0); 332 canvas.translate(-left, -top);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/ |
H A D | RecentsView.java | 363 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument 365 mTaskStackView.layout(left, top, left + getMeasuredWidth(), top + getMeasuredHeight()); 370 int leftRightInsets = mSystemInsets.left + mSystemInsets.right; 374 int childLeft = left + mSystemInsets.left + 375 Math.max(0, (right - left - leftRightInsets - childWidth)) / 2; 385 mStackActionButton.layout(buttonBounds.left, buttonBounds.top, buttonBounds.right, 495 mStackActionButton.setLeftTopRightBottom(buttonBounds.left, buttonBounds.top, 790 int left [all...] |
/frameworks/opt/photoviewer/src/com/android/ex/photo/views/ |
H A D | PhotoView.java | 302 centerX = Math.min(Math.max(mTranslateRect.left + widthBuffer, 417 final float drawWidth = mTranslateRect.right - mTranslateRect.left; 423 // We're at the left-side of the image; allow intercepting movements to the right 426 // We're at the right-side of the image; allow intercepting movements to the left 450 final float drawWidth = mTranslateRect.right - mTranslateRect.left; 456 // We're at the left-side of the image; allow intercepting movements to the right 459 // We're at the right-side of the image; allow intercepting movements to the left 630 final int cropWidth = mCropRect.right - mCropRect.left; 636 matrix.postTranslate(-mCropRect.left, -mCropRect.top); 722 protected void onLayout(boolean changed, int left, in argument [all...] |
/frameworks/av/include/media/stagefright/ |
H A D | MetaData.h | 246 int32_t left, int32_t top, 257 int32_t *left, int32_t *top,
|
/frameworks/av/media/libstagefright/foundation/include/ |
H A D | MetaData.h | 246 int32_t left, int32_t top, 257 int32_t *left, int32_t *top,
|
/frameworks/av/media/libstagefright/include/ |
H A D | MetaData.h | 246 int32_t left, int32_t top, 257 int32_t *left, int32_t *top,
|
/frameworks/base/core/java/android/inputmethodservice/ |
H A D | SoftInputWindow.java | 91 if (ev.isWithinBoundsNoHistory(mBounds.left, mBounds.top, 95 MotionEvent temp = ev.clampNoHistory(mBounds.left, mBounds.top,
|
/frameworks/base/core/tests/coretests/src/android/widget/espresso/ |
H A D | TextViewAssertions.java | 124 * the left edge. 214 positionStr = "left"; 215 diff = drawableBounds.left - editText.getScrollX() + drawablePadding.left;
|
/frameworks/base/graphics/java/android/graphics/pdf/ |
H A D | PdfDocument.java | 122 pageInfo.mPageHeight, pageInfo.mContentRect.left, pageInfo.mContentRect.top, 298 * the page top left. 346 * the page top left. 351 if (contentRect != null && (contentRect.left < 0
|