Searched refs:vs (Results 1 - 25 of 35) sorted by relevance

12

/frameworks/minikin/tests/stresstest/
H A DFontFamilyTest.cpp52 for (uint32_t vs = VS1; vs < VS256; ++vs) {
54 if (vs == VS16 + 1) {
55 vs = VS17;
59 ASSERT_EQ(family->hasGlyph(codePoint, vs),
60 static_cast<bool>(hb_font_get_glyph(hbFont, codePoint, vs, &unusedGlyph)))
62 << codePoint << " U+" << std::hex << vs
63 << " Minikin: " << family->hasGlyph(codePoint, vs) << " HarfBuzz: "
64 << static_cast<bool>(hb_font_get_glyph(hbFont, codePoint, vs,
[all...]
/frameworks/rs/
H A DrsScript.cpp149 RsScriptKernelID rsi_ScriptKernelIDCreate(Context *rsc, RsScript vs, int slot, int sig) { argument
150 ScriptKernelID *kid = new ScriptKernelID(rsc, (Script *)vs, slot, sig);
155 RsScriptInvokeID rsi_ScriptInvokeIDCreate(Context *rsc, RsScript vs, uint32_t slot) { argument
156 ScriptInvokeID *iid = new ScriptInvokeID(rsc, (Script *)vs, slot);
161 RsScriptFieldID rsi_ScriptFieldIDCreate(Context *rsc, RsScript vs, int slot) { argument
162 ScriptFieldID *fid = new ScriptFieldID(rsc, (Script *)vs, slot);
167 void rsi_ScriptBindAllocation(Context * rsc, RsScript vs, RsAllocation va, uint32_t slot) { argument
168 Script *s = static_cast<Script *>(vs);
173 void rsi_ScriptSetTimeZone(Context * rsc, RsScript vs, const char * timeZone, size_t length) { argument
192 void rsi_ScriptForEachMulti(Context *rsc, RsScript vs, uint32_ argument
207 rsi_ScriptForEach(Context *rsc, RsScript vs, uint32_t slot, RsAllocation vain, RsAllocation vaout, const void *params, size_t paramLen, const RsScriptCall *sc, size_t scLen) argument
224 rsi_ScriptReduce(Context *rsc, RsScript vs, uint32_t slot, RsAllocation *vains, size_t inLen, RsAllocation vaout, const RsScriptCall *sc, size_t scLen) argument
236 rsi_ScriptInvoke(Context *rsc, RsScript vs, uint32_t slot) argument
242 rsi_ScriptInvokeData(Context *rsc, RsScript vs, uint32_t slot, void *data) argument
247 rsi_ScriptInvokeV(Context *rsc, RsScript vs, uint32_t slot, const void *data, size_t len) argument
252 rsi_ScriptSetVarI(Context *rsc, RsScript vs, uint32_t slot, int value) argument
257 rsi_ScriptSetVarObj(Context *rsc, RsScript vs, uint32_t slot, RsObjectBase value) argument
263 rsi_ScriptSetVarJ(Context *rsc, RsScript vs, uint32_t slot, int64_t value) argument
268 rsi_ScriptSetVarF(Context *rsc, RsScript vs, uint32_t slot, float value) argument
273 rsi_ScriptSetVarD(Context *rsc, RsScript vs, uint32_t slot, double value) argument
278 rsi_ScriptSetVarV(Context *rsc, RsScript vs, uint32_t slot, const void *data, size_t len) argument
283 rsi_ScriptGetVarV(Context *rsc, RsScript vs, uint32_t slot, void *data, size_t len) argument
288 rsi_ScriptSetVarVE(Context *rsc, RsScript vs, uint32_t slot, const void *data, size_t len, RsElement ve, const uint32_t *dims, size_t dimLen) argument
[all...]
/frameworks/minikin/tests/unittest/
H A DFontCollectionTest.cpp44 for (uint32_t vs = 0xFE00; vs <= 0xE01EF; ++vs) {
46 if (vs == 0xFF00) {
47 vs = 0xE0100;
49 if (vsSet.find(vs) == vsSet.end()) {
50 EXPECT_FALSE(fc->hasVariationSelector(codepoint, vs))
51 << "Glyph for U+" << std::hex << codepoint << " U+" << vs; local
53 EXPECT_TRUE(fc->hasVariationSelector(codepoint, vs))
54 << "Glyph for U+" << std::hex << codepoint << " U+" << vs; local
[all...]
/frameworks/minikin/include/minikin/
H A DFontCollection.h80 const std::shared_ptr<FontFamily>& getFamilyForChar(uint32_t ch, uint32_t vs,
84 uint32_t calcFamilyScore(uint32_t ch, uint32_t vs, FontFamily::Variant variant,
88 uint32_t calcCoverageScore(uint32_t ch, uint32_t vs, uint32_t localeListId,
/frameworks/minikin/libs/minikin/
H A DFontCollection.cpp127 uint32_t FontCollection::calcFamilyScore(uint32_t ch, uint32_t vs, FontFamily::Variant variant, argument
130 const uint32_t coverageScore = calcCoverageScore(ch, vs, localeListId, fontFamily);
151 // - Returns 2 if the vs is a color variation selector (U+FE0F) and if the font is an emoji font.
152 // - Returns 2 if the vs is a text variation selector (U+FE0E) and if the font is not an emoji font.
155 uint32_t FontCollection::calcCoverageScore(uint32_t ch, uint32_t vs, uint32_t localeListId, argument
157 const bool hasVSGlyph = (vs != 0) && fontFamily->hasGlyph(ch, vs);
163 if ((vs == 0 || hasVSGlyph) && mFamilies[0] == fontFamily) {
169 if (vs != 0 && hasVSGlyph) {
174 if (vs
253 getFamilyForChar( uint32_t ch, uint32_t vs, uint32_t localeListId, FontFamily::Variant variant) const argument
[all...]
/frameworks/av/cmds/screenrecord/
H A DProgram.cpp114 GLuint vs, fs; local
117 err = compileShader(GL_VERTEX_SHADER, vertexShader, &vs);
123 glDeleteShader(vs);
128 err = linkShaderProgram(vs, fs, &program);
129 glDeleteShader(vs);
169 status_t Program::linkShaderProgram(GLuint vs, GLuint fs, GLuint* outPgm) { argument
176 glAttachShader(program, vs);
H A DProgram.h80 static status_t linkShaderProgram(GLuint vs, GLuint fs, GLuint* outPgm);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DStatusIconContainer.java195 StatusIconState vs = new StatusIconState();
196 vs.justAdded = true;
197 child.setTag(R.id.status_bar_view_state_tag, vs);
287 StatusIconState vs = getViewStateFromChild(child);
288 if (vs != null) {
289 vs.applyToView(child);
297 StatusIconState vs = getViewStateFromChild(child);
298 if (vs == null) {
302 vs.initFrom(child);
303 vs
[all...]
/frameworks/base/core/tests/coretests/src/android/graphics/
H A DPaintTest.java143 for (int vs = 0xFE00; vs <= 0xE01EF; ++vs) {
145 if (vs == 0xFF00) {
146 vs = 0xE0100;
150 " U+" + Integer.toHexString(vs) + ")";
152 codePointsToString(new int[] {testCase.mBaseCodepoint, vs});
153 if (vs == 0xFE0E // U+FE0E is the text presentation emoji. hasGlyph is expected to
156 || testCase.mVariationSelectors.contains(vs)) {
/frameworks/native/services/surfaceflinger/RenderEngine/
H A DProgramCache.cpp519 Formatter vs; local
521 vs << "attribute vec4 texCoords;"
524 vs << "attribute vec4 position;"
529 vs << "outTexCoords = (texture * texCoords).st;";
531 vs << dedent << "}";
532 return vs.getString();
657 String8 vs = generateVertexShader(needs); local
662 Program* program = new Program(needs, vs.string(), fs.string());
/frameworks/native/cmds/flatland/
H A DGLHelper.cpp361 static bool linkShaderProgram(GLuint vs, GLuint fs, GLuint* outPgm) { argument
368 glAttachShader(program, vs);
397 GLuint vs, fs; local
400 shaderDescs[i].vertexShader, &vs);
408 glDeleteShader(vs);
412 result = linkShaderProgram(vs, fs, &mShaderPrograms[i]);
413 glDeleteShader(vs);
/frameworks/base/libs/hwui/hwui/
H A DMinikinUtils.cpp85 bool MinikinUtils::hasVariationSelector(const Typeface* typeface, uint32_t codepoint, uint32_t vs) { argument
87 return resolvedFace->fFontCollection->hasVariationSelector(codepoint, vs);
H A DMinikinUtils.h56 uint32_t vs);
/frameworks/base/rs/java/android/renderscript/
H A DProgram.java184 * @param vs sampler for a corresponding texture
189 public void bindSampler(Sampler vs, int slot) argument
196 long id = vs != null ? vs.getID(mRS) : 0;
H A DScriptGroup.java234 ValueAndSize vs = new ValueAndSize(rs, obj);
235 values[index] = vs.value;
236 sizes[index] = vs.size;
285 ValueAndSize vs = new ValueAndSize(mRS, obj);
286 mRS.nClosureSetArg(getID(mRS), index, vs.value, vs.size);
294 ValueAndSize vs = new ValueAndSize(mRS, obj);
295 mRS.nClosureSetGlobal(getID(mRS), fieldID.getID(mRS), vs.value, vs.size);
/frameworks/base/tools/fonts/
H A Dfontchain_linter.py120 for vs in vs_dict:
121 for base, glyph in vs_dict[vs]:
123 emoji_map[(base, vs)] = emoji_map[base]
125 emoji_map[(base, vs)] = glyph
178 for base, vs in sorted(sequences):
179 assert vs in vs_dict and (base, None) in vs_dict[vs], (
180 '<U+%04X, U+%04X> was not found in %s' % (base, vs, font))
440 vs = int(sequence[1], 16)
443 text_set.add((base, vs))
[all...]
/frameworks/av/include/media/
H A DIMediaRecorder.h45 virtual status_t setVideoSource(int vs) = 0;
H A DMediaRecorderBase.h42 virtual status_t setVideoSource(video_source vs) = 0;
H A Dmediarecorder.h233 status_t setVideoSource(int vs);
/frameworks/av/media/libmedia/include/media/
H A DIMediaRecorder.h45 virtual status_t setVideoSource(int vs) = 0;
H A DMediaRecorderBase.h42 virtual status_t setVideoSource(video_source vs) = 0;
H A Dmediarecorder.h233 status_t setVideoSource(int vs);
/frameworks/av/media/libmediaplayerservice/
H A DMediaRecorderClient.cpp102 status_t MediaRecorderClient::setVideoSource(int vs) argument
104 ALOGV("setVideoSource(%d)", vs);
106 if (vs != VIDEO_SOURCE_SURFACE && !checkPermission(cameraPermission)) {
114 return mRecorder->setVideoSource((video_source)vs);
/frameworks/rs/support/java/src/android/support/v8/renderscript/
H A DScriptGroup.java231 ValueAndSize vs = new ValueAndSize(rs, obj);
232 values[index] = vs.value;
233 sizes[index] = vs.size;
282 ValueAndSize vs = new ValueAndSize(mRS, obj);
283 mRS.nClosureSetArg(getID(mRS), index, vs.value, vs.size);
291 ValueAndSize vs = new ValueAndSize(mRS, obj);
292 mRS.nClosureSetGlobal(getID(mRS), fieldID.getID(mRS), vs.value, vs.size);
/frameworks/av/media/libmedia/
H A DIMediaRecorder.cpp132 status_t setVideoSource(int vs) argument
134 ALOGV("setVideoSource(%d)", vs);
137 data.writeInt32(vs);
492 int vs = data.readInt32(); local
493 reply->writeInt32(setVideoSource(vs));

Completed in 306 milliseconds

12