Searched refs:left (Results 226 - 250 of 741) sorted by relevance

1234567891011>>

/frameworks/rs/java/tests/HealingBrush/src/rs/example/android/com/healingbrush/
H A DHealing.java59 path.moveTo(xy[i] - rec.left, xy[i + 1] - rec.top);
61 path.lineTo(xy[i] - rec.left, xy[i + 1] - rec.top);
90 Bitmap destBitmap = createMutableBitmap(image, mRoiBounds.left, mRoiBounds.top,
141 c.drawBitmap(destBitmap, mRoiBounds.left, mRoiBounds.top, null);
/frameworks/support/v4/java/android/support/v4/app/
H A DSharedElementCallback.java201 mTempMatrix.postTranslate(-screenBounds.left, -screenBounds.top);
230 int left = existingBounds.left;
236 drawable.setBounds(left, top, right, bottom);
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
H A DContentFrameLayout.java82 public void setDecorPadding(int left, int top, int right, int bottom) { argument
83 mDecorPadding.set(left, top, right, bottom);
108 w -= (mDecorPadding.left + mDecorPadding.right);
152 min -= (mDecorPadding.left + mDecorPadding.right);
H A DToolbar.java1150 * @param contentInsetLeft Content inset for the toolbar's left edge
1166 * Gets the left content inset for this toolbar.
1172 * @return The left content inset for this toolbar
1324 * Gets the content inset that will be used on the left side of the bar in the current
1327 * @return the current content inset left in pixels
1707 int left = paddingLeft;
1721 left = layoutChildLeft(mNavButtonView, left, collapsingMargins,
1731 left = layoutChildLeft(mCollapseButtonView, left, collapsingMargin
1935 layoutChildLeft(View child, int left, int[] collapsingMargins, int alignmentHeight) argument
[all...]
/frameworks/base/core/java/android/widget/
H A DToolbar.java1145 * @param contentInsetLeft Content inset for the toolbar's left edge
1161 * Gets the left content inset for this toolbar.
1167 * @return The left content inset for this toolbar
1319 * Gets the content inset that will be used on the left side of the bar in the current
1322 * @return the current content inset left in pixels
1682 int left = paddingLeft;
1696 left = layoutChildLeft(mNavButtonView, left, collapsingMargins,
1706 left = layoutChildLeft(mCollapseButtonView, left, collapsingMargin
1910 layoutChildLeft(View child, int left, int[] collapsingMargins, int alignmentHeight) argument
[all...]
/frameworks/base/libs/hwui/
H A DRenderProperties.h410 bool setLeft(int left) { argument
411 if (RP_SET(mPrimitiveFields.mLeft, left)) {
470 bool setLeftTop(int left, int top) { argument
471 bool leftResult = setLeft(left);
476 bool setLeftTopRightBottom(int left, int top, int right, int bottom) { argument
477 if (left != mPrimitiveFields.mLeft || top != mPrimitiveFields.mTop
479 mPrimitiveFields.mLeft = left;
H A DDeferredDisplayList.cpp86 mOps[i].state->mBounds.left, mOps[i].state->mBounds.top,
116 renderer.drawScreenSpaceColorRect(bounds.left, bounds.top, bounds.right, bounds.bottom,
127 Region uncovered(android::Rect(bounds.left, bounds.top, bounds.right, bounds.bottom));
130 uncovered.subtractSelf(android::Rect(r.left, r.top, r.right, r.bottom));
210 float boundsDelta = mBounds.left - opBounds.left;
249 if (newClipSideFlags & kClipSide_Left) mClipRect.left = state->mClip.left;
275 renderer.drawScreenSpaceColorRect(mBounds.left, mBounds.top, mBounds.right, mBounds.bottom,
H A DBakedOpRenderer.cpp53 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,
262 rectangleVertices.push_back(Vertex{bounds.left, bounds.top});
264 rectangleVertices.push_back(Vertex{bounds.left, bounds.bottom});
360 info.clipLeft = clip.left;
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/widget/
H A DPrintContentView.java272 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
273 mStaticContent.layout(left, top, right, mStaticContent.getMeasuredHeight());
276 mSummaryContent.layout(left, mStaticContent.getMeasuredHeight(), right,
283 mDynamicContent.layout(left, dynContentTop, right, dynContentBottom);
291 printButtonLeft = left + params.getMarginStart();
303 mEmbeddedContentContainer.layout(left, embContentTop, right, embContentBottom);
402 public void onViewPositionChanged(View changedView, int left, int top, int dx, int dy) { argument
/frameworks/wilhelm/src/itf/
H A DIOutputMixExt.c29 short left; member in struct:__anon1754
244 mixBuffer->left += (short) (source->left * track->mGains[0]);
250 mixBuffer->left += source->left;
258 mixBuffer->left = (short) (source->left * track->mGains[0]);
/frameworks/base/core/java/android/transition/
H A DChangeBounds.java82 return new PointF(mBounds.left, mBounds.top);
116 int left = view.getLeft();
120 view.setLeftTopRightBottom(left, top, right, bottom);
133 int left = Math.round(topLeft.x);
137 view.setLeftTopRightBottom(left, top, right, bottom);
150 int left = Math.round(topLeft.x);
152 int right = left + view.getWidth();
154 view.setLeftTopRightBottom(left, top, right, bottom);
290 final int startLeft = startBounds.left;
291 final int endLeft = endBounds.left;
[all...]
/frameworks/base/services/core/java/com/android/server/wm/
H A DDisplayContent.java223 int left = (physWidth - width) / 2;
226 out.set(left, top, left + width, top + height);
338 // content frame. One example is when the task is put to top-left quadrant,
531 mTmpRect2.left = bounds.top;
532 mTmpRect2.right = mTmpRect2.left + bounds.height();
537 mTmpRect2.left = mTmpRect.right - bounds.right;
538 mTmpRect2.right = mTmpRect2.left + bounds.width();
542 mTmpRect2.top = bounds.left;
543 mTmpRect2.left
[all...]
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
H A DGcSnapshot.java337 mLayerBounds.left, mLayerBounds.top,
527 public boolean clipRect(float left, float top, float right, float bottom, int regionOp) { argument
528 return clip(new Rectangle2D.Float(left, top, right - left, bottom - top), regionOp);
595 // then go to previous layer, only if there are any left, and its flags
665 // upper left coordinates.
745 mLayerBounds.left, mLayerBounds.top, mLayerBounds.right, mLayerBounds.bottom,
757 mLayerBounds.left, mLayerBounds.top, mLayerBounds.right, mLayerBounds.bottom,
758 mLayerBounds.left, mLayerBounds.top, mLayerBounds.right, mLayerBounds.bottom,
855 src.left, sr
[all...]
/frameworks/native/include/ui/
H A Dmat4.h134 static tmat44 ortho(T left, T right, T bottom, T top, T near, T far);
136 static tmat44 frustum(T left, T right, T bottom, T top, T near, T far);
232 tmat44<T> tmat44<T>::ortho(T left, T right, T bottom, T top, T near, T far) { argument
234 m[0][0] = 2 / (right - left);
237 m[3][0] = -(right + left) / (right - left);
244 tmat44<T> tmat44<T>::frustum(T left, T right, T bottom, T top, T near, T far) { argument
246 T A = (right + left) / (right - left);
250 m[0][0] = (2 * near) / (right - left);
[all...]
/frameworks/rs/driver/runtime/
H A Drs_matrix.c242 // is also the destination, e.g. rsMatrixLoadMultiply(&left, &left, &right);
272 // is also the destination, e.g. rsMatrixLoadMultiply(&left, &left, &right);
299 // is also the destination, e.g. rsMatrixLoadMultiply(&left, &left, &right);
321 rsExtractFrustumPlanes(const rs_matrix4x4* viewProj, float4* left, float4* right, float4* top, argument
324 left->x = viewProj->m[3] + viewProj->m[0];
325 left->y = viewProj->m[7] + viewProj->m[4];
326 left
369 rsIsSphereInFrustum(float4* sphere, float4* left, float4* right, float4* top, float4* bottom, float4* near, float4* far) argument
[all...]
/frameworks/base/packages/WallpaperCropper/src/com/android/wallpapercropper/
H A DCropView.java109 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 DrsRuntime.h104 int32_t *left, int32_t *right, int32_t *top, int32_t *bottom);
106 int32_t *left, int32_t *right, int32_t *top, int32_t *bottom);
108 int32_t *left, int32_t *right, int32_t *top, int32_t *bottom);
214 void rsrMatrixLoadOrtho(rs_matrix4x4 *m, float left, float right,
216 void rsrMatrixLoadFrustum(rs_matrix4x4 *m, float left, float right,
/frameworks/support/design/src/android/support/design/widget/
H A DCoordinatorLayout.java910 int left;
919 left = anchorRect.left;
922 left = anchorRect.right;
925 left = anchorRect.left + anchorRect.width() / 2;
946 left -= childWidth;
952 left -= childWidth / 2;
973 left = Math.max(getPaddingLeft() + lp.leftMargin,
974 Math.min(left,
[all...]
/frameworks/av/services/audioflinger/
H A DAudioResamplerSinc.cpp147 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/data-binding/compiler/src/main/java/android/databinding/tool/expr/
H A DExprModel.java131 public ComparisonExpr comparison(String op, Expr left, Expr right) { argument
132 return register(new ComparisonExpr(op, left, right));
210 public MathExpr math(Expr left, String op, Expr right) { argument
211 return register(new MathExpr(left, op, right));
214 public TernaryExpr logical(Expr left, String op, Expr right) { argument
216 // left && right
217 // left ? right : false
218 return register(new TernaryExpr(left, right, symbol("false", boolean.class)));
220 // left || right
221 // left
226 bitshift(Expr left, String op, Expr right) argument
[all...]
/frameworks/base/graphics/java/android/graphics/drawable/
H A DDrawableContainer.java109 result = (r.left | r.top | r.bottom | r.right) != 0;
118 final int left = padding.left;
120 padding.left = right;
121 padding.right = left;
297 public void setHotspotBounds(int left, int top, int right, int bottom) { argument
299 mHotspotBounds = new Rect(left, top, right, bottom);
301 mHotspotBounds.set(left, top, right, bottom);
305 mCurrDrawable.setHotspotBounds(left, top, right, bottom);
542 d.setHotspotBounds(hotspotBounds.left, hotspotBound
[all...]
/frameworks/base/core/java/android/text/
H A DSpannableStringBuilder.java890 int left = leftChild(i);
891 int spanMax = mSpanMax[left];
896 count = countSpans(queryStart, queryEnd, kind, left);
944 int left = leftChild(i);
945 int spanMax = mSpanMax[left];
950 count = getSpansRec(queryStart, queryEnd, kind, left, ret, priority,
1057 int left = 2 * index + 1;
1058 while (left < size) {
1059 if (left < size - 1 && compareSpans(left, lef
1086 compareSpans(int left, int right, int[] priority, int[] insertionOrder) argument
[all...]
/frameworks/base/core/java/android/text/method/
H A DBaseMovementMethod.java165 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 DEpicenterTranslateClipReveal.java150 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/ex/camera2/portability/src/com/android/ex/camera2/portability/
H A DAndroidCamera2Settings.java303 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);

Completed in 928 milliseconds

1234567891011>>