/hardware/qcom/display/msm8909/liboverlay/ |
overlayUtils.h | 388 template<typename T> inline T max(T a, T b) { return (a > b) ? a : b; } function in namespace:overlay::utils
|
/hardware/qcom/display/msm8994/liboverlay/ |
overlayUtils.h | 391 template<typename T> inline T max(T a, T b) { return (a > b) ? a : b; } function in namespace:overlay::utils
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ |
MathTest.java | 615 * java.lang.Math#max(double, double) 618 // Test for method double java.lang.Math.max(double, double) 619 assertEquals("Incorrect double max value", 1908897.6000089, 620 max(-1908897.6000089, 1908897.6000089, useMath), 0D); 621 assertEquals("Incorrect double max value", 622 1908897.6000089, max(2.0, 1908897.6000089, useMath), 0D); 623 assertEquals("Incorrect double max value", -2.0, max(-2.0, -1908897.6000089, useMath), 0D); 627 assertEquals("Max failed for NaN", 628 Double.toString(Double.NaN), Double.toString(max(Double.NaN, 42.0d, useMath))) 739 private static double max(double a, double b, boolean useMath) { method in class:MathTest [all...] |
/libcore/luni/src/main/java/java/math/ |
BigInteger.java | 195 final int max = (int) Math.sqrt(x); local 196 for (int i = 3; i <= max; i += 2) { 822 public BigInteger max(BigInteger value) { method in class:BigInteger [all...] |
/libcore/ojluni/src/main/java/java/util/ |
Collections.java | 740 public static <T extends Object & Comparable<? super T>> T max(Collection<? extends T> coll) { method in class:Collections 776 public static <T> T max(Collection<? extends T> coll, Comparator<? super T> comp) { method in class:Collections [all...] |
HashMap.java | 253 this(Math.max((int) (m.size() / DEFAULT_LOAD_FACTOR) + 1, 547 inflateTable((int) Math.max(numKeysToBeAdded * loadFactor, threshold)); [all...] |
WeakHashMap.java | 254 this(Math.max((int) (m.size() / DEFAULT_LOAD_FACTOR) + 1, [all...] |
/libcore/ojluni/src/main/java/sun/nio/ch/ |
FileChannelImpl.java | 606 long max = Math.min(count, src.size() - pos); local 608 long remaining = max; 622 if (remaining == max) 629 long nwritten = max - remaining; [all...] |
/packages/apps/Camera2/src/com/android/camera/ |
ButtonManager.java | 226 button.setState(Math.max(index, 0), false); 597 * @param max Maximum exposure compensation value. 600 public void setExposureCompensationParameters(int min, int max, float step) { 601 mMaxExposureCompensation = max; 608 setVisible(mExposureP1, (Math.round(max * step) >= 1)); 609 setVisible(mExposureP2, (Math.round(max * step) >= 2)); [all...] |
/packages/apps/ContactsCommon/src/com/android/contacts/common/model/ |
RawContactModifier.java | 826 int max = 0; local [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/ |
ImageCurves.java | 368 int max = 0; local 370 if (histogram[i] > max) { 371 max = histogram[i]; 378 float wh = (0.3f * h) / max;
|
/packages/apps/Gallery2/src/com/android/gallery3d/ingest/ |
IngestActivity.java | 437 int max; field in class:IngestActivity.ProgressState 443 max = 0; 453 mProgressState.max = 0; 463 mProgressState.max = 0; 480 mProgressState.max = totalCount; 509 boolean indeterminate = (mProgressState.max == 0); 521 dialog.setMax(mProgressState.max);
|
/packages/apps/LegacyCamera/jni/feature_mos/src/mosaic/ |
Blend.cpp | 77 inline double max(double a, double b) { return a > b ? a : b; } function 139 global_rect.rgt = global_rect.top = -2e30; // max values 214 fullRect.right = (int) ceil(global_rect.rgt); // max-x 215 fullRect.bottom = (int) ceil(global_rect.top);// max-y 223 xLeftMost = max(0, max(xLeftCorners[0], xLeftCorners[1]) - fullRect.left + 1); 226 yTopMost = max(0, max(yTopCorners[0], yTopCorners[1]) - fullRect.top + 1); [all...] |
/packages/apps/Messaging/src/com/android/messaging/mmslib/pdu/ |
PduComposer.java | 372 long max = SHORT_INTEGER_MAX; local 375 if (value < max) { 379 max = (max << 7) | 0x7fL; [all...] |
/packages/apps/Nfc/src/com/android/nfc/cardemulation/ |
RegisteredNfcFServicesCache.java | 698 long max = 0xFFFFFFFFFFFFL; local 700 long randomNfcid2 = (long)Math.floor(Math.random() * (max-min+1)) + min;
|
/packages/apps/Settings/src/com/android/settings/applications/ |
ProcessStatsDetail.java | 195 long duration = Math.max(mApp.mRunDuration, mApp.mBgDuration); 199 double max = Math.max(mApp.mMaxBgMem, mApp.mMaxRunMem) * mTotalScale * 1024; local 201 Formatter.formatShortFileSize(getContext(), (long) max)); 251 long duration = Math.max(entry.mRunDuration, entry.mBgDuration); 252 long memoryUse = Math.max((long) (entry.mRunWeight * mWeightToRam),
|
/packages/apps/Settings/src/com/android/settings/widget/ |
ChartDataUsageView.java | 205 final long max = mVertMax; local 212 newMax = max * 11 / 10; 215 newMax = max * 9 / 10; 217 newMax = max; 222 final long maxSweep = Math.max(mSweepWarning.getValue(), mSweepLimit.getValue()); 223 final long maxSeries = Math.max(mSeries.getMaxVisible(), mDetailSeries.getMaxVisible()); 224 final long maxVisible = Math.max(maxSeries, maxSweep) * 12 / 10; 225 final long maxDefault = Math.max(maxVisible, 50 * MB_IN_BYTES); 226 newMax = Math.max(maxDefault, newMax); 407 public boolean setBounds(long min, long max) { [all...] |
/packages/inputmethods/OpenWnn/libs/libwnnDictionary/engine/ |
ndldic.c | 96 #define NEXT_QUE(que, max) ( ((que) < ((max) - 1)) ? ((que) + 1) : 0 ) 98 #define PREV_QUE(que, max) ( ((que) == 0) ? ((max) - 1) : ((que) - 1) ) 389 NJ_UINT16 max, end; local 392 max = GET_LEARN_MAX_WORD_COUNT(handle); 395 for (i = 0; i < max; i++) { 436 NJ_UINT16 max, end; local 440 max = GET_LEARN_MAX_WORD_COUNT(handle); 443 for (i = 0; i < max; i++) 482 NJ_UINT16 max; local 1199 NJ_UINT16 right, mid = 0, left, max; local 1397 NJ_UINT16 right, mid = 0, left, max = 0; local 1657 NJ_UINT16 max; local 1688 NJ_UINT16 max; local 1840 NJ_UINT16 word_cnt, max; local 2312 NJ_UINT16 right, mid = 0, left, max; local [all...] |
/platform_testing/libraries/aupt-lib/src/android/support/test/aupt/ |
AuptTestCase.java | 168 Long max = null; local 170 if (max == null || sample > max) { 171 max = sample; 174 return max;
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/x86_64-linux/include/c++/4.8/bits/ |
stl_algo.h | 4231 max(initializer_list<_Tp> __l) function 4236 max(initializer_list<_Tp> __l, _Compare __comp) function [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/x86_64-linux/include/c++/4.8/bits/ |
stl_algo.h | 4231 max(initializer_list<_Tp> __l) function 4236 max(initializer_list<_Tp> __l, _Compare __comp) function [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/c++/4.8.3/bits/ |
stl_algo.h | 4231 max(initializer_list<_Tp> __l) function 4236 max(initializer_list<_Tp> __l, _Compare __comp) function [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/draw9patch/ui/ |
ImageViewer.java | 426 int max = horizontalScroll + verticalBarSize + margin; local 427 mHorizontalBar.setMaximum(max); 431 value = max < value ? max : value; 446 int max = verticalScroll + horizontalBarSize + margin; 447 mVerticalBar.setMaximum(max); 451 value = max < value ? max : value;
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/formatting/ |
AndroidXmlFormattingStrategy.java | 208 int endOffset = Math.max(endRegion.getStartOffset(), 254 int max = regions.size(); local 255 for (index = Math.max(0, index); index < max; index++) { 453 int max = document.getLength(); local 454 for (index = replaceEnd; index < max; index++) { 517 replaceEnd = Math.max(replaceStart, replaceEnd); 728 Math.max(0, textStart - lineStart)); [all...] |
/system/bt/bta/hf_client/ |
bta_hf_client_at.c | 75 UINT8 max; member in struct:__anon71786 84 /* name | min | max | name length - used by parser */ 94 /* +VGM/+VGS - gain min/max values */ 342 static void bta_hf_client_handle_cind_list_item(char *name, UINT32 min, UINT32 max, UINT32 index) 347 APPL_TRACE_DEBUG("%s %lu.%s <%lu:%lu>", __FUNCTION__, index, name, min, max); 399 if(value > bta_hf_client_indicators[index].max || 438 if(value > bta_hf_client_indicators[realind].max || value < bta_hf_client_indicators[realind].min) 697 UINT32 min, max; local 701 while ((res = sscanf(buffer, "(\"%128[^\"]\",(%u%*[-,]%u))%n", name, &min, &max, &offset)) > 2) 703 bta_hf_client_handle_cind_list_item(name, min, max, index) [all...] |