/frameworks/av/media/libmedia/ |
H A D | IMediaRecorder.cpp | 256 status_t getMaxAmplitude(int* max) argument 262 *max = reply.readInt32(); 408 int max = 0; local 409 status_t ret = getMaxAmplitude(&max); 410 reply->writeInt32(max);
|
/frameworks/av/media/libmediaplayerservice/ |
H A D | MediaRecorderClient.cpp | 230 status_t MediaRecorderClient::getMaxAmplitude(int* max) argument 238 return mRecorder->getMaxAmplitude(max);
|
/frameworks/av/media/libstagefright/ |
H A D | MediaCodecListOverrides.cpp | 239 (caps->getDetails()->contains("max-supported-instances") || 240 caps->getDetails()->contains("max-concurrent-instances"))) { 244 size_t max = doProfileCodecs(info->isEncoder(), name, mimes[i], caps); local 245 if (max > 0) { 248 sprintf(maxStr, "%zu", max); 249 settings.add("max-supported-instances", maxStr); 262 if (max <= 1) { 300 // of setting in this case, which is "max-supported-instances".
|
/frameworks/av/media/libstagefright/codecs/aacenc/basic_op/ |
H A D | typedefs.h | 95 #ifndef max 96 #define max(a,b) ( (a) > (b) ? (a) : (b)) macro
|
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/ |
H A D | pitch_fr.cpp | 504 Word16 max; 510 max = Interpol_3or6 (&corr[*lag], *frac, flag3); // function result 514 if (sub (corr_int, max) > 0) { 515 max = corr_int; 577 Word16 max; local 583 max = Interpol_3or6(&corr[*lag], *frac, flag3, pOverflow); 589 if (corr_int > max) 591 max = corr_int; 1127 Word16 max, lag, frac; 1223 max 1384 Word16 max; local [all...] |
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm11/src/ |
H A D | armCOMM.c | 319 OMX_INT max, 324 if (src > max) 326 src = max; 355 OMX_F32 max, 360 if (src > max) 362 src = max; 317 armClip( OMX_INT min, OMX_INT max, OMX_S32 src ) argument 353 armClip_F32( OMX_F32 min, OMX_F32 max, OMX_F32 src ) argument
|
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm_neon/src/ |
H A D | armCOMM.c | 319 OMX_INT max, 324 if (src > max) 326 src = max; 355 OMX_F32 max, 360 if (src > max) 362 src = max; 317 armClip( OMX_INT min, OMX_INT max, OMX_S32 src ) argument 353 armClip_F32( OMX_F32 min, OMX_F32 max, OMX_F32 src ) argument
|
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/reference/src/ |
H A D | armCOMM.c | 319 OMX_INT max, 324 if (src > max) 326 src = max; 355 OMX_F32 max, 360 if (src > max) 362 src = max; 317 armClip( OMX_INT min, OMX_INT max, OMX_S32 src ) argument 353 armClip_F32( OMX_F32 min, OMX_F32 max, OMX_F32 src ) argument
|
/frameworks/av/media/vndk/xmlparser/1.0/ |
H A D | MediaCodecsXmlParser.cpp | 648 || !strcmp(attrs[i], "max") 683 AString min, max; local 684 if (msg->findString("min", &min) && msg->findString("max", &max)) { 686 min.append(max); 688 return limitError(name, "has 'min' and 'max' as well as 'range' or " 692 } else if (msg->contains("min") || msg->contains("max")) { 693 return limitError(name, "has only 'min' or 'max' attribute"); 694 } else if (msg->findString("value", &max)) { 695 min = max; 741 AString max, value, ranges; local [all...] |
/frameworks/base/core/java/android/util/ |
H A D | Half.java | 700 public static @HalfFloat short max(@HalfFloat short x, @HalfFloat short y) { method in class:Half
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/ |
H A D | CameraErrorCollector.java | 364 * @param max The max value of the range 367 T min, T max) { 371 min.toString(), max.toString()), 372 value.compareTo(max)<= 0 && value.compareTo(min) >= 0); 382 * @param max The max value of the range 385 T min, T max) { 386 expectValuesInRange(msg, Arrays.asList(array), min, max); 395 * @param max Th 366 expectValuesInRange(String msg, List<T> list, T min, T max) argument 384 expectValuesInRange(String msg, T[] array, T min, T max) argument 397 expectValuesInRange(String msg, int[] array, int min, int max) argument 415 expectInRange(String msg, T value, T min, T max) argument 849 expectKeyValueInRange( CameraCharacteristics characteristics, CameraCharacteristics.Key<T> key, T min, T max) argument [all...] |
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/common/ |
H A D | Utils.java | 98 // Returns the input value x clamped to the range [min, max]. 99 public static int clamp(int x, int min, int max) { argument 100 if (x > max) return max; 105 // Returns the input value x clamped to the range [min, max]. 106 public static float clamp(float x, float min, float max) { argument 107 if (x > max) return max; 112 // Returns the input value x clamped to the range [min, max]. 113 public static long clamp(long x, long min, long max) { argument [all...] |
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/ |
H A D | DelegateMethodAdapter.java | 446 public void visitTableSwitchInsn(int min, int max, Label dflt, Label[] labels) { argument 448 mOrgWriter.visitTableSwitchInsn(min, max, dflt, labels);
|
H A D | StubMethodAdapter.java | 363 public void visitTableSwitchInsn(int min, int max, Label dflt, Label[] labels) { argument 365 mParentVisitor.visitTableSwitchInsn(min, max, dflt, labels);
|
/frameworks/native/cmds/dumpstate/tests/ |
H A D | dumpstate_test.cpp | 175 std::string GetProgressMessage(const std::string& listener_name, int progress, int max, argument 178 EXPECT_EQ(max, ds.progress_->GetMax()) << "invalid max"; 185 android::base::StringPrintf("Adjusting max progress from %d to %d\n", old_max, max); 190 listener_name.c_str(), progress, max); 383 SetProgress(0, 8, 5); // 8 max, 5 threshold 405 // But max update should be sent. 587 Progress GetInstance(int32_t max, double growth_factor, const std::string& path = "") { argument 588 return Progress(max, growth_facto [all...] |
/frameworks/native/services/sensorservice/ |
H A D | vec.h | 45 template <typename T> inline T max(T a, T b) { return a>b ? a : b; } function in namespace:android::helpers 52 const size_t maxSize = max(SIZE, S);
|
/frameworks/opt/calendar/src/com/android/calendarcommon2/ |
H A D | RecurrenceProcessor.java | 76 * @param maxtime the max possible time of the last occurrence. null means no limit 165 * max -- if a value in a is negative, add that negative value 166 * to max and compare that instead; this is how we deal with 169 private static boolean listContains(int[] a, int N, int v, int max) argument 178 max += w; // w is negative 179 if (max == v) {
|
/frameworks/opt/net/voip/src/java/com/android/server/sip/ |
H A D | SipHelper.java | 123 private MaxForwardsHeader createMaxForwardsHeader(int max) argument 125 return mHeaderFactory.createMaxForwardsHeader(max);
|
/frameworks/av/media/libaudioprocessing/ |
H A D | AudioResamplerDyn.cpp | 218 template<typename T> T max(T a, T b) {return a > b ? a : b;} function in namespace:android 233 fcr = max(0.5*tbwCheat - tbw/2, tbw/2); 235 fcr = max(0.5*tbwCheat*outSampleRate/inSampleRate - tbw/2, tbw/2);
|
/frameworks/av/media/libstagefright/codecs/aacdec/ |
H A D | SoftAAC2.cpp | 388 int max; local 389 if (aacPresParams->nMaxOutputChannels >= 8) { max = 8; } 390 else if (aacPresParams->nMaxOutputChannels >= 6) { max = 6; } 391 else if (aacPresParams->nMaxOutputChannels >= 2) { max = 2; } 394 max = aacPresParams->nMaxOutputChannels; 396 ALOGV("set nMaxOutputChannels=%d", max); 397 aacDecoder_SetParam(mAACDecoder, AAC_PCM_MAX_OUTPUT_CHANNELS, max);
|
/frameworks/av/media/libstagefright/mpeg2ts/ |
H A D | MPEG2TSExtractor.cpp | 277 int64_t max = *durations.begin(); local 282 if (max < duration) { 283 max = duration; 286 if (max - min < 500 * 1000) { 376 off64_t offset = max(zero, size - kMaxDurationReadSize); 388 offset = max(zero, size - (kMaxDurationReadSize << retry)); 391 if (bytesRead >= kMaxDurationReadSize << max(0, retry - 1)) {
|
/frameworks/base/core/java/android/os/ |
H A D | FileUtils.java | 256 * @param max length (positive for head, negative of tail, 0 for no limit) 261 public static String readTextFile(File file, int max, String ellipsis) throws IOException { argument 269 if (max > 0 || (size > 0 && max == 0)) { // "head" mode: read the first N bytes 270 if (size > 0 && (max == 0 || size < max)) max = (int) size; 271 byte[] data = new byte[max + 1]; 274 if (length <= max) return new String(data, 0, length); 275 if (ellipsis == null) return new String(data, 0, max); [all...] |
/frameworks/base/core/java/android/widget/ |
H A D | AbsSeekBar.java | 490 setKeyProgressIncrement(Math.max(1, Math.round((float) range / 20))); 495 public synchronized void setMax(int max) { argument 496 super.setMax(max); 502 setKeyProgressIncrement(Math.max(1, Math.round((float) range / 20))); 584 // The max height does not incorporate padding, whereas the height 614 int max = getMax(); 615 int range = max - min; 751 dw = Math.max(mMinWidth, Math.min(mMaxWidth, d.getIntrinsicWidth())); 752 dh = Math.max(mMinHeight, Math.min(mMaxHeight, d.getIntrinsicHeight())); 753 dh = Math.max(thumbHeigh [all...] |
/frameworks/base/packages/EasterEgg/src/com/android/egg/octo/ |
H A D | OctopusDrawable.java | 346 float max, min; field in class:OctopusDrawable.Arm 349 float max, float min) { 360 this.max = max; 384 TaperedPathStroke.drawPath(canvas, p, max, min, pt); 348 Arm(float x, float y, float dx1, float dy1, float dx2, float dy2, float dx3, float dy3, float max, float min) argument
|
/frameworks/base/services/autofill/java/com/android/server/autofill/ |
H A D | AutofillManagerService.java | 424 public void setMaxPartitions(int max) { argument 426 Slog.i(TAG, "setMaxPartitions(): " + max); 428 sPartitionMaxCount = max;
|