/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/grid/ |
D | GridDropHandler.java | 107 int max = BaseLayoutRule.getMaxMatchDistance(); in computeMatches() local 110 addLeftSideMatch(x1, columnMatches, max); in computeMatches() 111 addRightSideMatch(x2, columnMatches, max); in computeMatches() 112 addCenterColumnMatch(bounds, x1, y1, x2, y2, columnMatches, max); in computeMatches() 117 addTopMatch(y1, rowMatches, max, row, rowY); in computeMatches() 118 addBaselineMatch(feedback.dragBaseline, y1, rowMatches, max, row, rowY); in computeMatches() 119 addBottomMatch(y2, rowMatches, max); in computeMatches() 126 addColumnGapMatch(bounds, x1, x2, columnMatches, max); in computeMatches() 127 addRowGapMatch(bounds, y1, y2, rowMatches, max); in computeMatches() 261 private void addLeftSideMatch(int x1, List<GridMatch> columnMatches, int max) { in addLeftSideMatch() argument [all …]
|
D | GridModel.java | 46 import static java.lang.Math.max; 533 nextRow = Math.max(nextRow, view.row + view.rowSpan); in assignRowsAndColumnsFromXml() 575 nextColumn = Math.max(nextColumn, view.column + view.columnSpan); in assignRowsAndColumnsFromXml() 737 maxColumn = max(maxColumn, view.column); in assignCellBoundsFromBounds() 738 maxRow = max(maxRow, view.row); in assignCellBoundsFromBounds() 1418 return mTop[min(mTop.length - 1, max(0, row))]; in getRowY() 1428 return mMaxBottom[min(mMaxBottom.length - 1, max(0, row))]; in getRowMaxY() 1484 return mLeft[min(mLeft.length - 1, max(0, column))]; in getColumnX() 1494 return mMaxRight[min(mMaxRight.length - 1, max(0, column))]; in getColumnMaxX()
|
/sdk/emulator/opengl/shared/OpenglCodecCommon/ |
D | glUtils.h | 66 template <class T> void minmax(T *indices, int count, int *min, int *max) { in minmax() argument 68 *max = -1; in minmax() 72 if (*max == -1 || *ptr > *max) *max = *ptr; in minmax()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/manifest/ |
D | ManifestContentAssist.java | 61 int max = AdtUtils.getHighestKnownApiLevel(); in computeAttributeValues() local 71 if (apiLevel > max) { in computeAttributeValues() 80 for (int api = max; api >= 1; api--) { in computeAttributeValues()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/refactorings/core/ |
D | RenameResourceXmlTextAction.java | 181 int max = document.getLength(); in findResource() local 182 if (offset >= max) { in findResource() 183 offset = max - 1; in findResource() 209 for (; end < max; end++) { in findResource() 287 int max = document.getLength(); in findClassName() local 288 if (offset >= max) { in findClassName() 289 offset = max - 1; in findClassName() 313 for (; end < max; end++) { in findClassName()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/ui/tree/ |
D | NewItemSelectionDialog.java | 222 int max = -1; in getMostUsedXmlName() local 229 max = Math.max(max, count); in getMostUsedXmlName() 232 if (max > 0) { in getMostUsedXmlName() 235 if (entry.getValue().intValue() == max) { in getMostUsedXmlName()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
D | ImageControl.java | 213 mLeftMargin = Math.max(0, leftMargin); in setMargins() 214 mTopMargin = Math.max(0, topMargin); in setMargins() 215 mRightMargin = Math.max(0, rightMargin); in setMargins() 216 mBottomMargin = Math.max(0, bottomMargin); in setMargins()
|
D | BinPacker.java | 295 width = Math.max(width, rect.w); in dumpImage() 296 height = Math.max(height, rect.h); in dumpImage()
|
D | RenderPreviewManager.java | 272 maxPreviewWidth = Math.max(maxPreviewWidth, preview.getWidth()); in computePreviewWidth() 400 && Math.max(nextY, y + preview.getHeight()) > bottomBorder) { in rowLayout() 410 y = nextY = Math.max(nextY, bottomBorder + vgap); in rowLayout() 418 && Math.max(nextY, y + preview.getHeight()) > bottomBorder) { in rowLayout() 427 y = nextY = Math.max(nextY, bottomBorder + vgap); in rowLayout() 444 nextY = Math.max(nextY, y + preview.getHeight() + vgap); in rowLayout() 488 availableWidth * (Math.max(0, availableHeight - bottomBorder)); in previewsFit()
|
D | RenderPreview.java | 983 int labelLeft = Math.max(x, x + (width - extent.x) / 2); in paintTitle() 995 labelLeft = Math.max(x + flagWidth / 2, labelLeft); in paintTitle() 1019 int labelLeft = Math.max(x, x + (width - extent.x - flagWidth - 1) / 2); in paintTitle() 1028 titleHeight += Math.max(titleHeight, icon.getImageData().height); in paintTitle()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/ |
D | ExplodedRenderingHelper.java | 195 int max = -1; in combineLinearLayout() local 198 if (max == -1 || max < p[maxIndex]) { in combineLinearLayout() 199 max = p[maxIndex]; in combineLinearLayout() 202 resultPadding[maxIndex] = max; in combineLinearLayout()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/ |
D | SwtUtils.java | 31 return Math.max(avgCharWidth, MIN_CHAR_WIDTH); in getApproximateFontWidth()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/formatting/ |
D | AndroidXmlFormattingStrategy.java | 208 int endOffset = Math.max(endRegion.getStartOffset(), in format() 254 int max = regions.size(); in format() local 255 for (index = Math.max(0, index); index < max; index++) { in format() 453 int max = document.getLength(); in createReplaceEdit() local 454 for (index = replaceEnd; index < max; index++) { in createReplaceEdit() 517 replaceEnd = Math.max(replaceStart, replaceEnd); in createReplaceEdit() 723 Math.max(0, textStart - lineStart)); in visit()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/actions/ |
D | OpenWizardAction.java | 151 Math.max(SIZING_WIZARD_WIDTH, defaultSize.x), in run() 152 Math.max(SIZING_WIZARD_HEIGHT, defaultSize.y)); in run()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/templates/ |
D | TemplateMetadata.java | 87 for (int index = 0, max = parameters.getLength(); index < max; index++) { in TemplateMetadata() 343 for (int j = 0, max = attributes.getLength(); j < max; j++) { in getThumbnailPath()
|
/sdk/emulator/opengl/host/libs/Translator/GLcommon/ |
D | GLEScontext.cpp | 354 int max = 0; in findMaxIndex() local 358 if(b_indices[i] > max) max = b_indices[i]; in findMaxIndex() 363 if(us_indices[i] > max) max = us_indices[i]; in findMaxIndex() 366 return max; in findMaxIndex()
|
/sdk/hierarchyviewer/src/com/android/hierarchyviewer/ui/ |
D | ScreenViewer.java | 215 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.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/properties/ |
D | PropertyFactory.java | 284 for (int i = 0, max = properties.size(); i < max; i++) { in sortByOrigin() 451 for (int i = 0, max = properties.size(); i < max; i++) { in sortNatural() 512 for (; j < max; j++) { in sortNatural()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/ |
D | AdtUtils.java | 1003 int max = getHighestKnownApiLevel(); 1010 max = Math.max(max, version.getApiLevel()); 1016 String[] versions = new String[max]; 1017 for (int api = 1; api <= max; api++) {
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/configuration/ |
D | ConfigurationMatcher.java | 274 int start, max; in findAndSetCompatibleConfig() local 278 max = localeList.size(); in findAndSetCompatibleConfig() 282 max = localeHostMatch + 1; // test is < in findAndSetCompatibleConfig() 285 for (int i = start ; i < max ; i++) { in findAndSetCompatibleConfig()
|
D | VaryingConfiguration.java | 140 mVariationCount = Math.max(mVariationCount, variation + 1); in setVariation()
|
/sdk/templates/docs/ |
D | prettify.js | 3 …max(65,j)|32,Math.min(d,90)|32]),d<97||j>122||b.push([Math.max(97,j)&-33,Math.min(d,122)&-33]))}}b…
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt.package/ |
D | welcome.css | 96 max-width:900px;
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/ |
D | VisualRefactoring.java | 172 end = Math.max(end, region.getEndOffset()); in VisualRefactoring() 210 end = Math.max(end, region.getEndOffset()); in VisualRefactoring() 591 protected static String getIndent(String line, int max) { in getIndent() argument 593 int n = Math.min(max, line.length()); in getIndent() 684 end = Math.max(end, region.getEndOffset()); in initElements() 1353 end = Math.max(start, end); in reformat()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/editors/ |
D | GLFunctionTraceViewer.java | 611 int max = mVerticalScrollBar.getMaximum(); in updateVisibleRange() local 614 double top = (double) selection / max; in updateVisibleRange() 615 double bottom = (double) (selection + thumb) / max; in updateVisibleRange()
|