Home
last modified time | relevance | path

Searched refs:numValues (Results 1 – 16 of 16) 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/av/media/libaudiofoundation/
DAudioGain.cpp52 uint32_t numValues; in getDefaultConfig() local
54 numValues = audio_channel_count_from_in_mask(mGain.channel_mask); in getDefaultConfig()
56 numValues = audio_channel_count_from_out_mask(mGain.channel_mask); in getDefaultConfig()
58 for (size_t i = 0; i < numValues; i++) { in getDefaultConfig()
81 uint32_t numValues; in checkConfig() local
83 numValues = audio_channel_count_from_in_mask(config->channel_mask); in checkConfig()
85 numValues = audio_channel_count_from_out_mask(config->channel_mask); in checkConfig()
87 for (size_t i = 0; i < numValues; i++) { in checkConfig()
/frameworks/base/core/java/android/animation/
DValueAnimator.java542 int numValues = values.length; in setValues() local
544 mValuesMap = new HashMap<String, PropertyValuesHolder>(numValues); in setValues()
545 for (int i = 0; i < numValues; ++i) { in setValues()
578 int numValues = mValues.length; in initAnimation() local
579 for (int i = 0; i < numValues; ++i) { in initAnimation()
1559 int numValues = mValues.length; in animateValue() local
1560 for (int i = 0; i < numValues; ++i) { in animateValue()
1598 int numValues = oldValues.length; in clone() local
1599 anim.mValues = new PropertyValuesHolder[numValues]; in clone()
1600 anim.mValuesMap = new HashMap<String, PropertyValuesHolder>(numValues); in clone()
[all …]
DObjectAnimator.java889 final int numValues = mValues.length; in initAnimation() local
890 for (int i = 0; i < numValues; ++i) { in initAnimation()
944 final int numValues = mValues.length; in setupStartValues() local
945 for (int i = 0; i < numValues; ++i) { in setupStartValues()
957 final int numValues = mValues.length; in setupEndValues() local
958 for (int i = 0; i < numValues; ++i) { in setupEndValues()
988 int numValues = mValues.length; in animateValue() local
989 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.cpp71 size_t numValues = 0; in parseCSV() local
82 values.resize(++numValues); in parseCSV()
84 for (size_t i = 1; i < numValues; ) { in parseCSV()
89 return numValues; in parseCSV()
95 numValues++; in parseCSV()
/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/media/libaudioclient/
DAidlConversion.cpp471 size_t numValues = isJoint ? 1 in aidl2legacy_AudioGainConfig_audio_gain_config() local
474 if (aidl.values.size() != numValues || aidl.values.size() > std::size(legacy.values)) { in aidl2legacy_AudioGainConfig_audio_gain_config()
477 for (size_t i = 0; i < numValues; ++i) { in aidl2legacy_AudioGainConfig_audio_gain_config()
493 size_t numValues = isJoint ? 1 in legacy2aidl_audio_gain_config_AudioGainConfig() local
496 aidl.values.resize(numValues); in legacy2aidl_audio_gain_config_AudioGainConfig()
497 for (size_t i = 0; i < numValues; ++i) { in legacy2aidl_audio_gain_config_AudioGainConfig()
/frameworks/base/core/java/android/content/
DContentProvider.java1721 int numValues = values.length; in bulkInsert() local
1722 for (int i = 0; i < numValues; i++) { in bulkInsert()
1725 return numValues; in bulkInsert()
/frameworks/base/core/jni/
Dandroid_media_AudioSystem.cpp1090 int numValues; in convertAudioPortConfigFromNative() local
1092 numValues = audio_channel_count_from_in_mask(nAudioPortConfig->gain.channel_mask); in convertAudioPortConfigFromNative()
1094 numValues = audio_channel_count_from_out_mask(nAudioPortConfig->gain.channel_mask); in convertAudioPortConfigFromNative()
1096 jGainValues = env->NewIntArray(numValues); in convertAudioPortConfigFromNative()
1098 ALOGV("convertAudioPortConfigFromNative could not create gain values %d", numValues); in convertAudioPortConfigFromNative()
1102 env->SetIntArrayRegion(jGainValues, 0, numValues, in convertAudioPortConfigFromNative()