Home
last modified time | relevance | path

Searched refs:vs (Results 1 – 25 of 70) sorted by relevance

123

/frameworks/rs/
DrsScript.cpp149 RsScriptKernelID rsi_ScriptKernelIDCreate(Context *rsc, RsScript vs, int slot, int sig) { in rsi_ScriptKernelIDCreate() argument
150 ScriptKernelID *kid = new ScriptKernelID(rsc, (Script *)vs, slot, sig); in rsi_ScriptKernelIDCreate()
155 RsScriptInvokeID rsi_ScriptInvokeIDCreate(Context *rsc, RsScript vs, uint32_t slot) { in rsi_ScriptInvokeIDCreate() argument
156 ScriptInvokeID *iid = new ScriptInvokeID(rsc, (Script *)vs, slot); in rsi_ScriptInvokeIDCreate()
161 RsScriptFieldID rsi_ScriptFieldIDCreate(Context *rsc, RsScript vs, int slot) { in rsi_ScriptFieldIDCreate() argument
162 ScriptFieldID *fid = new ScriptFieldID(rsc, (Script *)vs, slot); in rsi_ScriptFieldIDCreate()
167 void rsi_ScriptBindAllocation(Context * rsc, RsScript vs, RsAllocation va, uint32_t slot) { in rsi_ScriptBindAllocation() argument
168 Script *s = static_cast<Script *>(vs); in rsi_ScriptBindAllocation()
173 void rsi_ScriptSetTimeZone(Context * rsc, RsScript vs, const char * timeZone, size_t length) { in rsi_ScriptSetTimeZone() argument
192 void rsi_ScriptForEachMulti(Context *rsc, RsScript vs, uint32_t slot, in rsi_ScriptForEachMulti() argument
[all …]
/frameworks/minikin/tests/stresstest/
DFontFamilyTest.cpp52 for (uint32_t vs = VS1; vs < VS256; ++vs) { in TEST_P() local
54 if (vs == VS16 + 1) { in TEST_P()
55 vs = VS17; in TEST_P()
59 ASSERT_EQ(family->hasGlyph(codePoint, vs), in TEST_P()
60 static_cast<bool>(hb_font_get_glyph(hbFont, codePoint, vs, &unusedGlyph))) in TEST_P()
62 << codePoint << " U+" << std::hex << vs in TEST_P()
63 << " Minikin: " << family->hasGlyph(codePoint, vs) << " HarfBuzz: " in TEST_P()
64 << static_cast<bool>(hb_font_get_glyph(hbFont, codePoint, vs, &unusedGlyph)); in TEST_P()
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
DAudioOutputDescriptor.h207 uint32_t getActivityCount(VolumeSource vs) const in getActivityCount() argument
209 return mVolumeActivities.find(vs) != std::end(mVolumeActivities)? in getActivityCount()
210 mVolumeActivities.at(vs).getActivityCount() : 0; in getActivityCount()
212 bool isMuted(VolumeSource vs) const in isMuted() argument
214 return mVolumeActivities.find(vs) != std::end(mVolumeActivities)? in isMuted()
215 mVolumeActivities.at(vs).isMuted() : false; in isMuted()
217 int getMuteCount(VolumeSource vs) const in getMuteCount() argument
219 return mVolumeActivities.find(vs) != std::end(mVolumeActivities)? in getMuteCount()
220 mVolumeActivities.at(vs).getMuteCount() : 0; in getMuteCount()
222 int incMuteCount(VolumeSource vs) in incMuteCount() argument
[all …]
/frameworks/av/media/libstagefright/renderfright/gl/
DProgramCache.cpp563 Formatter vs; in generateVertexShader() local
565 vs << "attribute vec4 texCoords;" in generateVertexShader()
569 vs << "attribute lowp vec4 cropCoords;"; in generateVertexShader()
570 vs << "varying lowp vec2 outCropCoords;"; in generateVertexShader()
573 vs << "attribute lowp vec4 shadowColor;"; in generateVertexShader()
574 vs << "varying lowp vec4 outShadowColor;"; in generateVertexShader()
575 vs << "attribute lowp vec4 shadowParams;"; in generateVertexShader()
576 vs << "varying lowp vec3 outShadowParams;"; in generateVertexShader()
578 vs << "attribute vec4 position;" in generateVertexShader()
583 vs << "outTexCoords = (texture * texCoords).st;"; in generateVertexShader()
[all …]
/frameworks/av/cmds/screenrecord/
DProgram.cpp114 GLuint vs, fs; in createProgram() local
117 err = compileShader(GL_VERTEX_SHADER, vertexShader, &vs); in createProgram()
123 glDeleteShader(vs); in createProgram()
128 err = linkShaderProgram(vs, fs, &program); in createProgram()
129 glDeleteShader(vs); in createProgram()
169 status_t Program::linkShaderProgram(GLuint vs, GLuint fs, GLuint* outPgm) { in linkShaderProgram() argument
176 glAttachShader(program, vs); in linkShaderProgram()
/frameworks/base/core/proto/
DREADME.md11 `WindowManagerServiceDumpProto` vs `WindowManagerServiceProto`.
24 vs
38 1. Include units in the field names. For example, `screen_time_ms` vs
39 `screen_time`, or `file_size_bytes` or `file_size_mebibytes` vs `file_size`.
/frameworks/minikin/tests/unittest/
DFontCollectionTest.cpp45 for (uint32_t vs = 0xFE00; vs <= 0xE01EF; ++vs) { in expectVSGlyphs() local
47 if (vs == 0xFF00) { in expectVSGlyphs()
48 vs = 0xE0100; in expectVSGlyphs()
50 if (vsSet.find(vs) == vsSet.end()) { in expectVSGlyphs()
51 EXPECT_FALSE(fc->hasVariationSelector(codepoint, vs)) in expectVSGlyphs()
52 << "Glyph for U+" << std::hex << codepoint << " U+" << vs; in expectVSGlyphs()
54 EXPECT_TRUE(fc->hasVariationSelector(codepoint, vs)) in expectVSGlyphs()
55 << "Glyph for U+" << std::hex << codepoint << " U+" << vs; in expectVSGlyphs()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DStatusIconContainer.java231 StatusIconState vs = new StatusIconState(); in onViewAdded() local
232 vs.justAdded = true; in onViewAdded()
233 child.setTag(R.id.status_bar_view_state_tag, vs); in onViewAdded()
411 StatusIconState vs = getViewStateFromChild(child); in applyIconStates() local
412 if (vs != null) { in applyIconStates()
413 vs.applyToView(child); in applyIconStates()
414 vs.qsExpansionTransitioning = mQsExpansionTransitioning; in applyIconStates()
422 StatusIconState vs = getViewStateFromChild(child); in resetViewStates() local
423 if (vs == null) { in resetViewStates()
427 vs.initFrom(child); in resetViewStates()
[all …]
/frameworks/base/core/tests/coretests/src/android/graphics/
DPaintTest.java144 for (int vs = 0xFE00; vs <= 0xE01EF; ++vs) { in testHasGlyph_variationSelectors()
146 if (vs == 0xFF00) { in testHasGlyph_variationSelectors()
147 vs = 0xE0100; in testHasGlyph_variationSelectors()
151 " U+" + Integer.toHexString(vs) + ")"; in testHasGlyph_variationSelectors()
153 codePointsToString(new int[] {testCase.mBaseCodepoint, vs}); in testHasGlyph_variationSelectors()
154 if (vs == 0xFE0E // U+FE0E is the text presentation emoji. hasGlyph is expected to in testHasGlyph_variationSelectors()
157 || testCase.mVariationSelectors.contains(vs)) { in testHasGlyph_variationSelectors()
/frameworks/native/cmds/flatland/
DGLHelper.cpp357 static bool linkShaderProgram(GLuint vs, GLuint fs, GLuint* outPgm) { in linkShaderProgram() argument
364 glAttachShader(program, vs); in linkShaderProgram()
393 GLuint vs, fs; in setUpShaders() local
396 shaderDescs[i].vertexShader, &vs); in setUpShaders()
404 glDeleteShader(vs); in setUpShaders()
408 result = linkShaderProgram(vs, fs, &mShaderPrograms[i]); in setUpShaders()
409 glDeleteShader(vs); in setUpShaders()
/frameworks/minikin/libs/minikin/
DFontCollection.cpp323 uint32_t FontCollection::calcFamilyScore(uint32_t ch, uint32_t vs, FamilyVariant variant, in calcFamilyScore() argument
326 const uint32_t coverageScore = calcCoverageScore(ch, vs, localeListId, fontFamily); in calcFamilyScore()
367 uint32_t FontCollection::calcCoverageScore(uint32_t ch, uint32_t vs, uint32_t localeListId, in calcCoverageScore() argument
369 const bool hasVSGlyph = (vs != 0) && fontFamily->hasGlyph(ch, vs); in calcCoverageScore()
375 if ((vs == 0 || hasVSGlyph) && isPrimaryFamily(fontFamily)) { in calcCoverageScore()
381 if (vs != 0 && hasVSGlyph) { in calcCoverageScore()
386 if (vs == EMOJI_STYLE_VS) { in calcCoverageScore()
388 } else if (vs == TEXT_STYLE_VS) { in calcCoverageScore()
465 FontCollection::FamilyMatchResult FontCollection::getFamilyForChar(uint32_t ch, uint32_t vs, in getFamilyForChar() argument
474 if (vs != 0) { in getFamilyForChar()
[all …]
/frameworks/base/tools/fonts/
Dfontchain_linter.py138 for vs in vs_cmap.uvsDict:
139 for base, glyph in vs_cmap.uvsDict[vs]:
141 emoji_map[(base, vs)] = emoji_map[base]
143 emoji_map[(base, vs)] = glyph
196 for base, vs in sorted(sequences):
197 assert vs in vs_dict and (base, None) in vs_dict[vs], (
198 '<U+%04X, U+%04X> was not found in %s' % (base, vs, font))
536 vs = int(sequence[1], 16)
539 text_set.add((base, vs))
541 emoji_set.add((base, vs))
/frameworks/native/include/ftl/details/
Dhash.h107 const auto vs = b + rotate(a, 31) + c; in hash_length_33_to_64() local
119 const auto r = shift_mix((vf + ws) * kPrime2 + (wf + vs) * kPrime0); in hash_length_33_to_64()
120 return shift_mix(r * kPrime0 + vs) * kPrime2; in hash_length_33_to_64()
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DAudioOutputDescriptor.cpp135 bool AudioOutputDescriptor::isActive(VolumeSource vs, uint32_t inPastMs, nsecs_t sysTime) const in isActive() argument
137 return (vs == VOLUME_SOURCE_NONE) ? in isActive()
138 isActive(inPastMs) : (mVolumeActivities.find(vs) != std::end(mVolumeActivities)? in isActive()
139 mVolumeActivities.at(vs).isActive(inPastMs, sysTime) : false); in isActive()
497 bool muted, VolumeSource vs, const StreamTypeVector &streamTypes, in setSwMute() argument
501 if (!streamTypes.empty() && isActive(vs) && (getActiveVolumeSources().size() > 1)) { in setSwMute()
507 mIoHandle, vs, muted, getActiveVolumeSources().size()); in setSwMute()
518 VolumeSource vs, const StreamTypeVector &streamTypes, in setVolume() argument
526 volumeDb, muted, vs, streamTypes, deviceTypes, delayMs, force, isVoiceVolSrc)) { in setVolume()
537 devicePort->hasGainController(true) && isActive(vs)) { in setVolume()
[all …]
/frameworks/base/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/
DMeshActivity.java108 String vs = "Varyings main(const Attributes attributes) { " in createMeshSpecification() local
122 return MeshSpecification.make(attList, 8, varyList, vs, fs); in createMeshSpecification()
DMeshLargeActivity.java123 String vs = "Varyings main(const Attributes attributes) { " in createMeshSpecification() local
164 return MeshSpecification.make(attList, 120, varyList, vs, fs); in createMeshSpecification()
/frameworks/base/rs/java/android/renderscript/
DProgram.java195 public void bindSampler(Sampler vs, int slot) in bindSampler() argument
202 long id = vs != null ? vs.getID(mRS) : 0; in bindSampler()
DScriptGroup.java239 ValueAndSize vs = new ValueAndSize(rs, obj); in retrieveValueAndDependenceInfo() local
240 values[index] = vs.value; in retrieveValueAndDependenceInfo()
241 sizes[index] = vs.size; in retrieveValueAndDependenceInfo()
290 ValueAndSize vs = new ValueAndSize(mRS, obj); in setArg() local
291 mRS.nClosureSetArg(getID(mRS), index, vs.value, vs.size); in setArg()
299 ValueAndSize vs = new ValueAndSize(mRS, obj); in setGlobal() local
300 mRS.nClosureSetGlobal(getID(mRS), fieldID.getID(mRS), vs.value, vs.size); in setGlobal()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/icon/ui/viewmodel/
DNotificationIconsViewData.kt88 .mapValuesNotNullTo(ArrayMap()) { (_, vs) -> in <lambda>() method
89 vs.takeIf { it.size == 1 }?.get(0)?.notifKey in <lambda>()
/frameworks/compile/slang/tests/F_odr_nested_records_3/
Dodr2.rscript5 // Same field name (x), mismatching field type (int32_t vs. uint32_t)
Dodr1.rscript5 // Same field name (x), mismatching field type (int32_t vs. uint32_t)
/frameworks/minikin/include/minikin/
DFontCollection.h237 FamilyMatchResult getFamilyForChar(uint32_t ch, uint32_t vs, uint32_t localeListId,
240 uint32_t calcFamilyScore(uint32_t ch, uint32_t vs, FamilyVariant variant, uint32_t localeListId,
243 uint32_t calcCoverageScore(uint32_t ch, uint32_t vs, uint32_t localeListId,
/frameworks/wilhelm/tools/mphtogen/
DREADME.txt9 Diff the new files in ../../src/autogen vs. the new ones as sanity check.
/frameworks/base/core/java/com/android/internal/widget/remotecompose/core/
DRemoteComposeState.java223 for (VariableSupport vs : mAllVarListeners) { in getOpsToUpdate()
224 vs.updateVariables(context); in getOpsToUpdate()
/frameworks/rs/support/java/src/androidx/renderscript/
DScriptGroup.java236 ValueAndSize vs = new ValueAndSize(rs, obj); in retrieveValueAndDependenceInfo() local
237 values[index] = vs.value; in retrieveValueAndDependenceInfo()
238 sizes[index] = vs.size; in retrieveValueAndDependenceInfo()
287 ValueAndSize vs = new ValueAndSize(mRS, obj); in setArg() local
288 mRS.nClosureSetArg(getID(mRS), index, vs.value, vs.size); in setArg()
296 ValueAndSize vs = new ValueAndSize(mRS, obj); in setGlobal() local
297 mRS.nClosureSetGlobal(getID(mRS), fieldID.getID(mRS), vs.value, vs.size); in setGlobal()

123