Searched defs:right (Results 26 - 50 of 75) sorted by relevance

123

/frameworks/base/opengl/java/android/opengl/
H A DMatrix.java60 * @param rhs The float array that holds the right-hand-side matrix.
83 * @param rhsVec The float array that holds the right-hand-side vector.
229 * @param right
236 float left, float right, float bottom, float top,
238 if (left == right) {
239 throw new IllegalArgumentException("left == right");
248 final float r_width = 1.0f / (right - left);
254 final float tx = -(right + left) * r_width;
282 * @param right
290 float left, float right, floa
235 orthoM(float[] m, int mOffset, float left, float right, float bottom, float top, float near, float far) argument
289 frustumM(float[] m, int offset, float left, float right, float bottom, float top, float near, float far) argument
[all...]
/frameworks/base/services/audioflinger/
H A DAudioResampler.cpp145 void AudioResampler::setVolume(int16_t left, int16_t right) { argument
148 mVolume[1] = right;
373 * vl, vr : left and right gain
483 * vl, vr : left and right gain
H A DAudioDumpInterface.cpp339 status_t AudioStreamOutDump::setVolume(float left, float right) argument
341 if (mFinalStream != 0 ) return mFinalStream->setVolume(left, right);
/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;
297 int left, int top, int right, int bottom) {
303 dstRegion.mArea = new Area(new Rectangle2D.Float(left, top, right - left, bottom - top));
338 rect.left = rect.top = rect.right = rect.bottom = 0;
344 rect.right = bounds.x + bounds.width;
372 int left, int top, int right, int bottom, int op) {
379 new Rectangle2D.Float(left, top, right
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
296 nativeSetRect(int native_dst, int left, int top, int right, int bottom) argument
371 nativeOp(int native_dst, int left, int top, int right, int bottom, int op) argument
[all...]
H A DPath_Delegate.java320 pathDelegate.addRect(rect.left, rect.top, rect.right, rect.bottom, dir);
325 float left, float top, float right, float bottom, int dir) {
331 pathDelegate.addRect(left, top, right, bottom, dir);
560 bounds.right = (float)rect.getMaxX();
737 * @param right The right side of a rectangle to add to the path
741 private void addRect(float left, float top, float right, float bottom, argument
749 lineTo(right, top);
750 lineTo(right, bottom);
755 lineTo(right, botto
324 native_addRect(int nPath, float left, float top, float right, float bottom, int dir) argument
[all...]
/frameworks/base/core/jni/android/graphics/
H A DRegion.cpp29 static jboolean Region_setRect(JNIEnv* env, jobject, SkRegion* dst, int left, int top, int right, int bottom) { argument
30 return dst->setRect(left, top, right, bottom);
48 static jboolean Region_op0(JNIEnv* env, jobject, SkRegion* dst, int left, int top, int right, int bottom, int op) { argument
51 ir.set(left, top, right, bottom);
83 static jboolean Region_quickContains(JNIEnv* env, jobject region, int left, int top, int right, int bottom) { argument
84 return GetSkRegion(env, region)->quickContains(left, top, right, bottom);
87 static jboolean Region_quickRejectIIII(JNIEnv* env, jobject region, int left, int top, int right, int bottom) { argument
89 ir.set(left, top, right, bottom);
H A DPath.cpp165 static void addRect__FFFFI(JNIEnv* env, jobject clazz, SkPath* obj, jfloat left, jfloat top, jfloat right, jfloat bottom, SkPath::Direction dir) { argument
168 SkScalar right_ = SkFloatToScalar(right);
/frameworks/base/graphics/java/android/graphics/
H A DRegion.java56 nativeSetRect(mNativeRegion, r.left, r.top, r.right, r.bottom);
61 public Region(int left, int top, int right, int bottom) { argument
63 nativeSetRect(mNativeRegion, left, top, right, bottom);
81 return nativeSetRect(mNativeRegion, r.left, r.top, r.right, r.bottom);
86 public boolean set(int left, int top, int right, int bottom) { argument
87 return nativeSetRect(mNativeRegion, left, top, right, bottom);
166 return quickContains(r.left, r.top, r.right, r.bottom);
175 public native boolean quickContains(int left, int top, int right, argument
184 return quickReject(r.left, r.top, r.right, r.bottom);
192 public native boolean quickReject(int left, int top, int right, in argument
251 op(int left, int top, int right, int bottom, Op op) argument
353 nativeSetRect(int native_dst, int left, int top, int right, int bottom) argument
361 nativeOp(int native_dst, int left, int top, int right, int bottom, int op) argument
[all...]
H A DPath.java362 * @param right The right side of a rectangle to add to the path
366 public void addRect(float left, float top, float right, float bottom, argument
368 native_addRect(mNativePath, left, top, right, bottom, dir.nativeInt);
427 * two radius values [X, Y]. The corners are ordered top-left, top-right,
428 * bottom-right, bottom-left
573 float right, float bottom, int dir);
572 native_addRect(int nPath, float left, float top, float right, float bottom, int dir) argument
/frameworks/base/graphics/java/android/graphics/drawable/
H A DShapeDrawable.java120 * @param right padding for the right side (in pixels)
123 public void setPadding(int left, int top, int right, int bottom) { argument
124 if ((left | top | right | bottom) == 0) {
130 mShapeState.mPadding.set(left, top, right, bottom);
136 * Define the padding in the Rect object as: left, top, right, bottom.
H A DDrawable.java121 public void setBounds(int left, int top, int right, int bottom) { argument
129 oldBounds.right != right || oldBounds.bottom != bottom) {
130 mBounds.set(left, top, right, bottom);
140 setBounds(bounds.left, bounds.top, bounds.right, bounds.bottom);
H A DLayerDrawable.java132 int right = a.getDimensionPixelOffset(
157 addLayer(dr, id, left, top, right, bottom);
171 * @param right The right padding of the new layer.
174 private void addLayer(Drawable layer, int id, int left, int top, int right, int bottom) { argument
194 childDrawable.mInsetR = right;
283 right -= r;
339 padding.right = 0;
347 padding.right += mPaddingR[i];
452 bounds.right
[all...]
/frameworks/base/include/ui/egl/
H A Dandroid_natives.h50 int32_t right; member in struct:android_native_rect_t
/frameworks/base/include/utils/
H A DList.h116 inline bool operator==(const _Iter& right) const {
117 return mpNode == right.mpNode; }
119 inline bool operator!=(const _Iter& right) const {
120 return mpNode != right.mpNode; }
126 inline bool operator==(const OTHER& right) const {
127 return mpNode == right.mpNode; }
130 inline bool operator!=(const OTHER& right) const {
131 return mpNode != right.mpNode; }
178 List<T>& operator=(const List<T>& right);
313 List<T>& List<T>::operator=(const List<T>& right) argument
[all...]
/frameworks/base/media/libmediaplayerservice/
H A DMediaPlayerService.h94 void setVolume(float left, float right);
151 void setVolume(float left, float right) {} argument
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
H A DGcSnapshot.java330 mLayerBounds.right, mLayerBounds.bottom,
519 public boolean clipRect(float left, float top, float right, float bottom, int regionOp) { argument
520 return clip(new Rectangle2D.Float(left, top, right - left, bottom - top), regionOp);
674 mLayerBounds.left, mLayerBounds.top, mLayerBounds.right, mLayerBounds.bottom,
687 mLayerBounds.left, mLayerBounds.top, mLayerBounds.right, mLayerBounds.bottom,
688 mLayerBounds.left, mLayerBounds.top, mLayerBounds.right, mLayerBounds.bottom,
790 src.right, src.top,
791 src.right, src.bottom,
800 dst.right = Math.max(Math.max(corners[0], corners[2]), Math.max(corners[4], corners[6]));
/frameworks/base/core/java/android/app/
H A DWallpaperManager.java113 public void setBounds(int left, int top, int right, int bottom) { argument
114 mDrawLeft = left + (right-left - mWidth) / 2;
704 targetRect.right = bm.getWidth();
707 int deltaw = width - targetRect.right;
715 scale = width / (float)targetRect.right;
719 targetRect.right = (int)(targetRect.right*scale);
721 deltaw = width - targetRect.right;
/frameworks/base/core/java/android/view/
H A DSurfaceView.java292 protected boolean setFrame(int left, int top, int right, int bottom) { argument
293 boolean result = super.setFrame(left, top, right, bottom);
510 mSurfaceFrame.right = mWinFrame.width();
514 mSurfaceFrame.right = (int) (mWinFrame.width() * appInvertedScale + 0.5f);
518 final int surfaceWidth = mSurfaceFrame.right;
/frameworks/base/core/java/com/android/internal/view/menu/
H A DIconMenuView.java424 childLayoutParams.right = (int) (itemLeft + itemWidth);
445 // Last child on each row should extend to very right edge
447 childLayoutParams.right = menuWidth;
503 child.layout(childLayoutParams.left, childLayoutParams.top, childLayoutParams.right,
805 * Layout parameters specific to IconMenuView (stores the left, top, right, bottom from the
810 int left, top, right, bottom; field in class:IconMenuView.LayoutParams
/frameworks/base/core/java/android/view/animation/
H A DAnimation.java869 * @param right
876 public void getInvalidateRegion(int left, int top, int right, int bottom, argument
882 invalidate.set(left, top, right, bottom);
902 * @param right
907 public void initializeInvalidateRegion(int left, int top, int right, int bottom) { argument
909 region.set(left, top, right, bottom);
/frameworks/base/core/java/android/view/inputmethod/
H A DInputMethodManager.java1208 public void updateCursor(View view, int left, int top, int right, int bottom) { argument
1217 mTmpCursorRect.set(left, top, right, bottom);
/frameworks/base/core/java/android/widget/
H A DAdapterView.java515 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
985 * and then alternates between moving up and moving down until 1) we find the right position, or
H A DExpandableListView.java289 // the left & right bounds
294 indicatorRect.right = (mChildIndicatorRight == CHILD_INDICATOR_INHERIT) ?
298 indicatorRect.right = mIndicatorRight;
304 if (indicatorRect.left != indicatorRect.right) {
1016 * @param right The right position (relative to the left bounds of this
1019 public void setChildIndicatorBounds(int left, int right) { argument
1021 mChildIndicatorRight = right;
1044 * @param right The right positio
1047 setIndicatorBounds(int left, int right) argument
[all...]
H A DHorizontalScrollView.java573 final int right = getScrollRange();
574 if (mScroller.springBack(mScrollX, mScrollY, 0, right, 0, 0)) {
668 * if leftFocus is true, or at the right of the bounds if leftFocus
703 * if leftFocus is true, or at the right of the bounds if
707 * @param right the right offset of the bounds in which a focusable must
712 private View findFocusableViewInBounds(boolean leftFocus, int left, int right) { argument
719 * left, and its right is above the bound's right. A partially
732 if (left < viewRight && viewLeft < right) {
858 scrollAndFocus(int direction, int left, int right) argument
[all...]
/frameworks/base/media/libeffects/testlibs/
H A DEffectReverb.c368 float right = (float)(*((uint32_t *)pCmdData + 1)) / (1 << 24); local
369 LOGV("Reverb_Command EFFECT_CMD_SET_VOLUME: left %f, right %f ", left, right);
1605 // left input = (left dry * m_nLateGain) + right feedback from previous period
1641 // right input = (right dry * m_nLateGain) + left feedback from previous period
1711 // sum is fedback to right input (R + L)
1775 // ********** start early reflection generator, right
1804 // ********** end early reflection generator, right

Completed in 2231 milliseconds

123