Searched refs:left (Results 101 - 125 of 741) sorted by relevance

1234567891011>>

/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/expr/
H A DComparisonExpr.java27 ComparisonExpr(String op, Expr left, Expr right) { argument
28 super(left, right);
H A DInstanceOfExpr.java29 InstanceOfExpr(Expr left, String type) { argument
30 super(left);
/frameworks/support/v17/preference-leanback/api21/android/support/v17/internal/widget/
H A DOutlineOnlyWithChildrenFrameLayout.java56 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
57 super.onLayout(changed, left, top, right, bottom);
/frameworks/support/v4/api21/android/support/v4/view/
H A DWindowInsetsCompatApi21.java76 public WindowInsetsCompat replaceSystemWindowInsets(int left, int top, int right, int bottom) { argument
77 return new WindowInsetsCompatApi21(mSource.replaceSystemWindowInsets(left, top, right, bottom));
/frameworks/support/v4/java/android/support/v4/view/
H A DPagerTabStrip.java155 public void setPadding(int left, int top, int right, int bottom) { argument
159 super.setPadding(left, top, right, bottom);
265 final int left = mCurrText.getLeft() - mTabPadding;
270 canvas.drawRect(left, top, right, bottom, mTabPaint);
283 int left = mCurrText.getLeft() - mTabPadding;
287 r.set(left, top, right, bottom);
292 left = mCurrText.getLeft() - mTabPadding;
294 r.union(left, top, right, bottom);
/frameworks/support/v4/jellybean/android/support/v4/view/
H A DViewCompatJB.java40 public static void postInvalidateOnAnimation(View view, int left, int top, argument
42 view.postInvalidate(left, top, right, bottom);
/frameworks/av/media/libstagefright/
H A DSampleTable.cpp608 uint32_t left = 0; local
610 while (left < right_plus_one) {
611 uint32_t center = left + (right_plus_one - left) / 2;
618 left = center + 1;
625 uint32_t closestIndex = left;
690 uint32_t left = 0; local
692 while (left < right_plus_one) {
693 uint32_t center = left + (right_plus_one - left) /
[all...]
/frameworks/av/services/audioflinger/
H A DAudioResamplerCubic.cpp31 memset(&left, 0, sizeof(state));
82 out[outputIndex++] += vl * interp(&left, x);
108 advance(&left, in[inputIndex*2]);
150 sample = interp(&left, x);
176 advance(&left, in[inputIndex]);
/frameworks/base/core/java/android/view/animation/
H A DTransformation.java128 setClipRect(mClipRect.left + bounds.left, mClipRect.top + bounds.top,
147 setClipRect(mClipRect.left + bounds.left, mClipRect.top + bounds.top,
176 setClipRect(r.left, r.top, r.right, r.bottom);
/frameworks/base/libs/androidfw/
H A DLocaleData.cpp132 const uint32_t left = packLocale(requested_language, left_region); local
138 // Find the parents of the request, but stop as soon as we saw left or right
139 const uint32_t left_and_right[] = {left, right};
144 if (left_right_index == 0) { // We saw left earlier
151 // If we are here, neither left nor right are an ancestor of the
156 left, requested_script, request_ancestors, ancestor_count);
163 // If we are here, left and right are equidistant from the request. We will
165 const bool left_is_representative = isRepresentative(left, requested_script);
175 return (int64_t) right - (int64_t) left;
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
H A DSignalTileView.java93 int left, right;
96 left = right - indicator.getMeasuredWidth();
98 left = mIconFrame.getRight();
99 right = left + indicator.getMeasuredWidth();
102 left,
H A DTileLayout.java122 int left = getColumnStart(column);
126 right = w - left;
127 left = right - mCellWidth;
129 right = left + mCellWidth;
131 record.tileView.layout(left, top, right, top + record.tileView.getMeasuredHeight());
/frameworks/opt/setupwizard/library/eclair-mr1/src/com/android/setupwizardlib/view/
H A DNavigationBarButton.java56 public void setCompoundDrawables(Drawable left, Drawable top, Drawable right, Drawable bottom) { argument
57 if (left != null) left = TintedDrawable.wrap(left.mutate());
61 super.setCompoundDrawables(left, top, right, bottom);
97 drawables[0] = compoundDrawables[0]; // left
/frameworks/base/core/java/android/view/
H A DRenderNode.java270 return nSetClipBounds(mNativeRenderNode, rect.left, rect.top, rect.right, rect.bottom);
319 return nSetOutlineRoundRect(mNativeRenderNode, outline.mRect.left, outline.mRect.top,
671 * Sets the left position for the display list.
673 * @param left The left position, in pixels, of the display list
677 public boolean setLeft(int left) { argument
678 return nSetLeft(mNativeRenderNode, left);
715 * Sets the left and top positions for the display list
717 * @param left The left positio
727 setLeftTopRightBottom(int left, int top, int right, int bottom) argument
828 nSetLeftTopRightBottom(long renderNode, int left, int top, int right, int bottom) argument
833 nSetLeft(long renderNode, int left) argument
840 nSetClipBounds(long renderNode, int left, int top, int right, int bottom) argument
845 nSetOutlineRoundRect(long renderNode, int left, int top, int right, int bottom, float radius, float alpha) argument
[all...]
/frameworks/base/core/java/android/widget/
H A DSlidingDrawer.java407 final int left = mHandle.getLeft();
408 mTouchDelta = (int) x - left;
409 prepareTracking(left);
464 final int left = mHandle.getLeft();
470 (mExpanded && left < mTapThreshold + mTopOffset) ||
471 (!mExpanded && left > mBottomOffset + mRight - mLeft -
478 animateClose(vertical ? top : left);
480 animateOpen(vertical ? top : left);
483 performFling(vertical ? top : left, velocity, false);
487 performFling(vertical ? top : left, velocit
[all...]
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
H A DMagnificationController.java211 + mMagnificationBounds.left - offsetX) / scale;
297 + mMagnificationBounds.left - getOffsetX()) / getScale();
597 + mMagnificationBounds.left - centerX * scale;
678 private void requestRectangleOnScreen(int left, int top, int right, int bottom) { argument
682 if (!magnifiedFrame.intersects(left, top, right, bottom)) {
691 if (right - left > magnifFrameInScreenCoords.width()) {
695 scrollX = left - magnifFrameInScreenCoords.left;
699 } else if (left < magnifFrameInScreenCoords.left) {
975 onRectangleOnScreenRequested(int left, int top, int right, int bottom) argument
984 handleOnRectangleOnScreenRequested(int left, int top, int right, int bottom) argument
[all...]
/frameworks/base/services/core/java/com/android/server/wm/
H A DWindowStateAnimator.java711 mTmpSize.set(w.mFrame.left + w.mXOffset, w.mFrame.top + w.mYOffset, 0, 0);
720 + " x=" + mTmpSize.left + " y=" + mTmpSize.top
738 && attrs.surfaceInsets.left == 0
775 + ", set left=" + w.mFrame.left + " top=" + w.mFrame.top
781 + w.mFrame.left + "," + w.mFrame.top + ") ("
787 mSurfaceController.setPositionAndLayer(mTmpSize.left, mTmpSize.top, layerStack, mAnimLayer);
797 mTmpSize.right = mTmpSize.left + w.mRequestedWidth;
805 mTmpSize.left = 0;
809 mTmpSize.right = mTmpSize.left
2026 setMoveAnimation(int left, int top) argument
[all...]
H A DBoundsAnimationController.java151 mTmpRect.left = (int) (mFrom.left * remains + mTo.left * value + 0.5f);
159 mTmpTaskBounds.set(mTmpRect.left, mTmpRect.top,
160 mTmpRect.left + mFrozenTaskWidth, mTmpRect.top + mFrozenTaskHeight);
185 mTmpRect.set(mFrom.left, mFrom.top,
186 mFrom.left + mFrozenTaskWidth, mFrom.top + mFrozenTaskHeight);
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
H A DAudioProfile.cpp43 bool operator == (const SortedVector<T> &left, const SortedVector<T> &right) argument
45 if (left.size() != right.size()) {
49 if (left[index] != right[index]) {
56 bool operator == (const AudioProfile &left, const AudioProfile &compareTo) argument
58 return (left.getFormat() == compareTo.getFormat()) &&
59 (left.getChannels() == compareTo.getChannels()) &&
60 (left.getSampleRates() == compareTo.getSampleRates());
/frameworks/base/libs/hwui/
H A DRecordingCanvas.cpp118 int RecordingCanvas::saveLayer(float left, float top, float right, float bottom, argument
130 const Rect unmappedBounds(left, top, right, bottom);
173 snapshot.transform->loadTranslate(-unmappedBounds.left, -unmappedBounds.top, 0.0f);
176 clip.translate(-unmappedBounds.left, -unmappedBounds.top);
177 snapshot.resetClip(clip.left, clip.top, clip.right, clip.bottom);
226 bool RecordingCanvas::quickRejectRect(float left, float top, float right, float bottom) const { argument
227 return mState.quickRejectConservative(left, top, right, bottom);
233 bool RecordingCanvas::clipRect(float left, float top, float right, float bottom, SkRegion::Op op) { argument
234 return mState.clipRect(left, top, right, bottom, op);
291 void RecordingCanvas::drawRect(float left, floa argument
305 float left = FLT_MAX; local
357 drawRoundRect(float left, float top, float right, float bottom, float rx, float ry, const SkPaint& paint) argument
370 drawRoundRect( CanvasPropertyPrimitive* left, CanvasPropertyPrimitive* top, CanvasPropertyPrimitive* right, CanvasPropertyPrimitive* bottom, CanvasPropertyPrimitive* rx, CanvasPropertyPrimitive* ry, CanvasPropertyPaint* paint) argument
412 drawOval(float left, float top, float right, float bottom, const SkPaint& paint) argument
420 drawArc(float left, float top, float right, float bottom, float startAngle, float sweepAngle, bool useCenter, const SkPaint& paint) argument
453 drawBitmap(const SkBitmap& bitmap, float left, float top, const SkPaint* paint) argument
[all...]
/frameworks/rs/scriptc/
H A Drs_matrix.rsh60 * left: Left plane.
69 rsExtractFrustumPlanes(const rs_matrix4x4* viewProj, float4* left, float4* right, float4* top,
72 left->x = viewProj->m[3] + viewProj->m[0];
73 left->y = viewProj->m[7] + viewProj->m[4];
74 left->z = viewProj->m[11] + viewProj->m[8];
75 left->w = viewProj->m[15] + viewProj->m[12];
102 float len = length(left->xyz);
103 *left /= len;
119 rsExtractFrustumPlanes(const rs_matrix4x4* viewProj, float4* left, float4* righ, float4* top,
130 * left
[all...]
/frameworks/base/tests/VoiceInteraction/src/com/android/test/voiceinteraction/
H A DAssistVisualizer.java48 int left = parentLeft+node.getLeft();
50 bounds = new Rect(left, top, left+node.getWidth(), top+node.getHeight());
156 int left = parentLeft + root.getLeft();
168 left -= root.getScrollX();
173 buildTextRects(child, matrixStackIndex, left, top);
186 canvas.drawRect(te.bounds.left - mTmpLocation[0], te.bounds.top - mTmpLocation[1],
195 canvas.drawRect(0, 0, te.bounds.right - te.bounds.left, te.bounds.bottom - te.bounds.top,
200 te.bounds.right - te.bounds.left, te.lineBaselines[j] - te.scrollY,
/frameworks/rs/java/tests/HealingBrush/src/rs/example/android/com/healingbrush/
H A DFindRegion.java56 mRoiBounds.left < 0
66 mRoiBounds.left, mRoiBounds.top, mRoiBounds.width(), mRoiBounds.height());
113 int noSearch_x = mRoiBounds.left - mSearchRange.left;
133 mCutOffsetX = mina[0] + mSearchRange.left;
152 int mPasteOffX = (int) mRect.left - 1;
181 path.moveTo(xy[i] - rec.left, xy[i + 1] - rec.top);
183 path.lineTo(xy[i] - rec.left, xy[i + 1] - rec.top);
192 int xmin = Math.max(0, (int) (mRoiBounds.left - mRoiBounds.width() * 2));
/frameworks/support/v7/cardview/src/android/support/v7/widget/
H A DCardView.java125 public void setPadding(int left, int top, int right, int bottom) { argument
172 * @param left The left padding in pixels
182 public void setContentPadding(int left, int top, int right, int bottom) { argument
183 mContentPadding.set(left, top, right, bottom);
240 mContentPadding.left = a.getDimensionPixelSize(R.styleable.CardView_contentPaddingLeft,
301 * Returns the inner padding after the Card's left edge
303 * @return the inner padding after the Card's left edge
306 return mContentPadding.left;
457 public void setShadowPadding(int left, in
[all...]
/frameworks/base/graphics/java/android/graphics/
H A DBitmapRegionDecoder.java185 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);

Completed in 1164 milliseconds

1234567891011>>