Home
last modified time | relevance | path

Searched refs:min (Results 1 – 25 of 30) sorted by relevance

12

/sdk/testapps/gridlayoutTest/v7-gridlayout/libs/
Dandroid-support-v7-gridlayout.jar ... before int after protected int size (boolean) boolean min protected int getOffset (android.view.View, ...
/sdk/testapps/customViewTest/libWithCustomView/src/com/android/tests/libwithcustom/
DLabelView.java150 result = Math.min(result, specSize); in measureWidth()
177 result = Math.min(result, specSize); in measureHeight()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/properties/
DResourceValueCompleter.java97 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()
/sdk/apps/NotificationStudio/src/com/android/notificationstudio/
DMaxHeightScrollView.java38 setMeasuredDimension(getMeasuredWidth(), Math.min(getMeasuredHeight(), mMaxHeight)); in onMeasure()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
DMarqueeGesture.java72 int x = Math.min(pos.x, mStart.x); in update()
73 int y = Math.min(pos.y, mStart.y); in update()
DLayoutCanvas.java901 double scale = Math.min(hScale, vScale); in setFitScale()
904 scale = Math.min(1.0, scale); in setFitScale()
DDynamicContextMenu.java596 for (int i = 0, n = Math.min(titles.size(), ids.size()); i < n; i++) { in addMenuItems()
DRenderPreviewManager.java515 minWidth = Math.min(minWidth, preview.getWidth()); in layoutFullFit()
516 minHeight = Math.min(minHeight, preview.getHeight()); in layoutFullFit()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/grid/
DGridModel.java47 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 …]
DGridDropHandler.java189 column = Math.min(column + 1, mGrid.actualColumnCount); in computeMatches()
193 row = Math.min(row + 1, mGrid.actualRowCount); in computeMatches()
/sdk/hierarchyviewer/src/com/android/hierarchyviewer/ui/
DScreenViewer.java215 int min, int max, int value, int tick) { in buildSlider() argument
221 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()
/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/widgets/
DImageCanvas.java129 mHorizontalScrollBar.setThumb(Math.min(imageWidth, client.width)); in updateScrollBars()
130 mVerticalScrollBar.setThumb(Math.min(imageHeight, client.height)); in updateScrollBars()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/draw9patch/ui/
DStretchesViewer.java205 ratio = Math.min(wRatio, ratio); in paintControl()
207 ratio = Math.min(hRatio, ratio); in paintControl()
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/formatting/
DAndroidXmlFormattingStrategyTest.java51 + ": " + contents.substring(i - 1, Math.min(contents.length(), i + 10)) in check()
/sdk/eclipse/plugins/com.android.ide.eclipse.ddms/src/com/android/ide/eclipse/ddms/systrace/
DSystraceOutputParser.java68 String header = new String(mAtraceOutput, 0, Math.min(100, mAtraceLength)); in parse()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/
DAndroidXmlAutoEditStrategy.java202 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()
DAndroidXmlEditor.java1381 end = Math.min(end, documentLength);
1382 begin = Math.min(begin, end);
1456 offset = Math.max(0, Math.min(offset, documentLength));
/sdk/eclipse/
Ddictionary.txt180 min
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/
DVisualRefactoring.java171 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()
DGridLayoutConverter.java938 smallest = Math.min(smallest, iterator.next().mY1); in analyzeKnownLayouts()
949 smallest = Math.min(smallest, iterator.next().mX1); in analyzeKnownLayouts()
DExtractIncludeRefactoring.java298 begin = Math.min(begin, region.getStartOffset()); in computeChanges()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/ui/
DResourcePreviewHelper.java158 double scale = Math.min(xScale, yScale); in updatePreview()
/sdk/templates/docs/
Dprettify.js3 …|(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…
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/relative/
DConstraintPainter.java416 int minRight = Math.min(sourceBounds.x2(), targetBounds.x2()); in paintVerticalConstraint()
633 int minBottom = Math.min(sourceBounds.y2(), targetBounds.y2()); in paintHorizontalConstraint()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/exportgradle/
DProjectSetupBuilder.java335 final int count = Math.min(path1.segmentCount(), path2.segmentCount()); in findCommonRoot()

12