/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 88 mMin = min; in Lines() 90 this.pos = min; in Lines() 139 return new Lines<T>(mList, Math.max(mMin, from), Math.min(mMax, to)); in copy()
|
/development/samples/browseable/RenderScriptIntrinsic/src/com.example.android.renderscriptintrinsic/ |
D | MainActivity.java | 254 final float min = 1.f; in getFilterParameter() local 255 f = (float) ((max - min) * (i / 100.0) + min); in getFilterParameter() 260 final float min = 0.f; in getFilterParameter() local 261 f = (float) ((max - min) * (i / 100.0) + min); in getFilterParameter() 266 final float min = (float) -Math.PI; in getFilterParameter() local 267 f = (float) ((max - min) * (i / 100.0) + min); in getFilterParameter()
|
/development/samples/browseable/ActivitySceneTransitionBasic/src/com.example.android.activityscenetransitionbasic/ |
D | SquareFrameLayout.java | 55 final int minSize = Math.min(getMeasuredWidth(), getMeasuredHeight()); in onMeasure() 68 size = Math.min(widthSize, heightSize); in onMeasure()
|
/development/build/tools/ |
D | mk_sdk_repo_xml.sh | 110 Platform.MinToolsRev min-tools-rev 1 111 Platform.MinPlatformToolsRev min-platform-tools-rev 3 112 Sample.MinApiLevel min-api-level 2 124 Extra.MinApiLevel min-api-level 2 161 Archive.MinJvmVers min-jvm-version 1 180 @ min-tools-rev 181 @ min-platform-tools-rev
|
/development/samples/browseable/BasicRenderScript/src/com.example.android.basicrenderscript/ |
D | MainActivity.java | 71 float min = 0.0f; in onCreate() 72 float f = (float) ((max - min) * (progress / 100.0) + min); in onCreate()
|
/development/samples/browseable/MediaBrowserService/src/com.example.android.mediabrowserservice/utils/ |
D | BitmapHelper.java | 34 double scaleFactor = Math.min( in scaleBitmap() 60 return Math.min(actualW/targetW, actualH/targetH); in findScaleFactor()
|
/development/samples/devbytes/graphics/ImagePixelization/src/com/example/android/imagepixelization/ |
D | ImagePixelization.java | 183 maxX = Math.min(x + xPixels, width); in customImagePixelization() 184 maxY = Math.min(y + yPixels, height); in customImagePixelization() 200 int w = Math.min(xPixels, width - x); in customImagePixelization() 201 int h = Math.min(yPixels, height - y); in customImagePixelization()
|
/development/samples/browseable/WearNotifications/Wearable/src/com.example.android.wearable.wear.wearnotifications/ |
D | ScalingOffsettingHelper.java | 48 mProgressToCenter = Math.min(mProgressToCenter, MAX_CHILD_SCALE); in updateChild()
|
/development/samples/ApiDemos/src/com/example/android/apis/view/ |
D | LabelView.java | 151 result = Math.min(result, specSize); in measureWidth() 178 result = Math.min(result, specSize); in measureHeight()
|
D | LayoutAnimation4.java | 70 return Math.min(32, mApps.size()); in getCount()
|
D | LayoutAnimation6.java | 69 return Math.min(32, mApps.size()); in getCount()
|
D | LayoutAnimation5.java | 69 return Math.min(32, mApps.size()); in getCount()
|
D | LayoutAnimation1.java | 69 return Math.min(32, mApps.size()); in getCount()
|
/development/samples/browseable/MediaBrowserService/src/com.example.android.mediabrowserservice/ |
D | AlbumArtCache.java | 59 int maxSize = Math.min(MAX_ALBUM_ART_CACHE_SIZE, in AlbumArtCache() 60 (int) (Math.min(Integer.MAX_VALUE, Runtime.getRuntime().maxMemory()/4))); in AlbumArtCache()
|
/development/samples/devbytes/animation/Bouncer/src/com/example/android/bouncer/ |
D | Bouncer1.java | 69 minX = Math.min(mShapeX, minX); in setShapeX() 78 minY = Math.min(mShapeY, minY); in setShapeY()
|
D | Bouncer3.java | 70 minX = Math.min(mShapeX, minX); in setShapeX() 79 minY = Math.min(mShapeY, minY); in setShapeY()
|
D | Bouncer.java | 95 minX = Math.min(mShapeX, minX); in setShapeX() 108 minY = Math.min(mShapeY, minY); in setShapeY()
|
D | Bouncer2.java | 70 minX = Math.min(mShapeX, minX); in setShapeX() 79 minY = Math.min(mShapeY, minY); in setShapeY()
|
/development/samples/browseable/SwipeRefreshLayoutBasic/src/com.example.android.common/dummydata/ |
D | Cheeses.java | 178 count = Math.min(count, CHEESES.length); in randomList()
|
/development/samples/browseable/SwipeRefreshListFragment/src/com.example.android.common/dummydata/ |
D | Cheeses.java | 178 count = Math.min(count, CHEESES.length); in randomList()
|
/development/samples/browseable/SwipeRefreshMultipleViews/src/com.example.android.common/dummydata/ |
D | Cheeses.java | 178 count = Math.min(count, CHEESES.length); in randomList()
|
/development/samples/browseable/MediaRouter/src/com.example.android.mediarouter/player/ |
D | OverlayDisplayWindow.java | 318 scale = Math.min(scale, (float)mDefaultDisplayMetrics.widthPixels / mWidth); in updateWindowParams() 319 scale = Math.min(scale, (float)mDefaultDisplayMetrics.heightPixels / mHeight); in updateWindowParams() 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/samples/ApiDemos/src/com/example/android/apis/animation/ |
D | LayoutAnimationsByDefault.java | 56 gridContainer.addView(newButton, Math.min(1, gridContainer.getChildCount())); in onCreate()
|
/development/samples/ApiDemos/src/com/example/android/apis/accessibility/ |
D | MagnificationService.java | 120 final float nextScale = Math.max(1f, Math.min(5f, currScale + increment)); in handleVolumeKey()
|
/development/samples/CrossCompatibility/src/com/example/android/touchexample/ |
D | TouchExampleView.java | 77 mScaleFactor = Math.max(0.1f, Math.min(mScaleFactor, 5.0f)); in onScale()
|