Home
last modified time | relevance | path

Searched refs:numValues (Results 1 – 17 of 17) sorted by relevance

/frameworks/rs/
DrsClosure.cpp61 const int numValues, in Closure() argument
72 for (i = 0; i < (size_t)numValues && fieldIDs[i] == nullptr; i++); in Closure()
80 for (; i < (size_t)numValues; i++) { in Closure()
97 for (; i < (size_t)numValues; i++) { in Closure()
114 const size_t numValues, const ScriptFieldID** fieldIDs, in Closure() argument
121 for (size_t i = 0; i < numValues; i++) { in Closure()
DrsClosure.h25 const int numValues,
35 const size_t numValues,
/frameworks/base/core/java/android/animation/
DValueAnimator.java619 int numValues = values.length; in setValues() local
621 mValuesMap = new HashMap<>(numValues); in setValues()
622 for (int i = 0; i < numValues; ++i) { in setValues()
656 int numValues = mValues.length; in initAnimation() local
657 for (int i = 0; i < numValues; ++i) { in initAnimation()
1640 int numValues = mValues.length; in animateValue() local
1641 for (int i = 0; i < numValues; ++i) { in animateValue()
1675 int numValues = oldValues.length; in clone() local
1676 anim.mValues = new PropertyValuesHolder[numValues]; in clone()
1677 anim.mValuesMap = new HashMap<String, PropertyValuesHolder>(numValues); in clone()
[all …]
DObjectAnimator.java883 final int numValues = mValues.length; in initAnimation() local
884 for (int i = 0; i < numValues; ++i) { in initAnimation()
938 final int numValues = mValues.length; in setupStartValues() local
939 for (int i = 0; i < numValues; ++i) { in setupStartValues()
951 final int numValues = mValues.length; in setupEndValues() local
952 for (int i = 0; i < numValues; ++i) { in setupEndValues()
975 int numValues = mValues.length; in animateValue() local
976 for (int i = 0; i < numValues; ++i) { in animateValue()
/frameworks/av/media/libaudioprocessing/tests/
Dtest_utils.h61 size_t numValues = 0;
72 values.resize(++numValues);
74 for (size_t i = 1; i < numValues; ) {
79 return numValues;
85 numValues++;
Dtest-resampler.cpp72 size_t numValues = 0; in parseCSV() local
83 values.resize(++numValues); in parseCSV()
85 for (size_t i = 1; i < numValues; ) { in parseCSV()
90 return numValues; in parseCSV()
96 numValues++; in parseCSV()
/frameworks/av/media/libaudiofoundation/
DAudioGain.cpp48 const uint32_t numValues = mIsInput ? in getDefaultConfig() local
51 for (size_t i = 0; i < numValues; i++) { in getDefaultConfig()
74 const uint32_t numValues = mIsInput ? in checkConfig() local
77 for (size_t i = 0; i < numValues; i++) { in checkConfig()
/frameworks/base/rs/java/android/renderscript/
DScriptGroup.java129 int numValues = args.length + globals.size(); in Closure() local
131 long[] fieldIDs = new long[numValues]; in Closure()
132 long[] values = new long[numValues]; in Closure()
133 int[] sizes = new int[numValues]; in Closure()
134 long[] depClosures = new long[numValues]; in Closure()
135 long[] depFieldIDs = new long[numValues]; in Closure()
169 int numValues = globals.size(); in Closure() local
171 long[] fieldIDs = new long[numValues]; in Closure()
172 long[] values = new long[numValues]; in Closure()
173 int[] sizes = new int[numValues]; in Closure()
[all …]
/frameworks/ex/common/java/com/android/common/content/
DSQLiteContentProvider.java123 int numValues = values.length; in bulkInsert() local
127 for (int i = 0; i < numValues; i++) { in bulkInsert()
144 return numValues; in bulkInsert()
/frameworks/rs/support/java/src/androidx/renderscript/
DScriptGroup.java142 int numValues = args.length + globals.size(); in Closure() local
144 long[] fieldIDs = new long[numValues]; in Closure()
145 long[] values = new long[numValues]; in Closure()
146 int[] sizes = new int[numValues]; in Closure()
147 long[] depClosures = new long[numValues]; in Closure()
148 long[] depFieldIDs = new long[numValues]; in Closure()
185 int numValues = globals.size(); in Closure() local
187 long[] fieldIDs = new long[numValues]; in Closure()
188 long[] values = new long[numValues]; in Closure()
189 int[] sizes = new int[numValues]; in Closure()
[all …]
/frameworks/rs/support/jni/
Dandroid_renderscript_RenderScript.cpp375 size_t numValues, numDependencies; in nClosureCreate() local
385 numValues = (size_t)fieldIDs_length; in nClosureCreate()
394 if (numDependencies > numValues) { in nClosureCreate()
399 if (numValues > RS_CLOSURE_MAX_NUMBER_ARGS_AND_BINDINGS) { in nClosureCreate()
404 if (numValues > 0) { in nClosureCreate()
405 fieldIDs = (RsScriptFieldID*)alloca(sizeof(RsScriptFieldID) * numValues); in nClosureCreate()
415 for (size_t i = 0; i < numValues; i++) { in nClosureCreate()
446 fieldIDs, numValues, jValues, numValues, in nClosureCreate()
447 (int*)jSizes, numValues, in nClosureCreate()
477 size_t numValues; in nInvokeClosureCreate() local
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DViewTransformationHelper.java243 int numValues = mTransformedViews.size(); in addRemainingTransformTypes() local
244 for (int i = 0; i < numValues; i++) { in addRemainingTransformTypes()
/frameworks/base/rs/jni/
Dandroid_renderscript_RenderScript.cpp395 size_t numValues, numDependencies; in nClosureCreate() local
405 numValues = (size_t)fieldIDs_length; in nClosureCreate()
414 if (numDependencies > numValues) { in nClosureCreate()
419 if (numValues > RS_CLOSURE_MAX_NUMBER_ARGS_AND_BINDINGS) { in nClosureCreate()
424 if (numValues > 0) { in nClosureCreate()
425 fieldIDs = (RsScriptFieldID*)alloca(sizeof(RsScriptFieldID) * numValues); in nClosureCreate()
435 for (size_t i = 0; i < numValues; i++) { in nClosureCreate()
465 fieldIDs, numValues, jValues, numValues, in nClosureCreate()
466 (int*)jSizes, numValues, in nClosureCreate()
515 size_t numValues; in nInvokeClosureCreate() local
[all …]
/frameworks/av/services/audiopolicy/service/
DSpatializer.h373 int numValues = std::min(p->vsize / sizeof(T), values->size()); in getEffectParameter_l() local
376 std::copy(&retValues[0], &retValues[numValues], back_inserter(*values)); in getEffectParameter_l()
/frameworks/av/media/audioaidlconversion/
DAidlConversionCppNdk.cpp1258 size_t numValues = isJoint ? 1 in aidl2legacy_AudioGainConfig_audio_gain_config() local
1261 if (aidl.values.size() != numValues || aidl.values.size() > std::size(legacy.values)) { in aidl2legacy_AudioGainConfig_audio_gain_config()
1264 for (size_t i = 0; i < numValues; ++i) { in aidl2legacy_AudioGainConfig_audio_gain_config()
1279 size_t numValues = isJoint ? 1 in legacy2aidl_audio_gain_config_AudioGainConfig() local
1282 aidl.values.resize(numValues); in legacy2aidl_audio_gain_config_AudioGainConfig()
1283 for (size_t i = 0; i < numValues; ++i) { in legacy2aidl_audio_gain_config_AudioGainConfig()
/frameworks/base/core/java/android/content/
DContentProvider.java1955 int numValues = values.length; in bulkInsert() local
1956 for (int i = 0; i < numValues; i++) { in bulkInsert()
1959 return numValues; in bulkInsert()
/frameworks/base/core/jni/
Dandroid_media_AudioSystem.cpp1169 int numValues; in convertAudioPortConfigFromNative() local
1171 numValues = audio_channel_count_from_in_mask(nAudioPortConfig->gain.channel_mask); in convertAudioPortConfigFromNative()
1173 numValues = audio_channel_count_from_out_mask(nAudioPortConfig->gain.channel_mask); in convertAudioPortConfigFromNative()
1175 jGainValues = env->NewIntArray(numValues); in convertAudioPortConfigFromNative()
1177 ALOGV("convertAudioPortConfigFromNative could not create gain values %d", numValues); in convertAudioPortConfigFromNative()
1180 env->SetIntArrayRegion(jGainValues, 0, numValues, in convertAudioPortConfigFromNative()