Home
last modified time | relevance | path

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

12

/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.cpp50 for (uint32_t vs = VS1; vs < VS256; ++vs) { in TEST_P() local
52 if (vs == VS16 + 1) { in TEST_P()
53 vs = VS17; in TEST_P()
57 ASSERT_EQ(family->hasGlyph(codePoint, vs), in TEST_P()
58 static_cast<bool>(hb_font_get_glyph(hbFont, codePoint, vs, &unusedGlyph))) in TEST_P()
60 << ": U+" << std::hex << codePoint << " U+" << std::hex << vs in TEST_P()
61 << " Minikin: " << family->hasGlyph(codePoint, vs) in TEST_P()
63 << static_cast<bool>(hb_font_get_glyph(hbFont, codePoint, vs, &unusedGlyph)); in TEST_P()
/frameworks/minikin/tests/unittest/
DFontCollectionTest.cpp44 for (uint32_t vs = 0xFE00; vs <= 0xE01EF; ++vs) { in expectVSGlyphs() local
46 if (vs == 0xFF00) { in expectVSGlyphs()
47 vs = 0xE0100; in expectVSGlyphs()
49 if (vsSet.find(vs) == vsSet.end()) { in expectVSGlyphs()
50 EXPECT_FALSE(fc->hasVariationSelector(codepoint, vs)) in expectVSGlyphs()
51 << "Glyph for U+" << std::hex << codepoint << " U+" << vs; in expectVSGlyphs()
53 EXPECT_TRUE(fc->hasVariationSelector(codepoint, vs)) in expectVSGlyphs()
54 << "Glyph for U+" << std::hex << codepoint << " U+" << vs; in expectVSGlyphs()
/frameworks/minikin/libs/minikin/
DFontCollection.cpp139 uint32_t FontCollection::calcFamilyScore(uint32_t ch, uint32_t vs, int variant, uint32_t langListId, in calcFamilyScore() argument
142 const uint32_t coverageScore = calcCoverageScore(ch, vs, fontFamily); in calcFamilyScore()
167 uint32_t FontCollection::calcCoverageScore(uint32_t ch, uint32_t vs, in calcCoverageScore() argument
169 const bool hasVSGlyph = (vs != 0) && fontFamily->hasGlyph(ch, vs); in calcCoverageScore()
175 if ((vs == 0 || hasVSGlyph) && mFamilies[0] == fontFamily) { in calcCoverageScore()
181 if (vs == 0) { in calcCoverageScore()
189 if (vs == EMOJI_STYLE_VS || vs == TEXT_STYLE_VS) { in calcCoverageScore()
199 if (vs == EMOJI_STYLE_VS) { in calcCoverageScore()
251 const std::shared_ptr<FontFamily>& FontCollection::getFamilyForChar(uint32_t ch, uint32_t vs, in getFamilyForChar() argument
259 if (vs != 0) { in getFamilyForChar()
[all …]
/frameworks/native/services/surfaceflinger/RenderEngine/
DProgramCache.cpp137 Formatter vs; in generateVertexShader() local
139 vs << "attribute vec4 texCoords;" in generateVertexShader()
142 vs << "attribute vec4 position;" in generateVertexShader()
148 vs << "outTexCoords = (texture * texCoords).st;"; in generateVertexShader()
150 vs << dedent << "}"; in generateVertexShader()
151 return vs.getString(); in generateVertexShader()
216 String8 vs = generateVertexShader(needs); in generateProgram() local
221 Program* program = new Program(needs, vs.string(), fs.string()); in generateProgram()
/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()
DProgram.h80 static status_t linkShaderProgram(GLuint vs, GLuint fs, GLuint* outPgm);
/frameworks/minikin/include/minikin/
DFontCollection.h79 const std::shared_ptr<FontFamily>& getFamilyForChar(uint32_t ch, uint32_t vs,
82 uint32_t calcFamilyScore(uint32_t ch, uint32_t vs, int variant, uint32_t langListId,
85 uint32_t calcCoverageScore(uint32_t ch, uint32_t vs,
/frameworks/base/tools/fonts/
Dfontchain_lint.py119 for vs in vs_dict:
120 for base, glyph in vs_dict[vs]:
122 emoji_map[(base, vs)] = emoji_map[base]
124 emoji_map[(base, vs)] = glyph
174 for base, vs in sorted(sequences):
175 assert vs in vs_dict and (base, None) in vs_dict[vs], (
176 '<U+%04X, U+%04X> was not found in %s' % (base, vs, font))
404 vs = int(sequence[1], 16)
407 text_set.add((base, vs))
409 emoji_set.add((base, vs))
/frameworks/base/core/tests/coretests/src/android/graphics/
DPaintTest.java141 for (int vs = 0xFE00; vs <= 0xE01EF; ++vs) { in testHasGlyph_variationSelectors()
143 if (vs == 0xFF00) { in testHasGlyph_variationSelectors()
144 vs = 0xE0100; in testHasGlyph_variationSelectors()
148 " U+" + Integer.toHexString(vs) + ")"; in testHasGlyph_variationSelectors()
150 codePointsToString(new int[] {testCase.mBaseCodepoint, vs}); in testHasGlyph_variationSelectors()
151 if (testCase.mVariationSelectors.contains(vs)) { in testHasGlyph_variationSelectors()
/frameworks/native/cmds/flatland/
DGLHelper.cpp375 static bool linkShaderProgram(GLuint vs, GLuint fs, GLuint* outPgm) { in linkShaderProgram() argument
382 glAttachShader(program, vs); in linkShaderProgram()
411 GLuint vs, fs; in setUpShaders() local
414 shaderDescs[i].vertexShader, &vs); in setUpShaders()
422 glDeleteShader(vs); in setUpShaders()
426 result = linkShaderProgram(vs, fs, &mShaderPrograms[i]); in setUpShaders()
427 glDeleteShader(vs); in setUpShaders()
/frameworks/base/rs/java/android/renderscript/
DProgram.java189 public void bindSampler(Sampler vs, int slot) in bindSampler() argument
196 long id = vs != null ? vs.getID(mRS) : 0; in bindSampler()
DScriptGroup.java234 ValueAndSize vs = new ValueAndSize(rs, obj); in retrieveValueAndDependenceInfo() local
235 values[index] = vs.value; in retrieveValueAndDependenceInfo()
236 sizes[index] = vs.size; in retrieveValueAndDependenceInfo()
285 ValueAndSize vs = new ValueAndSize(mRS, obj); in setArg() local
286 mRS.nClosureSetArg(getID(mRS), index, vs.value, vs.size); in setArg()
294 ValueAndSize vs = new ValueAndSize(mRS, obj); in setGlobal() local
295 mRS.nClosureSetGlobal(getID(mRS), fieldID.getID(mRS), vs.value, vs.size); in setGlobal()
/frameworks/base/libs/hwui/hwui/
DMinikinUtils.cpp76 bool MinikinUtils::hasVariationSelector(Typeface* typeface, uint32_t codepoint, uint32_t vs) { in hasVariationSelector() argument
78 return resolvedFace->fFontCollection->hasVariationSelector(codepoint, vs); in hasVariationSelector()
DMinikinUtils.h48 uint32_t vs);
/frameworks/av/media/libmediaplayerservice/
DMediaRecorderClient.cpp102 status_t MediaRecorderClient::setVideoSource(int vs) in setVideoSource() argument
104 ALOGV("setVideoSource(%d)", vs); in setVideoSource()
106 if (vs != VIDEO_SOURCE_SURFACE && !checkPermission(cameraPermission)) { in setVideoSource()
114 return mRecorder->setVideoSource((video_source)vs); in setVideoSource()
/frameworks/wilhelm/tools/mphtogen/
DREADME.txt9 Diff the new files in ../../src/autogen vs. the new ones as sanity check.
/frameworks/av/media/libmedia/
DIMediaRecorder.cpp128 status_t setVideoSource(int vs) in setVideoSource() argument
130 ALOGV("setVideoSource(%d)", vs); in setVideoSource()
133 data.writeInt32(vs); in setVideoSource()
422 int vs = data.readInt32(); in onTransact() local
423 reply->writeInt32(setVideoSource(vs)); in onTransact()
/frameworks/rs/support/java/src/android/support/v8/renderscript/
DScriptGroup.java231 ValueAndSize vs = new ValueAndSize(rs, obj); in retrieveValueAndDependenceInfo() local
232 values[index] = vs.value; in retrieveValueAndDependenceInfo()
233 sizes[index] = vs.size; in retrieveValueAndDependenceInfo()
282 ValueAndSize vs = new ValueAndSize(mRS, obj); in setArg() local
283 mRS.nClosureSetArg(getID(mRS), index, vs.value, vs.size); in setArg()
291 ValueAndSize vs = new ValueAndSize(mRS, obj); in setGlobal() local
292 mRS.nClosureSetGlobal(getID(mRS), fieldID.getID(mRS), vs.value, vs.size); in setGlobal()
/frameworks/base/media/jni/
Dandroid_media_MediaRecorder.cpp186 android_media_MediaRecorder_setVideoSource(JNIEnv *env, jobject thiz, jint vs) in android_media_MediaRecorder_setVideoSource() argument
188 ALOGV("setVideoSource(%d)", vs); in android_media_MediaRecorder_setVideoSource()
189 if (vs < VIDEO_SOURCE_DEFAULT || vs >= VIDEO_SOURCE_LIST_END) { in android_media_MediaRecorder_setVideoSource()
198 …process_media_recorder_call(env, mr->setVideoSource(vs), "java/lang/RuntimeException", "setVideoSo… in android_media_MediaRecorder_setVideoSource()
/frameworks/wilhelm/tools/hashgen/
DREADME.txt15 Diff the old file in ../../src/autogen vs. the newly generated IID_to_MPH.c here.
/frameworks/av/media/libmedia/include/media/
DIMediaRecorder.h42 virtual status_t setVideoSource(int vs) = 0;
DMediaRecorderBase.h38 virtual status_t setVideoSource(video_source vs) = 0;
/frameworks/av/include/media/
DMediaRecorderBase.h38 virtual status_t setVideoSource(video_source vs) = 0;
DIMediaRecorder.h42 virtual status_t setVideoSource(int vs) = 0;

12