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

12345678

/frameworks/base/libs/hwui/
H A DPathCache.h71 float left; member in struct:android::uirenderer::PathTexture
246 float& left, float& top, float& offset, uint32_t& width, uint32_t& height);
248 float& left, float& top, float& offset, uint32_t& width, uint32_t& height);
H A DDisplayList.h342 void setLeft(int left) { argument
343 if (left != mLeft) {
344 mLeft = left;
398 void setLeftTop(int left, int top) { argument
399 if (left != mLeft || top != mTop) {
400 mLeft = left;
410 void setLeftTopRightBottom(int left, int top, int right, int bottom) { argument
411 if (left != mLeft || top != mTop || right != mRight || bottom != mBottom) {
412 mLeft = left;
/frameworks/base/packages/Keyguard/src/com/android/keyguard/
H A DKeyguardWidgetFrame.java483 void setOverScrollAmount(float r, boolean left) { argument
486 mForegroundGradient = left ? mLeftToRightGradient : mRightToLeftGradient;
/frameworks/base/packages/SystemUI/src/com/android/systemui/
H A DImageWallpaper.java478 private void drawWallpaperWithCanvas(SurfaceHolder sh, int w, int h, int left, int top) { argument
483 Log.d(TAG, "Redrawing: left=" + left + ", top=" + top);
486 final float right = left + mBackground.getWidth() * mScale;
490 c.clipRect(left, top, right, bottom,
496 RectF dest = new RectF(left, top, right, bottom);
506 private boolean drawWallpaperWithOpenGL(SurfaceHolder sh, int w, int h, int left, int top) { argument
509 final float right = left + mBackground.getWidth() * mScale;
516 final FloatBuffer triangleVertices = createMesh(left, top, right, bottom);
563 private FloatBuffer createMesh(int left, in argument
[all...]
/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 - left);
[all...]
/frameworks/native/libs/ui/
H A DRegion.cpp125 int left = current->left; local
131 // iterating over previous span RTL, quit if it's too far left
132 if (prev->right <= left) break;
134 if (prev->right > left && prev->right < right) {
139 if (prev->left > left && prev->left < right) {
140 dst.add(Rect(prev->left, top, right, bottom));
141 right = prev->left;
[all...]
/frameworks/rs/
H A DrsFont.h53 int32_t left; member in struct:android::renderscript::Font::Rect
58 left = l;
/frameworks/support/v4/java/android/support/v4/view/
H A DViewCompat.java209 public void postInvalidateOnAnimation(View view, int left, int top, int right, int bottom); argument
269 public void postInvalidateOnAnimation(View view, int left, int top, int right, int bottom) { argument
270 view.postInvalidateDelayed(getFrameTime(), left, top, right, bottom);
468 public void postInvalidateOnAnimation(View view, int left, int top, int right, int bottom) { argument
469 ViewCompatJB.postInvalidateOnAnimation(view, left, top, right, bottom);
570 * @param direction Negative to check scrolling left, positive to check scrolling right.
782 * @param left The left coordinate of the rectangle to invalidate.
787 public static void postInvalidateOnAnimation(View view, int left, int top, argument
789 IMPL.postInvalidateOnAnimation(view, left, to
[all...]
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/
H A DActivityChooserView.java49 * The left button is an immediate action and allows one click activity choosing.
430 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
431 mActivityChooserContent.layout(0, 0, right - left, bottom - top);
/frameworks/av/libvideoeditor/lvpp/
H A DVideoEditorPlayer.cpp531 void VideoEditorPlayer::VeAudioOutput::setVolume(float left, float right) { argument
533 ALOGV("setVolume(%f, %f)", left, right);
534 mLeftVolume = left;
537 mTrack->setVolume(left, right);
570 snprintf(buffer, SIZE-1, " stream type(%d), left - right volume(%f, %f)\n",
/frameworks/av/media/libeffects/testlibs/
H A DEffectReverb.c379 float left = (float)(*(uint32_t *)pCmdData) / (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
1780 // difference is feedback to left input (R - L)
1804 // ********** start early reflection generator, left
1839 // ********** end early reflection generator, left
/frameworks/av/media/libmedia/
H A DAudioTrack.cpp547 status_t AudioTrack::setVolume(float left, float right) argument
549 if (left < 0.0f || left > 1.0f || right < 0.0f || right > 1.0f) {
554 mVolume[LEFT] = left;
557 mProxy->setVolumeLR((uint32_t(uint16_t(right * 0x1000)) << 16) | uint16_t(left * 0x1000));
1798 snprintf(buffer, 255, " stream type(%d), left - right volume(%f, %f)\n", mStreamType,
/frameworks/av/media/libmediaplayerservice/
H A DMediaPlayerService.h108 void setVolume(float left, float right);
218 void setVolume(float left, float right) {} argument
/frameworks/av/media/libstagefright/
H A DOggExtractor.cpp322 size_t left = 0; local
324 while (left < right) {
325 size_t center = left / 2 + right / 2 + (left & right & 1);
332 left = center + 1;
334 left = right = center;
339 const TOCEntry &entry = mTableOfContents.itemAt(left);
342 left, mTableOfContents.size(), entry.mPageOffset);
/frameworks/av/services/audioflinger/
H A DEffects.cpp636 status_t AudioFlinger::EffectModule::setVolume(uint32_t *left, uint32_t *right, bool controller) argument
652 volume[0] = *left;
664 *left = volume[0];
1506 bool AudioFlinger::EffectChain::setVolume_l(uint32_t *left, uint32_t *right) argument
1508 uint32_t newLeft = *left;
1524 if (ctrlIdx == mVolumeCtrlIdx && *left == mLeftVolume && *right == mRightVolume) {
1526 *left = mNewLeftVolume;
1554 lVol = *left;
1559 *left = newLeft;
/frameworks/av/services/camera/libcameraservice/api1/client2/
H A DParameters.h96 int left, top, right, bottom; member in struct:android::camera2::Parameters::Area
99 Area(int left, int top, int right, int bottom, int weight): argument
100 left(left), top(top), right(right), bottom(bottom),
103 return (left == 0) && (top == 0) && (right == 0) && (bottom == 0);
250 float left; member in struct:android::camera2::Parameters::CropRegion
/frameworks/av/services/camera/libcameraservice/device1/
H A DCameraHardwareInterface.h620 int left, int top, int right, int bottom)
624 crop.left = left;
619 __set_crop(struct preview_stream_ops *w, int left, int top, int right, int bottom) argument
/frameworks/base/core/java/android/view/
H A DGLES20DisplayList.java363 public void setLeft(int left) { argument
365 nSetLeft(mFinalizer.mNativeDisplayList, left);
423 public void setLeftTopRightBottom(int left, int top, int right, int bottom) { argument
425 nSetLeftTopRightBottom(mFinalizer.mNativeDisplayList, left, top, right, bottom);
446 private static native void nSetLeftTopRightBottom(int displayList, int left, int top, argument
451 private static native void nSetLeft(int displayList, int left); argument
/frameworks/base/core/java/android/view/animation/
H A DAnimation.java1000 * @param left
1009 public void getInvalidateRegion(int left, int top, int right, int bottom, argument
1015 invalidate.set(left, top, right, bottom);
1033 * @param left
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.java532 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
H A DAdapterViewAnimator.java758 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
H A DExpandableListView.java298 * Resolve start/end indicator. start/end indicator always takes precedence over left/right
325 * left/right child indicator when defined.
412 // the left & right bounds
415 indicatorRect.left = (mChildIndicatorLeft == CHILD_INDICATOR_INHERIT) ?
420 indicatorRect.left = mIndicatorLeft;
425 final int temp = indicatorRect.left;
426 indicatorRect.left = width - indicatorRect.right;
429 indicatorRect.left -= mPaddingRight;
432 indicatorRect.left += mPaddingLeft;
439 if (indicatorRect.left !
1170 setChildIndicatorBounds(int left, int right) argument
1219 setIndicatorBounds(int left, int right) argument
[all...]
H A DHorizontalScrollView.java829 * (excluding fading edges) pretending that this View's left is located at
830 * the parameter left.
833 * @param leftFocus look for a candidate is the one at the left of the bounds
836 * @param left the left offset of the bounds in which a focusable must be
843 final int left, View preferredFocusable) {
850 final int leftWithoutFadingEdge = left + fadingEdgeLength;
851 final int rightWithoutFadingEdge = left + getWidth() - fadingEdgeLength;
868 * @param leftFocus look for a candidate is the one at the left of the bounds
871 * @param left th
842 findFocusableViewInMyBounds(final boolean leftFocus, final int left, View preferredFocusable) argument
878 findFocusableViewInBounds(boolean leftFocus, int left, int right) argument
1024 scrollAndFocus(int direction, int left, int right) argument
[all...]
H A DLinearLayout.java393 void drawVerticalDivider(Canvas canvas, int left) { argument
394 mDivider.setBounds(left, getPaddingTop() + mDividerPadding,
395 left + mDividerWidth, getHeight() - getPaddingBottom() - mDividerPadding);
1447 * @param left
1452 void layoutVertical(int left, int top, int right, int bottom) { argument
1459 final int width = right - left;
1541 * @param left
1546 void layoutHorizontal(int left, int top, int right, int bottom) { argument
1574 childLeft = mPaddingLeft + right - left - mTotalLength;
1579 childLeft = mPaddingLeft + (right - left
1670 setChildFrame(View child, int left, int top, int width, int height) argument
[all...]
/frameworks/base/graphics/java/android/graphics/
H A DPath.java477 private void detectSimplePath(float left, float top, float right, float bottom, Direction dir) { argument
486 rects.op((int) left, (int) top, (int) right, (int) bottom, Region.Op.UNION);
501 detectSimplePath(rect.left, rect.top, rect.right, rect.bottom, dir);
508 * @param left The left side of a rectangle to add to the path
514 public void addRect(float left, float top, float right, float bottom, Direction dir) { argument
515 detectSimplePath(left, top, right, bottom, dir);
516 native_addRect(mNativePath, left, top, right, bottom, dir.nativeInt);
579 * two radius values [X, Y]. The corners are ordered top-left, top-right,
580 * bottom-right, bottom-left
733 native_addRect(int nPath, float left, float top, float right, float bottom, int dir) argument
[all...]

Completed in 592 milliseconds

12345678