Home
last modified time | relevance | path

Searched refs:max (Results 1 – 25 of 81) sorted by relevance

1234

/development/perftests/panorama/feature_stab/db_vlvm/
Ddb_utilities_random.h57 inline int db_RandomInt(int &r,int max) in db_RandomInt() argument
61 dtemp=db_QuickRandomDouble(r)*(max+1); in db_RandomInt()
64 if(itemp>=max) return(max); in db_RandomInt()
/development/ndk/sources/android/libportable/arch-mips/
Depoll.c25 int WRAP(epoll_wait)(int epfd, struct epoll_event *events, int max, int timeout) in WRAP()
27 return REAL(epoll_wait)(epfd, events, max, timeout); in WRAP()
/development/samples/ApiDemos/src/com/example/android/apis/graphics/
DShadowCardStack.java65 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()
/development/ndk/sources/android/libportable/arch-x86/
Depoll.c31 int WRAP(epoll_wait)(int epfd, struct epoll_event_portable *events, int max, int timeout) in WRAP()
34 int ret = REAL(epoll_wait)(epfd, &x86_epoll_event, max, timeout); in WRAP()
/development/samples/ApiDemos/src/com/example/android/apis/view/
DCustomLayout.java101 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/ndk/platforms/android-L/include/linux/netfilter/
Dxt_hashlimit.h42 __u32 max; member
65 __u32 max; member
Dxt_length.h24 __u16 min, max; member
Dnf_nat.h35 union nf_conntrack_man_proto max; member
Dxt_u32.h37 __u32 max; member
/development/samples/Support4Demos/src/com/example/android/supportv4/app/
DFragmentRetainInstanceSupport.java113 int max = 10000;
122 while (!mReady || mPosition >= max) {
136 max = mProgressBar.getMax();
/development/samples/ApiDemos/src/com/example/android/apis/app/
DFragmentRetainInstance.java112 int max = 10000;
121 while (!mReady || mPosition >= max) {
135 max = mProgressBar.getMax();
/development/samples/browseable/RenderScriptIntrinsic/src/com.example.android.renderscriptintrinsic/
DMainActivity.java253 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/ndk/platforms/android-3/include/linux/netfilter/
Dxt_length.h16 u_int16_t min, max; member
/development/tools/yuv420sp2rgb/
Dyuv420sp2rgb.c12 #ifndef max
13 #define max(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/ndk/platforms/android-L/include/linux/
Datm_nicstar.h32 unsigned max; member
/development/ndk/platforms/android-3/include/linux/netfilter_ipv4/
Dipt_hashlimit.h30 u_int32_t max; member
Dip_nat.h44 union ip_conntrack_manip_proto min, max; member
/development/samples/ApiDemos/src/com/example/android/apis/graphics/spritetext/
DLabelMaker.java183 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/ndk/platforms/android-3/header-patches/include/sys/
Depoll.h68 int epoll_wait(int epfd, struct epoll_event *events, int max, int timeout);
/development/ndk/platforms/android-3/include/sys/
Depoll.h67 int epoll_wait(int epfd, struct epoll_event *events, int max, int timeout);
/development/samples/devbytes/animation/Bouncer/src/com/example/android/bouncer/
DBouncer.java96 maxX = Math.max(mShapeX + mShapeW, maxX); in setShapeX()
109 maxY = Math.max(mShapeY + mShapeH, maxY); in setShapeY()
DBouncer3.java71 maxX = Math.max(mShapeX + mShapeW, maxX); in setShapeX()
80 maxY = Math.max(mShapeY + mShapeH, maxY); in setShapeY()
DBouncer1.java70 maxX = Math.max(mShapeX + mShapeW, maxX); in setShapeX()
79 maxY = Math.max(mShapeY + mShapeH, maxY); in setShapeY()
DBouncer2.java71 maxX = Math.max(mShapeX + mShapeW, maxX); in setShapeX()
80 maxY = Math.max(mShapeY + mShapeH, maxY); in setShapeY()
/development/ndk/platforms/android-18/samples/MoreTeapots/assets/Shaders/
DShaderPlain.fsh17 mediump float NdotH = max(dot(normalize(normal), halfVector), 0.0);

1234