Searched refs:left (Results 501 - 525 of 741) sorted by relevance

<<21222324252627282930

/frameworks/base/core/java/com/android/internal/widget/
H A DViewPager.java58 * Layout manager that allows the user to flip left and right
157 * The increment used to move in the "left" direction. Dependent on layout
333 * page position to the right, and -1 is one page position to the left.
2342 final float left;
2345 left = MAX_SCROLL_X - scaledOffset;
2347 left = scaledOffset + widthFactor * width;
2352 if (left + mPageMargin > scrollX) {
2353 mMarginDrawable.setBounds((int) left, mTopPageBounds,
2354 (int) (left + mPageMargin + 0.5f), mBottomPageBounds);
2358 if (left > scroll
[all...]
/frameworks/av/services/audioflinger/
H A DEffects.cpp674 status_t AudioFlinger::EffectModule::setVolume(uint32_t *left, uint32_t *right, bool controller) argument
689 volume[0] = *left;
701 *left = volume[0];
1657 bool AudioFlinger::EffectChain::setVolume_l(uint32_t *left, uint32_t *right) argument
1659 uint32_t newLeft = *left;
1676 *left == mLeftVolume && *right == mRightVolume) {
1678 *left = mNewLeftVolume;
1706 lVol = *left;
1711 *left = newLeft;
H A DAudioResampler.cpp300 void AudioResampler::setVolume(float left, float right) {
304 mVolume[0] = u4_12_from_float(clampFloatVol(left));
541 * vl, vr : left and right gain
662 * vl, vr : left and right gain
/frameworks/base/core/java/android/widget/
H A DRelativeLayout.java88 * Rule that aligns a child's right edge with another child's left edge.
92 * Rule that aligns a child's left edge with another child's right edge.
109 * Rule that aligns a child's left edge with another child's left edge.
126 * Rule that aligns the child's left edge with its RelativeLayout
127 * parent's left edge.
200 * Used to indicate left/right/top/bottom should be inferred from constraints
426 int left = Integer.MAX_VALUE;
509 left = Math.min(left, param
[all...]
H A DDayPickerView.java213 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
224 final int width = right - left;
H A DNumberPicker.java774 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
776 super.onLayout(changed, left, top, right, bottom);
2598 int left, int top, int right, int bottom) {
2608 boundsInParent.set(left, top, right, bottom);
2620 String text, int left, int top, int right, int bottom) {
2631 boundsInParent.set(left, top, right, bottom);
2653 private AccessibilityNodeInfo createAccessibilityNodeInfoForNumberPicker(int left, int top, argument
2676 boundsInParent.set(left, top, right, bottom);
2597 createAccessibiltyNodeInfoForInputText( int left, int top, int right, int bottom) argument
2619 createAccessibilityNodeInfoForVirtualButton(int virtualViewId, String text, int left, int top, int right, int bottom) argument
H A DZoomButtonsController.java463 // lp.x and lp.y should be relative to the owner's window top-left
633 if (containerCoordsX >= frame.left && containerCoordsX <= frame.right) {
636 distanceX = Math.min(Math.abs(frame.left - containerCoordsX),
/frameworks/support/design/src/android/support/design/widget/
H A DTabLayout.java1931 int left, right;
1934 left = selectedTitle.getLeft();
1940 left = (int) (mSelectionOffset * nextTitle.getLeft() +
1941 (1.0f - mSelectionOffset) * left);
1946 left = right = -1;
1949 setIndicatorPosition(left, right);
1952 private void setIndicatorPosition(int left, int right) { argument
1953 if (left != mIndicatorLeft || right != mIndicatorRight) {
1954 // If the indicator's left/right has changed, invalidate
1955 mIndicatorLeft = left;
[all...]
/frameworks/base/libs/hwui/renderthread/
H A DRenderProxy.cpp555 CREATE_BRIDGE5(setContentDrawBounds, CanvasContext* context, int left, int top, argument
557 args->context->setContentDrawBounds(args->left, args->top, args->right, args->bottom);
561 void RenderProxy::setContentDrawBounds(int left, int top, int right, int bottom) { argument
564 args->left = left;
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/
H A DTaskStack.java349 int x = bounds.left + (bounds.width() - mHintTextBounds.x) / 2;
459 int left = (int) (area.left * width);
463 return x >= left && y >= top && x <= right && y <= bottom;
470 return new Rect((int) (dockArea.left * width), (int) (dockArea.top * height),
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DMatrix_Delegate.java140 src.left, src.top,
143 src.left, src.bottom,
150 dst.left = Math.min(Math.min(corners[0], corners[2]), Math.min(corners[4], corners[6]));
557 tx = dst.left - src.left * sx;
/frameworks/support/v4/java/android/support/v4/widget/
H A DViewDragHelper.java65 * Edge flag indicating that the left edge should be affected.
166 * @param left New X coordinate of the left edge of the view
171 public void onViewPositionChanged(View changedView, int left, int top, int dx, int dy) {} argument
199 * @param xvel X velocity of the pointer as it left the screen in pixels per second.
200 * @param yvel Y velocity of the pointer as it left the screen in pixels per second.
300 * @param left Attempted motion along the X axis
301 * @param dx Proposed change in position for left
302 * @return The new clamped position for left
304 public int clampViewPositionHorizontal(View child, int left, in argument
1414 dragTo(int left, int top, int dx, int dy) argument
[all...]
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/
H A Dh264bsd_reconstruct.c56 * Info 701: Shift left of signed quantity (int)
97 pRef pointer to reference frame Cb top-left corner
2137 i32 left,
2141 UNUSED(left);
2159 (overfilling some pels on left and/or right edge).
2162 left amount of pixels to overfill on left-edge
2173 i32 left,
2182 if (left)
2185 for ( ; left; lef
2134 FillRow1( u8 *ref, u8 *fill, i32 left, i32 center, i32 right) argument
2170 h264bsdFillRow7( u8 *ref, u8 *fill, i32 left, i32 center, i32 right) argument
2239 i32 left, x, right; local
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/
H A DDessertCaseView.java527 protected void onLayout (boolean changed, int left, int top, int right, int bottom) { argument
528 final float w = right-left;
532 final int cx = (int) (left + w * 0.5f);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DStatusBarWindowView.java96 boolean paddingChanged = insets.left != getPaddingLeft()
105 // Drop top inset, apply left inset and pass through bottom inset.
107 setPadding(insets.left, 0, 0, 0);
109 insets.left = 0;
/frameworks/base/packages/WallpaperCropper/src/com/android/photos/
H A DBitmapRegionTileSource.java135 mTempCanvas.drawBitmap(mBuffer, -wantRegion.left, -wantRegion.top, mTempPaint);
491 (mOverlapRegion.left - mWantRegion.left) >> level,
/frameworks/support/v7/appcompat/tests/src/android/support/v7/widget/
H A DPopupMenuTest.java221 result.left += current.left;
310 int emulatedTapX = popupOnScreenXY[0] - popupPadding.left - 20;
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/
H A DTaskStackLayoutAlgorithm.java199 freeformRectOut.set(taskStackBounds.left,
203 stackRectOut.set(taskStackBounds.left,
433 * insets and left/right padding already applied.
453 mStackActionButtonRect.set(mStackRect.left, mStackRect.top - topMargin,
458 mTaskRect.set(mStackRect.left, mStackRect.top, mStackRect.right, mStackRect.top + height);
881 transformOut.rect.offset(windowRect.left, windowRect.top);
1058 * top and right system insets (but not the bottom inset) and left/right paddings, but _not_
1063 taskStackBounds.set(windowRect.left, windowRect.top + topInset,
/frameworks/av/media/libstagefright/colorconversion/
H A DSoftwareRenderer.cpp175 crop.left = mCropLeft;
180 crop.left, crop.top, crop.right, crop.bottom, bufWidth, bufHeight);
/frameworks/av/media/libstagefright/yuv/
H A DYUVImage.cpp202 int32_t srcStartX = srcRect.left;
284 int32_t srcStartX = srcRect.left;
/frameworks/base/core/java/android/view/
H A DIWindowManager.aidl80 void setOverscan(int displayId, int left, int top, int right, int bottom);
/frameworks/base/core/java/android/view/accessibility/
H A DAccessibilityNodeInfo.java1486 outBounds.set(mBoundsInParent.left, mBoundsInParent.top,
1504 mBoundsInParent.set(bounds.left, bounds.top, bounds.right, bounds.bottom);
1513 outBounds.set(mBoundsInScreen.left, mBoundsInScreen.top,
1540 mBoundsInScreen.set(bounds.left, bounds.top, bounds.right, bounds.bottom);
2753 parcel.writeInt(mBoundsInParent.left);
2758 parcel.writeInt(mBoundsInScreen.left);
2942 mBoundsInParent.left = parcel.readInt();
2947 mBoundsInScreen.left = parcel.readInt();
3656 * Action to scroll the node content left.
/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/tests/coretests/src/android/view/inputmethod/
H A DSparseRectFArrayTest.java58 builder.append(100, TEMP_RECT.left, TEMP_RECT.top, TEMP_RECT.right, TEMP_RECT.bottom,
80 builder.append(i, rect.left, rect.top, rect.right, rect.bottom, i);
/frameworks/base/core/tests/coretests/src/android/widget/espresso/
H A DTextViewActions.java386 visibleDisplayBounds.right), visibleDisplayBounds.left);
466 visibleDisplayBounds.right), visibleDisplayBounds.left);

Completed in 668 milliseconds

<<21222324252627282930