Home
last modified time | relevance | path

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

1234

/development/tools/bugreport/src/com/android/bugreport/util/
DLines.java86 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/
DMainActivity.java254 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/ndk/platforms/android-9/include/linux/netfilter/
Dxt_length.h16 u_int16_t min, max; member
/development/ndk/platforms/android-21/include/linux/netfilter/
Dxt_length.h24 __u16 min, max; member
Dnf_nat.h36 union nf_conntrack_man_proto min; member
Dxt_u32.h36 __u32 min; member
/development/samples/browseable/ActivitySceneTransitionBasic/src/com.example.android.activityscenetransitionbasic/
DSquareFrameLayout.java55 final int minSize = Math.min(getMeasuredWidth(), getMeasuredHeight()); in onMeasure()
68 size = Math.min(widthSize, heightSize); in onMeasure()
/development/build/tools/
Dmk_sdk_repo_xml.sh106 Platform.MinToolsRev min-tools-rev 1
107 Platform.MinPlatformToolsRev min-platform-tools-rev 3
108 Sample.MinApiLevel min-api-level 2
120 Extra.MinApiLevel min-api-level 2
157 Archive.MinJvmVers min-jvm-version 1
176 @ min-tools-rev
177 @ min-platform-tools-rev
/development/ndk/platforms/android-21/include/linux/
Datm_nicstar.h30 unsigned min; member
/development/samples/browseable/BasicRenderScript/src/com.example.android.basicrenderscript/
DMainActivity.java71 float min = 0.0f; in onCreate()
72 float f = (float) ((max - min) * (progress / 100.0) + min); in onCreate()
/development/ndk/platforms/android-9/include/linux/netfilter_ipv4/
Dip_nat.h44 union ip_conntrack_manip_proto min, max; member
/development/samples/browseable/MediaBrowserService/src/com.example.android.mediabrowserservice/utils/
DBitmapHelper.java34 double scaleFactor = Math.min( in scaleBitmap()
60 return Math.min(actualW/targetW, actualH/targetH); in findScaleFactor()
/development/samples/browseable/WearNotifications/Wearable/src/com.example.android.wearable.wear.wearnotifications/
DScalingOffsettingHelper.java48 mProgressToCenter = Math.min(mProgressToCenter, MAX_CHILD_SCALE); in updateChild()
/development/samples/devbytes/graphics/ImagePixelization/src/com/example/android/imagepixelization/
DImagePixelization.java183 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/devbytes/animation/Bouncer/src/com/example/android/bouncer/
DBouncer1.java69 minX = Math.min(mShapeX, minX); in setShapeX()
78 minY = Math.min(mShapeY, minY); in setShapeY()
DBouncer.java95 minX = Math.min(mShapeX, minX); in setShapeX()
108 minY = Math.min(mShapeY, minY); in setShapeY()
DBouncer3.java70 minX = Math.min(mShapeX, minX); in setShapeX()
79 minY = Math.min(mShapeY, minY); in setShapeY()
DBouncer2.java70 minX = Math.min(mShapeX, minX); in setShapeX()
79 minY = Math.min(mShapeY, minY); in setShapeY()
/development/samples/browseable/MediaBrowserService/src/com.example.android.mediabrowserservice/
DAlbumArtCache.java59 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/ApiDemos/src/com/example/android/apis/view/
DLabelView.java151 result = Math.min(result, specSize); in measureWidth()
178 result = Math.min(result, specSize); in measureHeight()
/development/samples/browseable/SwipeRefreshLayoutBasic/src/com.example.android.common/dummydata/
DCheeses.java178 count = Math.min(count, CHEESES.length); in randomList()
/development/samples/browseable/SwipeRefreshListFragment/src/com.example.android.common/dummydata/
DCheeses.java178 count = Math.min(count, CHEESES.length); in randomList()
/development/samples/browseable/SwipeRefreshMultipleViews/src/com.example.android.common/dummydata/
DCheeses.java178 count = Math.min(count, CHEESES.length); in randomList()
/development/samples/ApiDemos/src/com/example/android/apis/animation/
DLayoutAnimationsByDefault.java56 gridContainer.addView(newButton, Math.min(1, gridContainer.getChildCount())); in onCreate()
/development/samples/browseable/MediaRouter/src/com.example.android.mediarouter/player/
DOverlayDisplayWindow.java318 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()

1234