Home
last modified time | relevance | path

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

12

/development/tools/emulator/opengl/shared/OpenglCodecCommon/
DglUtils.h66 template <class T> void minmax(T *indices, int count, int *min, int *max) { in minmax() argument
68 *max = -1; in minmax()
72 if (*max == -1 || *ptr > *max) *max = *ptr; in minmax()
/development/ndk/sources/android/libportable/arch-mips/
Depoll.c24 int epoll_wait_portable(int epfd, struct epoll_event *events, int max, int timeout) in epoll_wait_portable() argument
26 return epoll_wait(epfd, events, max, timeout); in epoll_wait_portable()
/development/ndk/sources/android/libportable/arch-arm/
Depoll.c24 int epoll_wait_portable(int epfd, struct epoll_event *events, int max, int timeout) in epoll_wait_portable() argument
26 return epoll_wait(epfd, events, max, timeout); in epoll_wait_portable()
/development/ndk/sources/android/libportable/arch-x86/
Depoll.c30 int epoll_wait_portable(int epfd, struct epoll_event_portable *events, int max, int timeout) in epoll_wait_portable() argument
33 int ret = epoll_wait(epfd, &x86_epoll_event, max, timeout); in epoll_wait_portable()
/development/ndk/platforms/android-3/include/linux/netfilter/
Dxt_length.h16 u_int16_t min, 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/BrowserPlugin/jni/animation/
DAnimationThread.cpp71 static void bounce(float* x, float* dx, const float max) { in bounce() argument
78 } else if (*x > max) { in bounce()
79 *x = max; in bounce()
/development/ndk/platforms/android-3/include/linux/netfilter_ipv4/
Dip_nat.h44 union ip_conntrack_manip_proto min, max; member
Dipt_hashlimit.h30 u_int32_t max; member
/development/tools/emulator/system/camera/
DEmulatedCameraCommon.h58 #define max(a,b) (((a) > (b)) ? (a) : (b)) macro
DCallbackNotifier.cpp57 static int GetMessageStrings(uint32_t msg, const char** strings, int max) in GetMessageStrings() argument
61 while (msg != 0 && out < max && index < lCameraMessagesNum) { in GetMessageStrings()
/development/ndk/platforms/android-3/include/sys/
Depoll.h67 int epoll_wait(int epfd, struct epoll_event *events, int max, int timeout);
/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/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/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/samples/ApiDemos/src/com/example/android/apis/graphics/
DPictureLayout.java100 maxHeight = Math.max(maxHeight, drawable.getMinimumHeight()); in onMeasure()
101 maxWidth = Math.max(maxWidth, drawable.getMinimumWidth()); in onMeasure()
/development/ndk/platforms/android-8/include/
Dtime.h80 extern size_t strftime(char *s, size_t max, const char *format, const struct tm *tm);
/development/samples/CrossCompatibility/src/com/example/android/touchexample/
DTouchExampleView.java77 mScaleFactor = Math.max(0.1f, Math.min(mScaleFactor, 5.0f)); in onScale()
/development/ndk/platforms/android-3/include/
Dtime.h80 extern size_t strftime(char *s, size_t max, const char *format, const struct tm *tm);
/development/apps/FontLab/src/com/android/fontlab/
DFontLab.java310 size = Math.min(MAX_SIZE, Math.max(MIN_SIZE, size)); in onKeyDown()
319 scaleX = Math.min(MAX_SCALE_X, Math.max(MIN_SCALE_X, scaleX)); in onKeyDown()
335 int gamma = Math.min(MAX_GAMMA, Math.max(MIN_GAMMA, mGamma + delta)); in changeGamma()
/development/samples/ApiDemos/src/com/example/android/apis/accessibility/
DCustomViewAccessibilityActivity.java256 final int minWidth = Math.max(mOnLayout.getWidth(), mOffLayout.getWidth()) in onMeasure()
258 final int minHeight = Math.max(mOnLayout.getHeight(), mOffLayout.getHeight()) in onMeasure()

12