Searched defs:right (Results 126 - 150 of 242) sorted by relevance

12345678910

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DKeyguardAffordanceView.java147 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
148 super.onLayout(changed, left, top, right, bottom);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DKeyguardAffordanceHelper.java201 public void startHintAnimation(boolean right, Runnable onFinishedListener) { argument
203 startHintAnimationPhase1(right, onFinishedListener);
206 private void startHintAnimationPhase1(final boolean right, final Runnable onFinishedListener) { argument
207 final KeyguardAffordanceView targetView = right ? mRightIcon : mLeftIcon;
209 ValueAnimator animator = getAnimatorToRadius(right, mHintGrowAmount);
225 startUnlockHintAnimationPhase2(right, onFinishedListener);
238 private void startUnlockHintAnimationPhase2(boolean right, final Runnable onFinishedListener) { argument
239 final KeyguardAffordanceView targetView = right ? mRightIcon : mLeftIcon;
240 ValueAnimator animator = getAnimatorToRadius(right, 0);
261 private ValueAnimator getAnimatorToRadius(final boolean right, in argument
[all...]
/frameworks/base/services/core/java/com/android/server/display/
H A DColorFade.java430 private void ortho(float left, float right, float bottom, float top, float znear, float zfar) { argument
431 mProjMatrix[0] = 2f / (right - left);
443 mProjMatrix[12] = -(right + left) / (right - left);
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
H A DGcSnapshot.java337 mLayerBounds.right, mLayerBounds.bottom,
526 public boolean clipRect(float left, float top, float right, float bottom, int regionOp) { argument
527 return clip(new Rectangle2D.Float(left, top, right - left, bottom - top), regionOp);
719 mLayerBounds.left, mLayerBounds.top, mLayerBounds.right, mLayerBounds.bottom,
731 mLayerBounds.left, mLayerBounds.top, mLayerBounds.right, mLayerBounds.bottom,
732 mLayerBounds.left, mLayerBounds.top, mLayerBounds.right, mLayerBounds.bottom,
830 src.right, src.top,
831 src.right, src.bottom,
840 dst.right = Math.max(Math.max(corners[0], corners[2]), Math.max(corners[4], corners[6]));
/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
[all...]
/frameworks/native/libs/ui/
H A DRegion.cpp127 int right = current->right; local
133 if (prev->right <= left) break;
135 if (prev->right > left && prev->right < right) {
136 dst.add(Rect(prev->right, top, right, bottom));
137 right = prev->right;
[all...]
/frameworks/native/services/surfaceflinger/RenderEngine/
H A DRenderEngine.cpp209 position[i*6 + 2].x = r->right;
213 position[i*6 + 4].x = r->right;
215 position[i*6 + 5].x = r->right;
232 uint32_t left, uint32_t bottom, uint32_t right, uint32_t top) {
233 glScissor(left, bottom, right, top);
231 setScissor( uint32_t left, uint32_t bottom, uint32_t right, uint32_t top) argument
/frameworks/rs/
H A DrsFont.h55 int32_t right; member in struct:android::renderscript::Font::Rect
59 right = r;
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
H A DBaseCardView.java405 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
473 onSizeChanged(0, 0, right - left, bottom - top);
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/
H A DActivityChooserView.java57 * The right button is an overflow action and provides an optimized menu
453 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
454 mActivityChooserContent.layout(0, 0, right - left, bottom - top);
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
H A DActionMenuView.java435 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
437 super.onLayout(changed, left, top, right, bottom);
447 int widthRemaining = right - left - getPaddingRight() - getPaddingLeft();
494 final int midHorizontal = (right - left) / 2;
/frameworks/av/media/libeffects/testlibs/
H A DEffectReverb.c380 float right = (float)(*((uint32_t *)pCmdData + 1)) / (1 << 24); local
381 ALOGV("Reverb_Command EFFECT_CMD_SET_VOLUME: left %f, right %f ", left, right);
1671 // left input = (left dry * m_nLateGain) + right feedback from previous period
1707 // right input = (right dry * m_nLateGain) + left feedback from previous period
1777 // sum is fedback to right input (R + L)
1841 // ********** start early reflection generator, right
1870 // ********** end early reflection generator, right
/frameworks/av/media/libstagefright/
H A DMediaCodec.cpp1022 int32_t left, top, right, bottom, width, height; local
1023 if (mOutputFormat->findRect("crop", &left, &top, &right, &bottom)) {
1024 mCrypto->notifyResolution(right - left + 1, bottom - top + 1);
2057 int32_t left, top, right, bottom; local
2058 if (info->mFormat->findRect("crop", &left, &top, &right, &bottom)) {
2059 info->mData->meta()->setRect("crop-rect", left, top, right, bottom);
/frameworks/av/services/camera/libcameraservice/api1/client2/
H A DParameters.h99 int left, top, right, bottom; member in struct:android::camera2::Parameters::Area
102 Area(int left, int top, int right, int bottom, int weight): argument
103 left(left), top(top), right(right), bottom(bottom),
106 return (left == 0) && (top == 0) && (right == 0) && (bottom == 0);
/frameworks/av/services/camera/libcameraservice/device1/
H A DCameraHardwareInterface.h639 int left, int top, int right, int bottom)
645 crop.right = right;
638 __set_crop(struct preview_stream_ops *w, int left, int top, int right, int bottom) argument
/frameworks/base/core/java/android/app/
H A DWallpaperManager.java179 public void setBounds(int left, int top, int right, int bottom) { argument
180 mDrawLeft = left + (right-left - mWidth) / 2;
396 * 0 for left-aligned, 0.5 for horizontal center-aligned, and 1 for right-aligned
447 float right = left + outWidth;
450 cropRectF = new RectF(left, top, right, bottom);
538 cropRect.right = cropRect.left + cropWidth;
541 cropRect.right = inWidth;
690 // If the URI is not of the right type, or for some reason the system wallpaper
959 * on its left, top, right, and bottom sides.
/frameworks/base/core/java/android/view/animation/
H A DAnimation.java1002 * @param right
1009 public void getInvalidateRegion(int left, int top, int right, int bottom, argument
1015 invalidate.set(left, top, right, bottom);
1035 * @param right
1040 public void initializeInvalidateRegion(int left, int top, int right, int bottom) { argument
1042 region.set(left, top, right, bottom);
/frameworks/base/core/java/android/widget/
H A DAdapterView.java541 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
1082 * and then alternates between moving up and moving down until 1) we find the right position, or
H A DAdapterViewAnimator.java763 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
H A DExpandableListView.java302 * Resolve start/end indicator. start/end indicator always takes precedence over left/right
329 * left/right child indicator when defined.
416 // the left & right bounds
421 indicatorRect.right = (mChildIndicatorRight == CHILD_INDICATOR_INHERIT) ?
425 indicatorRect.right = mIndicatorRight;
430 indicatorRect.left = width - indicatorRect.right;
431 indicatorRect.right = width - temp;
434 indicatorRect.right -= mPaddingRight;
437 indicatorRect.right += mPaddingLeft;
443 if (indicatorRect.left != indicatorRect.right) {
1174 setChildIndicatorBounds(int left, int right) argument
1223 setIndicatorBounds(int left, int right) argument
[all...]
H A DHorizontalScrollView.java842 * if leftFocus is true, or at the right of the bounds if leftFocus
877 * if leftFocus is true, or at the right of the bounds if
881 * @param right the right offset of the bounds in which a focusable must
886 private View findFocusableViewInBounds(boolean leftFocus, int left, int right) { argument
893 * left, and its right is above the bound's right. A partially
906 if (left < viewRight && viewLeft < right) {
913 (viewRight < right);
955 * method will scroll the view by one page left or right an
1032 scrollAndFocus(int direction, int left, int right) argument
[all...]
H A DLinearLayout.java963 // FIXME: this may not be right for something like wrapping text?
1385 // FIXME: this may not be right for something like wrapping text?
1481 * @param right
1484 void layoutVertical(int left, int top, int right, int bottom) { argument
1490 // Where right end of child should go
1491 final int width = right - left;
1575 * @param right
1578 void layoutHorizontal(int left, int top, int right, int bottom) { argument
1606 childLeft = mPaddingLeft + right - left - mTotalLength;
1611 childLeft = mPaddingLeft + (right
[all...]
H A DSwitch.java618 thumbWidth = mThumbDrawable.getIntrinsicWidth() - padding.left - padding.right;
644 // Adjust left and right padding to ensure there's enough room for the
647 int paddingRight = padding.right;
651 paddingRight = Math.max(paddingRight, inset.right);
703 mTempRect.left + mTempRect.right + mTouchSlop;
878 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
879 super.onLayout(changed, left, top, right, bottom);
893 opticalInsetRight = Math.max(0, insets.right - trackPadding.right);
969 if (thumbInsets.right > paddin
[all...]
/frameworks/base/core/java/com/android/internal/widget/
H A DActionBarOverlayLayout.java289 boolean bottom, boolean right) {
300 if (right && lp.rightMargin != insets.right) {
302 lp.rightMargin = insets.right;
469 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
473 final int parentRight = right - left - getPaddingRight();
288 applyInsets(View view, Rect insets, boolean left, boolean top, boolean bottom, boolean right) argument
/frameworks/base/core/jni/android/graphics/
H A DPath.cpp156 jfloat right, jfloat bottom, jfloat startAngle, jfloat sweepAngle,
159 SkRect oval = SkRect::MakeLTRB(left, top, right, bottom);
169 jfloat left, jfloat top, jfloat right, jfloat bottom, jint dirHandle) {
172 obj->addRect(left, top, right, bottom, dir);
176 jfloat left, jfloat top, jfloat right, jfloat bottom, jint dirHandle) {
179 SkRect oval = SkRect::MakeLTRB(left, top, right, bottom);
190 jfloat right, jfloat bottom, jfloat startAngle, jfloat sweepAngle) {
191 SkRect oval = SkRect::MakeLTRB(left, top, right, bottom);
197 jfloat right, jfloat bottom, jfloat rx, jfloat ry, jint dirHandle) {
198 SkRect rect = SkRect::MakeLTRB(left, top, right, botto
155 arcTo(JNIEnv* env, jobject clazz, jlong objHandle, jfloat left, jfloat top, jfloat right, jfloat bottom, jfloat startAngle, jfloat sweepAngle, jboolean forceMoveTo) argument
168 addRect(JNIEnv* env, jobject clazz, jlong objHandle, jfloat left, jfloat top, jfloat right, jfloat bottom, jint dirHandle) argument
175 addOval(JNIEnv* env, jobject clazz, jlong objHandle, jfloat left, jfloat top, jfloat right, jfloat bottom, jint dirHandle) argument
189 addArc(JNIEnv* env, jobject clazz, jlong objHandle, jfloat left, jfloat top, jfloat right, jfloat bottom, jfloat startAngle, jfloat sweepAngle) argument
196 addRoundRectXY(JNIEnv* env, jobject clazz, jlong objHandle, jfloat left, jfloat top, jfloat right, jfloat bottom, jfloat rx, jfloat ry, jint dirHandle) argument
204 addRoundRect8(JNIEnv* env, jobject, jlong objHandle, jfloat left, jfloat top, jfloat right, jfloat bottom, jfloatArray array, jint dirHandle) argument
[all...]

Completed in 566 milliseconds

12345678910