Searched refs:min (Results 1 – 25 of 30) sorted by relevance
12
... before int after protected int size (boolean) boolean min protected int getOffset (android.view.View, ...
150 result = Math.min(result, specSize); in measureWidth()177 result = Math.min(result, specSize); in measureHeight()
97 Math.min(prefix.length() - 1, ANDROID_PREFIX.length()))) { in computeResourceStringMatches()105 Math.min(prefix.length() - 1, ANDROID_THEME_PREFIX.length()))) { in computeResourceStringMatches()148 Math.min(type.getName().length(), prefix.length() - typeStart))) { in addMatches()
38 setMeasuredDimension(getMeasuredWidth(), Math.min(getMeasuredHeight(), mMaxHeight)); in onMeasure()
72 int x = Math.min(pos.x, mStart.x); in update()73 int y = Math.min(pos.y, mStart.y); in update()
901 double scale = Math.min(hScale, vScale); in setFitScale()904 scale = Math.min(1.0, scale); in setFitScale()
596 for (int i = 0, n = Math.min(titles.size(), ids.size()); i < n; i++) { in addMenuItems()
515 minWidth = Math.min(minWidth, preview.getWidth()); in layoutFullFit()516 minHeight = Math.min(minHeight, preview.getHeight()); in layoutFullFit()
47 import static java.lang.Math.min;767 mLeft[column] = Math.min(bounds.x, mLeft[column]); in assignCellBoundsFromBounds()772 mTop[row] = Math.min(bounds.y, mTop[row]); in assignCellBoundsFromBounds()837 int targetColumn = min(actualColumnCount - 1, in initializeMaxBounds()839 int targetRow = min(actualRowCount - 1, row + view.rowSpan - 1); in initializeMaxBounds()1426 return mTop[min(mTop.length - 1, max(0, row))]; in getRowY()1436 return mMaxBottom[min(mMaxBottom.length - 1, max(0, row))]; in getRowMaxY()1492 return mLeft[min(mLeft.length - 1, max(0, column))]; in getColumnX()1502 return mMaxRight[min(mMaxRight.length - 1, max(0, column))]; in getColumnMaxX()2055 int newColumnStart = columnMap[Math.min(columnMap.length - 1, view.column)]; in onDeleted()[all …]
189 column = Math.min(column + 1, mGrid.actualColumnCount); in computeMatches()193 row = Math.min(row + 1, mGrid.actualRowCount); in computeMatches()
215 int min, int max, int value, int tick) { in buildSlider() argument221 JSlider slider = new JSlider(min, max, value); in buildSlider()342 int x = Math.max(0, Math.min((event.getX() + left) / zoom, image.getWidth() - 1)); in moveToPoint()343 int y = Math.max(0, Math.min((event.getY() + top) / zoom, image.getHeight() - 1)); in moveToPoint()513 crosshair.x = Math.max(0, Math.min(image.getWidth() - 1, event.getX())); in moveToPoint()514 crosshair.y = Math.max(0, Math.min(image.getHeight() - 1, event.getY())); in moveToPoint()
129 mHorizontalScrollBar.setThumb(Math.min(imageWidth, client.width)); in updateScrollBars()130 mVerticalScrollBar.setThumb(Math.min(imageHeight, client.height)); in updateScrollBars()
205 ratio = Math.min(wRatio, ratio); in paintControl()207 ratio = Math.min(hRatio, ratio); in paintControl()
51 + ": " + contents.substring(i - 1, Math.min(contents.length(), i + 10)) in check()
68 String header = new String(mAtraceOutput, 0, Math.min(100, mAtraceLength)); in parse()
202 for (int i = 0, n = Math.min(delta, text.length()); i < n; i++) { in customizeDocumentCommand()310 offset = Math.max(0, Math.min(offset, document.getLength() - 1)); in findLineStart()
1381 end = Math.min(end, documentLength);1382 begin = Math.min(begin, end);1456 offset = Math.max(0, Math.min(offset, documentLength));
180 min
171 start = Math.min(start, region.getStartOffset()); in VisualRefactoring()209 start = Math.min(start, region.getStartOffset()); in VisualRefactoring()593 int n = Math.min(max, line.length()); in getIndent()683 start = Math.min(start, region.getStartOffset()); in initElements()1169 lineStart + Math.min(lineLength, indentLength)); in removeIndentation()1258 endOffset = Math.min(doc.getLength(), lineEnd + 1); in createDeletion()
938 smallest = Math.min(smallest, iterator.next().mY1); in analyzeKnownLayouts()949 smallest = Math.min(smallest, iterator.next().mX1); in analyzeKnownLayouts()
298 begin = Math.min(begin, region.getStartOffset()); in computeChanges()
158 double scale = Math.min(xScale, yScale); in updatePreview()
3 …|(d<65||j>90||b.push([Math.max(65,j)|32,Math.min(d,90)|32]),d<97||j>122||b.push([Math.max(97,j)&-3…
416 int minRight = Math.min(sourceBounds.x2(), targetBounds.x2()); in paintVerticalConstraint()633 int minBottom = Math.min(sourceBounds.y2(), targetBounds.y2()); in paintHorizontalConstraint()
335 final int count = Math.min(path1.segmentCount(), path2.segmentCount()); in findCommonRoot()