/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
D | ShadowCardStack.java | 65 final int max = cardParent.getChildCount(); in onCreate() local 66 for (int i = 0; i < max; i++) { in onCreate() 70 float targetY = (i - (max-1) / 2.0f) * Y; in onCreate() 75 toward.setStartDelay(200 * ((max) - i)); in onCreate() 81 rotateAway.setStartDelay(200 * ((max) - i)); in onCreate() 86 slideAway.setStartDelay(200 * ((max) - i)); in onCreate()
|
D | PictureLayout.java | 100 maxHeight = Math.max(maxHeight, drawable.getMinimumHeight()); in onMeasure() 101 maxWidth = Math.max(maxWidth, drawable.getMinimumWidth()); in onMeasure()
|
D | ShadowCardDrag.java | 76 momentumX = Math.max(Math.min((momentumX), MAX_ANGLE), -MAX_ANGLE); in onMove() 77 momentumY = Math.max(Math.min((momentumY), MAX_ANGLE), -MAX_ANGLE); in onMove()
|
/development/samples/ApiDemos/src/com/example/android/apis/view/ |
D | CustomLayout.java | 101 mLeftWidth += Math.max(maxWidth, in onMeasure() 104 mRightWidth += Math.max(maxWidth, in onMeasure() 107 maxWidth = Math.max(maxWidth, in onMeasure() 110 maxHeight = Math.max(maxHeight, in onMeasure() 120 maxHeight = Math.max(maxHeight, getSuggestedMinimumHeight()); in onMeasure() 121 maxWidth = Math.max(maxWidth, getSuggestedMinimumWidth()); in onMeasure()
|
/development/samples/browseable/RenderScriptIntrinsic/src/com.example.android.renderscriptintrinsic/ |
D | MainActivity.java | 253 final float max = 25.0f; in getFilterParameter() local 255 f = (float) ((max - min) * (i / 100.0) + min); in getFilterParameter() 259 final float max = 2.f; in getFilterParameter() local 261 f = (float) ((max - min) * (i / 100.0) + min); in getFilterParameter() 265 final float max = (float) Math.PI; in getFilterParameter() local 267 f = (float) ((max - min) * (i / 100.0) + min); in getFilterParameter()
|
/development/tools/bugreport/src/com/android/bugreport/util/ |
D | Lines.java | 86 private Lines(ArrayList<? extends Line> list, int min, int max) { in Lines() argument 89 mMax = max; in Lines() 139 return new Lines<T>(mList, Math.max(mMin, from), Math.min(mMax, to)); in copy()
|
/development/samples/ApiDemos/src/com/example/android/apis/app/ |
D | FragmentRetainInstance.java | 112 int max = 10000; 121 while (!mReady || mPosition >= max) { 135 max = mProgressBar.getMax();
|
/development/samples/ApiDemos/src/com/example/android/apis/graphics/spritetext/ |
D | LabelMaker.java | 183 minWidth = Math.max(minWidth, background.getMinimumWidth()); in add() 184 minHeight = Math.max(minHeight, background.getMinimumHeight()); in add() 201 int height = Math.max(minHeight, textHeight + padHeight); in add() 202 int width = Math.max(minWidth, textWidth + padWidth); in add() 228 lineHeight = Math.max(lineHeight, height); in add()
|
/development/tools/compare_failed_tests/ |
D | compare_failed_tests.py | 62 max_key_len = max([len(k) for k in info_a]) 63 max_value_a_len = max([len(info_a[k]) for k in info_a]) 64 max_value_b_len = max([len(info_b[k]) for k in info_b])
|
/development/samples/devbytes/animation/Bouncer/src/com/example/android/bouncer/ |
D | Bouncer1.java | 70 maxX = Math.max(mShapeX + mShapeW, maxX); in setShapeX() 79 maxY = Math.max(mShapeY + mShapeH, maxY); in setShapeY()
|
D | Bouncer3.java | 71 maxX = Math.max(mShapeX + mShapeW, maxX); in setShapeX() 80 maxY = Math.max(mShapeY + mShapeH, maxY); in setShapeY()
|
D | Bouncer.java | 96 maxX = Math.max(mShapeX + mShapeW, maxX); in setShapeX() 109 maxY = Math.max(mShapeY + mShapeH, maxY); in setShapeY()
|
D | Bouncer2.java | 71 maxX = Math.max(mShapeX + mShapeW, maxX); in setShapeX() 80 maxY = Math.max(mShapeY + mShapeH, maxY); in setShapeY()
|
/development/samples/browseable/BasicRenderScript/src/com.example.android.basicrenderscript/ |
D | MainActivity.java | 70 float max = 2.0f; in onCreate() 72 float f = (float) ((max - min) * (progress / 100.0) + min); in onCreate()
|
/development/samples/browseable/Notifications/Wearable/src/com.example.android.support.wearable.notifications/ |
D | AnimatedNotificationDisplayActivity.java | 82 mAnimation.setDuration(Math.max(BASE_ANIMATION_DURATION_MS / 10, in createNextAnimation() 127 int minSize = Math.max(right - left, bottom - top) + mZoomLength; in onLayout()
|
/development/samples/training/InteractiveChart/src/com/example/android/interactivechart/ |
D | InteractiveLineGraphView.java | 282 Math.max(getSuggestedMinimumWidth(), in onMeasure() 286 Math.max(getSuggestedMinimumHeight(), in onMeasure() 704 mCurrentViewport.left = Math.max(AXIS_X_MIN, mCurrentViewport.left); in constrainViewport() 705 mCurrentViewport.top = Math.max(AXIS_Y_MIN, mCurrentViewport.top); in constrainViewport() 706 mCurrentViewport.bottom = Math.max(Math.nextUp(mCurrentViewport.top), in constrainViewport() 708 mCurrentViewport.right = Math.max(Math.nextUp(mCurrentViewport.left), in constrainViewport() 936 x = Math.max(AXIS_X_MIN, Math.min(x, AXIS_X_MAX - curWidth)); in setViewportBottomLeft() 937 y = Math.max(AXIS_Y_MIN + curHeight, Math.min(y, AXIS_Y_MAX)); in setViewportBottomLeft()
|
/development/scripts/ |
D | native_heapdump_viewer.py | 264 max = len(mappings) - 1 266 if max < min: 268 mid = (min + max) // 2 272 max = mid - 1
|
/development/samples/browseable/BatchStepSensor/src/com.example.android.batchstepsensor/cardstream/ |
D | Card.java | 228 public Card setMaxProgress(int max){ in setMaxProgress() argument 230 mCardProgress.setMax(max); in setMaxProgress() 676 public void setMax(int max) { in setMax() argument 677 maxValue = max; in setMax()
|
/development/samples/ApiDemos/src/com/example/android/apis/accessibility/ |
D | CustomViewAccessibilityActivity.java | 256 final int minWidth = Math.max(mOnLayout.getWidth(), mOffLayout.getWidth()) in onMeasure() 258 final int minHeight = Math.max(mOnLayout.getHeight(), mOffLayout.getHeight()) in onMeasure()
|
/development/tools/core_connectivity/ |
D | check_style.sh | 30 local MSG=`git rev-list --format=%B --max-count=1 HEAD`
|
/development/samples/ApiDemos/src/com/example/android/mmslib/pdu/ |
D | PduComposer.java | 365 long max = SHORT_INTEGER_MAX; in appendUintvarInteger() local 368 if (value < max) { in appendUintvarInteger() 372 max = (max << 7) | 0x7fl; in appendUintvarInteger()
|
/development/samples/browseable/MediaRouter/src/com.example.android.mediarouter/player/ |
D | OverlayDisplayWindow.java | 320 scale = Math.max(MIN_SCALE, Math.min(MAX_SCALE, scale)); in updateWindowParams() 327 x = Math.max(0, Math.min(x, mDefaultDisplayMetrics.widthPixels - width)); in updateWindowParams() 328 y = Math.max(0, Math.min(y, mDefaultDisplayMetrics.heightPixels - height)); in updateWindowParams()
|
/development/apps/Development/src/com/android/development/ |
D | MediaScannerActivity.java | 222 int max = elements.length; in getRandomWord() local 225 mBuilder.append(elements[mRandom.nextInt(max)]); in getRandomWord()
|
/development/samples/browseable/ActivitySceneTransitionBasic/src/com.example.android.activityscenetransitionbasic/ |
D | SquareFrameLayout.java | 64 size = Math.max(widthSize, heightSize); in onMeasure()
|
/development/apps/OBJViewer/com/android/objviewer/ |
D | OBJViewer.java | 187 float maxSpan = Math.max(spanX, spanY); in onDraw() 188 maxSpan = Math.max(maxSpan, spanZ); in onDraw()
|