Searched refs:left (Results 276 - 300 of 619) sorted by relevance

<<11121314151617181920>>

/frameworks/rs/api/
H A Drs_matrix.spec53 arg: float4* left, "Left plane."
64 left->x = viewProj->m[3] + viewProj->m[0];
65 left->y = viewProj->m[7] + viewProj->m[4];
66 left->z = viewProj->m[11] + viewProj->m[8];
67 left->w = viewProj->m[15] + viewProj->m[12];
94 float len = length(left->xyz);
95 *left /= len;
113 arg: float4* left, "Left plane."
123 float distToCenter = dot(left->xyz, sphere->xyz) + left
[all...]
/frameworks/base/graphics/java/android/graphics/drawable/
H A DGradientDrawable.java162 /** draw the gradient from the top-right to the bottom-left */
164 /** draw the gradient from the right to the left */
166 /** draw the gradient from the bottom-right to the top-left */
170 /** draw the gradient from the bottom-left to the top-right */
172 /** draw the gradient from the left to the right */
174 /** draw the gradient from the top-left to the bottom-right */
203 * top-left, top-right, bottom-right, bottom-left. This property
559 canvas.saveLayer(mRect.left - rad, mRect.top - rad,
624 canvas.drawLine(r.left,
[all...]
H A DLayerDrawable.java396 * @param left The left padding of the new layer.
402 int left, int top, int right, int bottom) {
407 childDrawable.mInsetL = left;
700 * @param l number of pixels to add to the left bound
735 * @param l number of pixels to inset from the left bound
745 * @return number of pixels to inset from the left bound
957 padding.left = paddingLeft;
965 return padding.left != 0 || padding.top != 0 || padding.right != 0 || padding.bottom != 0;
978 * @param left th
401 addLayer(Drawable dr, int[] themeAttrs, int id, int left, int top, int right, int bottom) argument
989 setPadding(int left, int top, int right, int bottom) argument
1203 setHotspotBounds(int left, int top, int right, int bottom) argument
[all...]
H A DDrawable.java154 public void setBounds(int left, int top, int right, int bottom) { argument
161 if (oldBounds.left != left || oldBounds.top != top ||
167 mBounds.set(left, top, right, bottom);
177 setBounds(bounds.left, bounds.top, bounds.right, bounds.bottom);
615 * @param left position in pixels of the left bound
621 public void setHotspotBounds(int left, int top, int right, int bottom) {} argument
775 * (right-to left). See {@link android.util.LayoutDirection}.
784 * right-to-left
[all...]
/frameworks/av/media/libstagefright/
H A DOggExtractor.cpp429 size_t left = 0; local
431 while (left < right_plus_one) {
432 size_t center = left + (right_plus_one - left) / 2;
439 left = center + 1;
441 left = center;
446 if (left == mTableOfContents.size()) {
447 --left;
450 const TOCEntry &entry = mTableOfContents.itemAt(left);
453 left, mTableOfContent
[all...]
/frameworks/base/core/java/android/app/
H A DWallpaperManager.java183 public void setBounds(int left, int top, int right, int bottom) { argument
184 mDrawLeft = left + (right-left - mWidth) / 2;
409 * 0 for left-aligned, 0.5 for horizontal center-aligned, and 1 for right-aligned
459 float left = (inWidth - outWidth) * horizontalAlignment;
460 float right = left + outWidth;
463 cropRectF = new RectF(left, top, right, bottom);
508 crop = Bitmap.createBitmap(fullSize, roundedTrueCrop.left,
550 cropRect.left = (inWidth - cropWidth) * horizontalAlignment;
551 cropRect.right = cropRect.left
[all...]
H A DMediaRouteButton.java375 final int left = getPaddingLeft();
382 final int drawLeft = left + (right - left - drawWidth) / 2;
/frameworks/base/libs/hwui/
H A DGlopBuilder.cpp55 quadVertex[0] = {0, 0, uvs.left, uvs.top};
57 quadVertex[2] = {0, 1, uvs.left, uvs.bottom};
482 mOutGlop->transform.modelView.loadTranslate(destination.left, destination.top, 0.0f);
492 float left = destination.left; local
501 left = (int) floorf(left + translateX + 0.5f) - translateX;
506 mOutGlop->transform.modelView.loadTranslate(left, top, 0.0f);
531 offsetX = (int) floorf(offsetX + translateX + source.left + 0.5f) - translateX - source.left;
[all...]
/frameworks/base/media/java/android/media/tv/
H A DTvInputService.java657 * @param left Left position in pixels, relative to the overlay view.
663 public void layoutSurface(final int left, final int top, final int right, argument
665 if (left > right || top > bottom) {
672 if (DEBUG) Log.d(TAG, "layoutSurface (l=" + left + ", t=" + top + ", r="
675 mSessionCallback.onLayoutSurface(left, top, right, bottom);
1181 onOverlayViewSizeChanged(frame.right - frame.left, frame.bottom - frame.top);
1211 frame.right - frame.left, frame.bottom - frame.top,
1212 frame.left, frame.top, type, flags, PixelFormat.TRANSPARENT);
1231 onOverlayViewSizeChanged(frame.right - frame.left, frame.bottom - frame.top);
1237 mWindowParams.x = frame.left;
[all...]
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/glrenderer/
H A DGLES20Canvas.java593 int left = 0;
598 left = 1;
603 outRect.set(left, top, right, bottom);
636 mTempTextureMatrix[12] = source.left;
649 source.left /= texWidth;
657 target.right = target.left + target.width() * (xBound - source.left) / source.width();
678 draw(params, GLES20.GL_TRIANGLE_STRIP, COUNT_FILL_VERTEX, target.left, target.top,
780 fillRect(target.left, target.top, target.width(), target.height(), toColor);
998 bounds.left
[all...]
/frameworks/native/libs/gui/
H A DSurface.cpp349 // the origin being in the bottom-left corner. Here we flip to the
350 // convention that the rest of the system uses (top-left corner) by
371 int left = rect.left; local
378 Rect flippedRect{top, width - right, bottom, width - left};
385 width - left, height - top};
391 Rect flippedRect{height - bottom, left, local
397 Rect flippedRect{left, top, right, bottom};
790 realRect.left, realRect.top, realRect.right, realRect.bottom);
924 // specified with a bottom-left origi
[all...]
/frameworks/base/core/java/android/view/
H A DView.java326 * expressed as a pair of <em>left</em> and <em>top</em> coordinates, and
333 * {@link #getLeft()} and {@link #getTop()}. The former returns the left, or X,
338 * right of the left edge of its direct parent.
376 * is expressed in pixels for the left, top, right and bottom parts of the view.
378 * pixels. For instance, a left padding of 2 will push the view's content by
379 * 2 pixels to the right of the left edge. Padding can be set using the
1155 * Use with {@link #focusSearch(int)}. Move focus to the left.
1925 * right-to-left direction.
2313 * Flag indicating that start/end padding has been resolved into left/right padding
2322 * Flag indicating that the start/end drawables has been resolved into left/righ
10797 onLayoutChange(View v, int left, int top, int right, int bottom, int oldLeft, int oldTop, int oldRight, int oldBottom) argument
11686 setLeft(int left) argument
13120 postInvalidate(int left, int top, int right, int bottom) argument
13164 postInvalidateDelayed(long delayMilliseconds, int left, int top, int right, int bottom) argument
13215 postInvalidateOnAnimation(int left, int top, int right, int bottom) argument
16589 setOpticalFrame(int left, int top, int right, int bottom) argument
16667 onLayout(boolean changed, int left, int top, int right, int bottom) argument
16683 setFrame(int left, int top, int right, int bottom) argument
16749 setLeftTopRightBottom(int left, int top, int right, int bottom) argument
17706 setPadding(int left, int top, int right, int bottom) argument
17724 internalSetPadding(int left, int top, int right, int bottom) argument
21515 int left; field in class:View.AttachInfo.InvalidateInfo
[all...]
/frameworks/native/opengl/libagl/
H A Degl.cpp55 EGLint left, EGLint top, EGLint width, EGLint height);
254 : left(0), top(0), right(w), bottom(h) { }
256 : left(l), top(t), right(r), bottom(b) { }
258 left = max(left, r.left);
265 return (left>=right || top>=bottom);
269 what, left, top, right-left, bottom-top);
272 int32_t left; member in struct:android::egl_window_surface_v2_t::Rect
2181 eglSetSwapRectangleANDROID(EGLDisplay dpy, EGLSurface draw, EGLint left, EGLint top, EGLint width, EGLint height) argument
[all...]
/frameworks/base/core/java/android/widget/
H A DAbsSeekBar.java62 * On key presses (right or left), the amount to increment/decrement the
476 final int left = (isLayoutRtl() && mMirrorForRtl) ? available - thumbPos : thumbPos;
477 final int right = left + thumbWidth;
483 background.setHotspotBounds(left + offsetX, top + offsetY,
488 thumb.setBounds(left, top, right, bottom);
518 tempRect.left += insets.left;
H A DAbsSpinner.java171 mSpinnerPadding.left = mPaddingLeft > mSelectionLeftPadding ? mPaddingLeft
213 preferredWidth = getChildWidth(view) + mSpinnerPadding.left + mSpinnerPadding.right;
223 preferredWidth = mSpinnerPadding.left + mSpinnerPadding.right;
H A DCompoundButton.java421 final int left = isLayoutRtl() ? getWidth() - drawableWidth : 0;
424 buttonDrawable.setBounds(left, top, right, bottom);
428 background.setHotspotBounds(left, top, right, bottom);
H A DTabWidget.java253 * Sets the drawable to use as the left part of the strip below the
255 * @param drawable the left strip drawable
264 * Sets the drawable to use as the left part of the strip below the
267 * left strip drawable
347 bounds.left = selectedChild.getLeft();
350 leftStrip.setBounds(Math.min(0, bounds.left - leftStrip.getIntrinsicWidth()),
351 myHeight - leftStrip.getIntrinsicHeight(), bounds.left, myHeight);
/frameworks/base/core/java/com/android/internal/widget/
H A DActionBarOverlayLayout.java287 private boolean applyInsets(View view, Rect insets, boolean left, boolean top, argument
291 if (left && lp.leftMargin != insets.left) {
293 lp.leftMargin = insets.left;
468 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
472 final int parentRight = right - left - getPaddingRight();
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DActivatableNotificationView.java489 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
490 super.onLayout(changed, left, top, right, bottom);
624 float left = (getWidth() * (0.5f - HORIZONTAL_COLLAPSED_REST_PARTIAL / 2.0f) *
626 float right = getWidth() - left;
646 mAppearAnimationRect.set(left, top, right, bottom);
647 setOutlineRect(left, top + mAppearAnimationTranslation, right,
H A DStatusBarIconView.java70 // left).
262 final int tw = r.right - r.left;
265 int dw = r.left + tw + r.right;
269 mNumberX = w-r.right-((dw-r.right-r.left)/2);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DKeyguardAffordanceHelper.java524 public void launchAffordance(boolean animate, boolean left) { argument
529 KeyguardAffordanceView targetView = left ? mLeftIcon : mRightIcon;
530 KeyguardAffordanceView otherView = left ? mRightIcon : mLeftIcon;
533 fling(0, false, !left);
537 mCallback.onAnimationToSideStarted(!left, mTranslation, 0);
538 mTranslation = left ? mCallback.getMaxTranslationDistance()
H A DStatusBarWindowView.java69 boolean paddingChanged = insets.left != getPaddingLeft()
78 // Drop top inset, apply left inset and pass through bottom inset.
80 setPadding(insets.left, 0, 0, 0);
82 insets.left = 0;
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/
H A DActionBarOverlayLayout.java257 private boolean applyInsets(View view, Rect insets, boolean left, boolean top, argument
261 if (left && lp.leftMargin != insets.left) {
263 lp.leftMargin = insets.left;
417 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
421 final int parentRight = right - left - getPaddingRight();
/frameworks/base/core/java/android/service/wallpaper/
H A DWallpaperService.java668 mLayout.surfaceInsets.left += mOutsets.left;
689 w += padding.left + padding.right + mOutsets.left + mOutsets.right;
691 mOverscanInsets.left += padding.left;
695 mContentInsets.left += padding.left;
699 mStableInsets.left += padding.left;
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/
H A DFakeShadowDrawable.java190 canvas.translate(mCardBounds.left + inset, mCardBounds.top + inset);
211 canvas.translate(mCardBounds.left + inset, mCardBounds.bottom - inset);
270 mCardBounds.set(bounds.left + mMaxShadowSize, bounds.top + verticalOffset,

Completed in 1522 milliseconds

<<11121314151617181920>>