/frameworks/rs/ |
D | rsScript.cpp | 149 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/ |
D | FontFamilyTest.cpp | 52 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/minikin/tests/unittest/ |
D | FontCollectionTest.cpp | 44 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/av/services/audiopolicy/common/managerdefinitions/include/ |
D | AudioOutputDescriptor.h | 201 uint32_t getActivityCount(VolumeSource vs) const in getActivityCount() argument 203 return mVolumeActivities.find(vs) != std::end(mVolumeActivities)? in getActivityCount() 204 mVolumeActivities.at(vs).getActivityCount() : 0; in getActivityCount() 206 bool isMuted(VolumeSource vs) const in isMuted() argument 208 return mVolumeActivities.find(vs) != std::end(mVolumeActivities)? in isMuted() 209 mVolumeActivities.at(vs).isMuted() : false; in isMuted() 211 int getMuteCount(VolumeSource vs) const in getMuteCount() argument 213 return mVolumeActivities.find(vs) != std::end(mVolumeActivities)? in getMuteCount() 214 mVolumeActivities.at(vs).getMuteCount() : 0; in getMuteCount() 216 int incMuteCount(VolumeSource vs) in incMuteCount() argument [all …]
|
/frameworks/minikin/libs/minikin/ |
D | FontCollection.cpp | 126 uint32_t FontCollection::calcFamilyScore(uint32_t ch, uint32_t vs, FamilyVariant variant, in calcFamilyScore() argument 129 const uint32_t coverageScore = calcCoverageScore(ch, vs, localeListId, fontFamily); in calcFamilyScore() 154 uint32_t FontCollection::calcCoverageScore(uint32_t ch, uint32_t vs, uint32_t localeListId, in calcCoverageScore() argument 156 const bool hasVSGlyph = (vs != 0) && fontFamily->hasGlyph(ch, vs); in calcCoverageScore() 162 if ((vs == 0 || hasVSGlyph) && (mFamilies[0] == fontFamily || fontFamily->isCustomFallback())) { in calcCoverageScore() 168 if (vs != 0 && hasVSGlyph) { in calcCoverageScore() 173 if (vs == EMOJI_STYLE_VS) { in calcCoverageScore() 175 } else if (vs == TEXT_STYLE_VS) { in calcCoverageScore() 252 const std::shared_ptr<FontFamily>& FontCollection::getFamilyForChar(uint32_t ch, uint32_t vs, in getFamilyForChar() argument 261 if (vs != 0) { in getFamilyForChar() [all …]
|
/frameworks/av/cmds/screenrecord/ |
D | Program.cpp | 114 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()
|
D | Program.h | 80 static status_t linkShaderProgram(GLuint vs, GLuint fs, GLuint* outPgm);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | StatusIconContainer.java | 200 StatusIconState vs = new StatusIconState(); in onViewAdded() local 201 vs.justAdded = true; in onViewAdded() 202 child.setTag(R.id.status_bar_view_state_tag, vs); in onViewAdded() 343 StatusIconState vs = getViewStateFromChild(child); in applyIconStates() local 344 if (vs != null) { in applyIconStates() 345 vs.applyToView(child); in applyIconStates() 353 StatusIconState vs = getViewStateFromChild(child); in resetViewStates() local 354 if (vs == null) { in resetViewStates() 358 vs.initFrom(child); in resetViewStates() 359 vs.alpha = 1.0f; in resetViewStates() [all …]
|
/frameworks/native/libs/renderengine/gl/ |
D | ProgramCache.cpp | 524 Formatter vs; in generateVertexShader() local 526 vs << "attribute vec4 texCoords;" in generateVertexShader() 530 vs << "attribute lowp vec4 cropCoords;"; in generateVertexShader() 531 vs << "varying lowp vec2 outCropCoords;"; in generateVertexShader() 533 vs << "attribute vec4 position;" in generateVertexShader() 538 vs << "outTexCoords = (texture * texCoords).st;"; in generateVertexShader() 541 vs << "outCropCoords = cropCoords.st;"; in generateVertexShader() 543 vs << dedent << "}"; in generateVertexShader() 544 return vs.getString(); in generateVertexShader() 702 String8 vs = generateVertexShader(needs); in generateProgram() local [all …]
|
/frameworks/base/core/proto/ |
D | README.md | 11 `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/base/core/tests/coretests/src/android/graphics/ |
D | PaintTest.java | 143 for (int vs = 0xFE00; vs <= 0xE01EF; ++vs) { in testHasGlyph_variationSelectors() 145 if (vs == 0xFF00) { in testHasGlyph_variationSelectors() 146 vs = 0xE0100; in testHasGlyph_variationSelectors() 150 " U+" + Integer.toHexString(vs) + ")"; in testHasGlyph_variationSelectors() 152 codePointsToString(new int[] {testCase.mBaseCodepoint, vs}); in testHasGlyph_variationSelectors() 153 if (vs == 0xFE0E // U+FE0E is the text presentation emoji. hasGlyph is expected to in testHasGlyph_variationSelectors() 156 || testCase.mVariationSelectors.contains(vs)) { in testHasGlyph_variationSelectors()
|
/frameworks/base/tools/fonts/ |
D | fontchain_linter.py | 120 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)) 445 emoji_set.add((base, vs))
|
/frameworks/minikin/include/minikin/ |
D | FontCollection.h | 88 const std::shared_ptr<FontFamily>& getFamilyForChar(uint32_t ch, uint32_t vs, 92 uint32_t calcFamilyScore(uint32_t ch, uint32_t vs, FamilyVariant variant, uint32_t localeListId, 95 uint32_t calcCoverageScore(uint32_t ch, uint32_t vs, uint32_t localeListId,
|
/frameworks/native/cmds/flatland/ |
D | GLHelper.cpp | 361 static bool linkShaderProgram(GLuint vs, GLuint fs, GLuint* outPgm) { in linkShaderProgram() argument 368 glAttachShader(program, vs); in linkShaderProgram() 397 GLuint vs, fs; in setUpShaders() local 400 shaderDescs[i].vertexShader, &vs); in setUpShaders() 408 glDeleteShader(vs); in setUpShaders() 412 result = linkShaderProgram(vs, fs, &mShaderPrograms[i]); in setUpShaders() 413 glDeleteShader(vs); in setUpShaders()
|
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/ |
D | AudioOutputDescriptor.cpp | 126 bool AudioOutputDescriptor::isActive(VolumeSource vs, uint32_t inPastMs, nsecs_t sysTime) const in isActive() argument 128 return (vs == VOLUME_SOURCE_NONE) ? in isActive() 129 isActive(inPastMs) : (mVolumeActivities.find(vs) != std::end(mVolumeActivities)? in isActive() 130 mVolumeActivities.at(vs).isActive(inPastMs, sysTime) : false); in isActive() 411 VolumeSource vs, const StreamTypeVector &streamTypes, in setVolume() argument 417 if (!AudioOutputDescriptor::setVolume(volumeDb, vs, streamTypes, deviceTypes, delayMs, force)) { in setVolume() 428 devicePort->hasGainController(true) && isActive(vs)) { in setVolume() 454 float volumeAmpl = Volume::DbToAmpl(getCurVolume(vs)); in setVolume() 460 mIoHandle, vs, volumeDb, delayMs, toString(stream).c_str()); in setVolume()
|
/frameworks/base/rs/java/android/renderscript/ |
D | Program.java | 191 public void bindSampler(Sampler vs, int slot) in bindSampler() argument 198 long id = vs != null ? vs.getID(mRS) : 0; in bindSampler()
|
D | ScriptGroup.java | 234 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/ |
D | MinikinUtils.cpp | 85 bool MinikinUtils::hasVariationSelector(const Typeface* typeface, uint32_t codepoint, uint32_t vs) { in hasVariationSelector() argument 87 return resolvedFace->fFontCollection->hasVariationSelector(codepoint, vs); in hasVariationSelector()
|
/frameworks/rs/support/java/src/androidx/renderscript/ |
D | ScriptGroup.java | 231 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/av/media/libmediaplayerservice/ |
D | MediaRecorderClient.cpp | 103 status_t MediaRecorderClient::setVideoSource(int vs) in setVideoSource() argument 105 ALOGV("setVideoSource(%d)", vs); in setVideoSource() 107 if (vs != VIDEO_SOURCE_SURFACE && !checkPermission(cameraPermission)) { in setVideoSource() 115 return mRecorder->setVideoSource((video_source)vs); in setVideoSource()
|
/frameworks/compile/slang/tests/F_odr_nested_records_3/ |
D | odr1.rscript | 5 // Same field name (x), mismatching field type (int32_t vs. uint32_t)
|
D | odr2.rscript | 5 // Same field name (x), mismatching field type (int32_t vs. uint32_t)
|
/frameworks/wilhelm/tools/mphtogen/ |
D | README.txt | 9 Diff the new files in ../../src/autogen vs. the new ones as sanity check.
|
/frameworks/av/media/libmedia/ |
D | IMediaRecorder.cpp | 134 status_t setVideoSource(int vs) in setVideoSource() argument 136 ALOGV("setVideoSource(%d)", vs); in setVideoSource() 139 data.writeInt32(vs); in setVideoSource() 529 int vs = data.readInt32(); in onTransact() local 530 reply->writeInt32(setVideoSource(vs)); in onTransact()
|
/frameworks/base/media/jni/ |
D | android_media_MediaRecorder.cpp | 196 android_media_MediaRecorder_setVideoSource(JNIEnv *env, jobject thiz, jint vs) in android_media_MediaRecorder_setVideoSource() argument 198 ALOGV("setVideoSource(%d)", vs); in android_media_MediaRecorder_setVideoSource() 199 if (vs < VIDEO_SOURCE_DEFAULT || vs >= VIDEO_SOURCE_LIST_END) { in android_media_MediaRecorder_setVideoSource() 208 …process_media_recorder_call(env, mr->setVideoSource(vs), "java/lang/RuntimeException", "setVideoSo… in android_media_MediaRecorder_setVideoSource()
|