Home
last modified time | relevance | path

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

1234

/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/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/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/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/ndk/platforms/android-3/include/linux/netfilter/
Dxt_length.h16 u_int16_t min, max; 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/samples/Support4Demos/src/com/example/android/supportv4/media/utils/
DBitmapHelper.java36 double scaleFactor = Math.min( in scaleBitmap()
62 return Math.min(actualW/targetW, actualH/targetH); in findScaleFactor()
/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/ndk/platforms/android-21/include/linux/
Datm_nicstar.h30 unsigned min; member
/development/ndk/platforms/android-3/include/linux/netfilter_ipv4/
Dip_nat.h44 union ip_conntrack_manip_proto min, max; member
/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()
DBouncer3.java70 minX = Math.min(mShapeX, minX); in setShapeX()
79 minY = Math.min(mShapeY, minY); in setShapeY()
DBouncer.java95 minX = Math.min(mShapeX, minX); in setShapeX()
108 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/Support4Demos/src/com/example/android/supportv4/media/
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/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/tools/yuv420sp2rgb/
Dyuv420sp2rgb.c14 #define min(a,b) ({typeof(a) _a = (a); typeof(b) _b = (b); _a < _b ? _a : _b; }) macro
103 nR = min(262143, max(0, nR)); in color_convert_common()
104 nG = min(262143, max(0, nG)); in color_convert_common()
105 nB = min(262143, max(0, nB)); in color_convert_common()
/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()
/development/samples/browseable/SwipeRefreshMultipleViews/src/com.example.android.common/dummydata/
DCheeses.java178 count = Math.min(count, CHEESES.length); in randomList()
/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()

1234