/frameworks/support/v7/recyclerview/src/android/support/v7/util/ |
H A D | SortedList.java | 592 private int findIndexOf(T item, T[] mData, int left, int right, int reason) { argument 593 while (left < right) { 594 final int middle = (left + right) / 2; 598 left = middle + 1; 603 int exact = linearEqualitySearch(item, middle, left, right); 614 return reason == INSERTION ? left : INVALID_POSITION; 617 private int linearEqualitySearch(T item, int middle, int left, int right) { argument 618 // go left 619 for (int next = middle - 1; next >= left; next--) {
|
/frameworks/base/core/java/android/text/ |
H A D | Layout.java | 149 * @param align whether to left, right, or center the text. Styles can 169 * @param align whether to left, right, or center the text. Styles can 281 int left = 0; 315 // Draw all leading margin spans. Adjust left or right according 340 margin.drawLeadingMargin(canvas, paint, left, dir, ltop, 343 left += margin.getLeadingMargin(useFirstLineMargin); 373 x = left + getIndentAdjust(lineNum, Alignment.ALIGN_LEFT); 383 x = left - max + getIndentAdjust(lineNum, Alignment.ALIGN_LEFT); 387 x = ((right + left - max) >> 1) + 511 * Return the start position of the line, given the left an 519 getLineStartPos(int line, int left, int right) argument [all...] |
/frameworks/compile/mclinker/lib/Script/ |
H A D | ScriptParser.yy | 179 %left ',' 182 %left LOGICAL_OR 183 %left LOGICAL_AND 184 %left '|' 185 %left '^' 186 %left '&' 187 %left EQ NE 188 %left '<' LE '>' GE 189 %left LSHIFT RSHIFT 190 %left ' [all...] |
/frameworks/av/services/audioflinger/ |
H A D | AudioResampler.h | 61 virtual void setVolume(float left, float right);
|
H A D | AudioResamplerCubic.h | 62 state left, right; member in class:android::AudioResamplerCubic
|
H A D | AudioResamplerDyn.h | 53 virtual void setVolume(float left, float right);
|
H A D | AudioResamplerSinc.h | 47 virtual void setVolume(float left, float right);
|
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/ |
H A D | UiScrollable.java | 308 // if list is horizontal, matching left edge implies obscured right edge, 310 shouldSwipeForward = actual.left == visible.left; 376 * right to left. Make sure to take into account devices configured with 377 * right-to-left languages like Arabic and Hebrew. 392 * right to left. Make sure to take into account devices configured with 393 * right-to-left languages like Arabic and Hebrew. 407 * right to left. Make sure to take into account devices configured with 408 * right-to-left languages like Arabic and Hebrew. 440 // scroll horizontally: swipe right -> left [all...] |
/frameworks/base/core/java/com/android/internal/policy/ |
H A D | DividerSnapAlgorithm.java | 32 * here are to be interpreted as the left/top edge of the divider rectangle. 42 * 3 snap targets: left/top has 16:9 ratio (for videos), 1:1, and right/bottom has 16:9 ratio 138 * @param position the top/left position of the divider 214 return mInsets.left; 276 int start = isHorizontalDivision ? mInsets.top : mInsets.left; 287 int start = isHorizontalDivision ? mInsets.top : mInsets.left; 291 int startOther = isHorizontalDivision ? mInsets.left : mInsets.top; 347 * Cycles through all non-dismiss targets with a stepping of {@param increment}. It moves left 372 /** If the divider reaches this value, the left/top task should be dismissed. */ 378 /** Position of this snap target. The right/bottom edge of the top/left tas [all...] |
/frameworks/base/core/java/com/android/internal/view/ |
H A D | FloatingActionMode.java | 187 Math.max(mContentRectOnScreen.left, mViewRectOnScreen.left), 226 return a.left <= b.right && b.left <= a.right
|
/frameworks/base/core/tests/coretests/src/android/view/ |
H A D | GlobalFocusChangeTest.java | 43 mLeft = mActivity.findViewById(R.id.left);
|
/frameworks/base/core/tests/coretests/src/android/widget/layout/frame/ |
H A D | FrameLayoutMarginTest.java | 47 mLeftView = activity.findViewById(R.id.left);
|
/frameworks/base/libs/hwui/renderstate/ |
H A D | Scissor.cpp | 78 GLint x = std::max(0, (int)clip.left);
|
/frameworks/base/media/java/android/media/ |
H A D | ImageWriter.java | 334 nativeQueueInputImage(mNativeContext, image, image.getTimestamp(), crop.left, crop.top, 521 image.getTimestamp(), crop.left, crop.top, crop.right, crop.bottom); 819 long timestampNs, int left, int top, int right, int bottom); 822 long imageNativeBuffer, int imageFormat, long timestampNs, int left, 818 nativeQueueInputImage(long nativeCtx, Image image, long timestampNs, int left, int top, int right, int bottom) argument 821 nativeAttachAndQueueImage(long nativeCtx, long imageNativeBuffer, int imageFormat, long timestampNs, int left, int top, int right, int bottom) argument
|
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/renderer/ |
H A D | PdfManipulationService.java | 151 clip.left = (int) (paddingLeftPts * displayScale); 304 // Make sure content is top-left after media box resize. 319 cropBox.left = (int) (cropBox.left * scale + 0.5f); 342 clip.left += paddingLeftPts;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/ |
H A D | ScreenshotSelectorView.java | 58 mSelectionRect.left = Math.min(mStartPoint.x, x);
|
/frameworks/base/packages/WallpaperCropper/src/com/android/photos/views/ |
H A D | TiledImageView.java | 169 protected void onLayout(boolean changed, int left, int top, int right, argument 171 super.onLayout(changed, left, top, right, bottom); 265 cx += (mTempRectF.left / scale) - xoffset; 267 cx -= (mTempRectF.left / scale) - xoffset;
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
H A D | BidiRenderer.java | 93 * @param x The x-coordinate of the left edge of where the text should be drawn on the given 129 * @param isRtl is the text right-to-left 246 if (Math.abs(mBounds.right - mBounds.left) == 0) { 256 float left = (float) awtRec.getX(); 258 float right = (float) (left + awtRec.getWidth()); 260 RectF androidRect = new RectF(left, top, right, bottom);
|
/frameworks/compile/mclinker/lib/Core/ |
H A D | InputTree.cpp | 29 pTree.m_Root.node.left = pTree.m_Root.node.right = &pTree.m_Root.node;
|
/frameworks/minikin/libs/minikin/ |
H A D | MinikinFontFreeType.cpp | 91 result->left = mTypeface->glyph->bitmap_left;
|
/frameworks/native/opengl/tests/hwc/ |
H A D | hwcColorEquiv.cpp | 58 * interpolation from a start color (default: <0.0, 0.0, 0.0> on the left 356 layer->sourceCrop.left = 0; 360 layer->displayFrame.left = 0; 370 layer->sourceCrop.left = 0; 374 layer->displayFrame.left = 0;
|
/frameworks/support/design/base/android/support/design/widget/ |
H A D | ShadowDrawableWrapper.java | 226 canvas.translate(mContentBounds.left + shadowOffset, mContentBounds.top + shadowOffset); 253 canvas.translate(mContentBounds.left + shadowOffset, mContentBounds.bottom - shadowOffset); 324 mContentBounds.set(bounds.left + mRawMaxShadowSize, bounds.top + verticalOffset, 327 getWrappedDrawable().setBounds((int) mContentBounds.left, (int) mContentBounds.top,
|
/frameworks/support/design/honeycomb/android/support/design/widget/ |
H A D | ViewGroupUtilsHoneycomb.java | 48 rect.set((int) (rectF.left + 0.5f), (int) (rectF.top + 0.5f),
|
/frameworks/support/v17/leanback/api21/android/support/v17/leanback/transition/ |
H A D | FadeAndShortSlide.java | 224 int left = position[0]; 231 left, top, startX, startY, endX, endY, sDecelerate, this); 255 int left = position[0]; 262 startValues, left, top, startX, startY, endX, endY, sDecelerate /* sAccelerate */,
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
H A D | HorizontalHoverCardSwitcher.java | 30 // left and right of selected card view 73 mCardLeft = mTmpRect.left - mTmpOffsets[0];
|