Searched defs:left (Results 101 - 125 of 334) sorted by relevance

1234567891011>>

/frameworks/base/libs/hwui/tests/common/
H A DTestUtils.h51 EXPECT_TRUE(MathUtils::areEqual(a.left, b.left) \
157 static sp<RenderNode> createNode(int left, int top, int right, int bottom, argument
167 props.setLeftTopRightBottom(left, top, right, bottom);
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
H A DRationalTest.java439 private static <T extends Comparable<? super T>> void assertLessThan(T left, T right) { argument
440 assertTrue("Expected (LR) left " + left + " to be less than right " + right,
441 left.compareTo(right) < 0);
442 assertTrue("Expected (RL) left " + left + " to be less than right " + right,
443 right.compareTo(left) > 0);
446 private static <T extends Comparable<? super T>> void assertGreaterThan(T left, T right) { argument
447 assertTrue("Expected (LR) left " + left
453 assertCompareEquals(T left, T right) argument
[all...]
/frameworks/base/opengl/java/android/opengl/
H A DGLU.java87 * @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/base/packages/SystemUI/src/com/android/systemui/assist/
H A DAssistDisclosure.java241 private void drawBeam(Canvas canvas, float left, float top, float right, float bottom, argument
243 canvas.drawRect(left - padding,
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DRegion_Delegate.java182 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;
296 int left, int top, int right, int bottom) {
302 dstRegion.mArea = new Area(new Rectangle2D.Float(left, top, right - left, bottom - top));
337 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
295 nativeSetRect(long native_dst, int left, int top, int right, int bottom) argument
370 nativeOp(long native_dst, int left, int top, int right, int bottom, int op) argument
[all...]
/frameworks/base/tools/layoutlib/bridge/src/android/view/
H A DRenderNode_Delegate.java183 /*package*/ static boolean nSetLeft(long renderNode, int left) { argument
185 if (delegate != null && delegate.mLeft != left) {
186 delegate.mLeft = left;
223 /*package*/ static boolean nSetLeftTopRightBottom(long renderNode, int left, int top, int right, argument
226 if (delegate != null && (delegate.mLeft != left || delegate.mTop != top || delegate
228 delegate.mLeft = left;
/frameworks/data-binding/compilerCommon/src/main/java/android/databinding/tool/util/
H A DXmlEditor.java97 replace(lines, endLayoutPositions.left, endLayoutPositions.right, "");
433 private final Position left; field in class:XmlEditor.PositionPair
436 private PositionPair(Position left, Position right) { argument
437 this.left = left;
/frameworks/native/include/private/ui/
H A DRegionHelper.h81 TYPE left, right; local
82 int inside = spannerInner.next(current.left, current.right);
84 if (current.left < current.right &&
234 SpannerBase::lhs_head = lhs.rects->left + lhs.dx;
243 SpannerBase::rhs_head = rhs.rects->left + rhs.dx;
248 SpannerBase::lhs_head = lhs.rects->left + lhs.dx;
252 SpannerBase::rhs_head = rhs.rects->left + rhs.dx;
263 inline int next(TYPE& left, TYPE& right) argument
267 int inside = SpannerBase::next(left, right, more_lhs, more_rhs);
279 void advance(region& reg, TYPE& left, TYP argument
[all...]
/frameworks/opt/setupwizard/library/full-support/src/com/android/setupwizardlib/
H A DSetupWizardRecyclerLayout.java102 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
103 super.onLayout(changed, left, top, right, bottom);
179 * theme and inset it {@code inset} pixels to the right (or left in RTL layouts).
/frameworks/rs/
H A DrsMatrix4x4.cpp254 // is also the destination, e.g. left.loadMultiply(left, right);
276 void Matrix4x4::loadOrtho(float left, float right, float bottom, float top, float near, float far) { argument
278 m[0] = 2.f / (right - left);
281 m[12]= -(right + left) / (right - left);
286 void Matrix4x4::loadFrustum(float left, float right, float bottom, float top, float near, float far) { argument
288 m[0] = 2.f * near / (right - left);
290 m[8] = (right + left) / (right - left);
301 float left = bottom * aspect; local
[all...]
/frameworks/support/design/src/android/support/design/widget/
H A DCollapsingTextHelper.java153 void setExpandedBounds(int left, int top, int right, int bottom) {
154 if (!rectEquals(mExpandedBounds, left, top, right, bottom)) {
155 mExpandedBounds.set(left, top, right, bottom);
161 void setCollapsedBounds(int left, int top, int right, int bottom) {
162 if (!rectEquals(mCollapsedBounds, left, top, right, bottom)) {
163 mCollapsedBounds.set(left, top, right, bottom);
388 mCollapsedDrawX = mCollapsedBounds.left;
420 mExpandedDrawX = mExpandedBounds.left;
431 mCurrentBounds.left = lerp(mExpandedBounds.left, mCollapsedBound
662 rectEquals(Rect r, int left, int top, int right, int bottom) argument
[all...]
/frameworks/support/graphics/drawable/static/src/android/support/graphics/drawable/
H A DVectorDrawableCommon.java96 public void setHotspotBounds(int left, int top, int right, int bottom) { argument
98 DrawableCompat.setHotspotBounds(mDelegateDrawable, left, top, right, bottom);
/frameworks/support/v4/java/android/support/v4/graphics/drawable/
H A DDrawableCompat.java47 void setHotspotBounds(Drawable drawable, int left, int top, int right, int bottom); argument
84 public void setHotspotBounds(Drawable drawable, int left, int top, int right, int bottom) { argument
218 public void setHotspotBounds(Drawable drawable, int left, int top, int right, int bottom) { argument
219 DrawableCompatLollipop.setHotspotBounds(drawable, left, top, right, bottom);
323 * direction is RTL (right-to left). See
339 * direction is RTL right-to-left. See {@link android.util.LayoutDirection}.
369 public static void setHotspotBounds(@NonNull Drawable drawable, int left, int top, argument
371 IMPL.setHotspotBounds(drawable, 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/java/android/support/v4/widget/
H A DSwipeProgressBar.java104 mParent, mBounds.left, mBounds.top, mBounds.right, mBounds.bottom);
233 mParent, mBounds.left, mBounds.top, mBounds.right, mBounds.bottom);
270 void setBounds(int left, int top, int right, int bottom) { argument
271 mBounds.left = left;
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
H A DListViewCompat.java89 mSelectionLeftPadding = padding.left;
222 selectorRect.left -= mSelectionLeftPadding;
395 public void setHotspotBounds(int left, int top, int right, int bottom) { argument
397 super.setHotspotBounds(left, top, right, bottom);
/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/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/wilhelm/tests/sandbox/
H A Dintbufq.c52 short left; member in struct:__anon1828
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/core/java/android/view/
H A DDisplayListCanvas.java243 public void drawRoundRect(CanvasProperty<Float> left, CanvasProperty<Float> top, argument
246 nDrawRoundRect(mNativeCanvasWrapper, left.getNativeContainer(), top.getNativeContainer(),
H A DViewStructure.java41 * @param left The view's left position, in pixels relative to its parent's left edge.
50 public abstract void setDimens(int left, int top, int scrollX, int scrollY, int width, argument
/frameworks/base/core/java/android/view/animation/
H A DAnimationSet.java337 public void initializeInvalidateRegion(int left, int top, int right, int bottom) { argument
339 region.set(left, top, right, bottom);
/frameworks/base/core/java/android/view/inputmethod/
H A DCursorAnchorInfo.java127 * insertion marker or character bounds is placed at right-to-left (RTL) character.
335 * @param left x coordinate of the left edge of the character in local coordinates.
345 public Builder addCharacterBounds(final int index, final float left, final float top, argument
353 mCharacterBoundsArrayBuilder.append(index, left, top, right, bottom, flags);
/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.java213 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
224 final int width = right - left;

Completed in 8630 milliseconds

1234567891011>>