/frameworks/base/tools/aapt/ |
D | Main.cpp | 323 const char* cp = argv[0] +1; in main() local 325 while (*cp != '\0') { in main() 326 switch (*cp) { in main() 536 if (strcmp(cp, "-debug-mode") == 0) { in main() 538 } else if (strcmp(cp, "-min-sdk-version") == 0) { in main() 547 } else if (strcmp(cp, "-target-sdk-version") == 0) { in main() 556 } else if (strcmp(cp, "-max-sdk-version") == 0) { in main() 565 } else if (strcmp(cp, "-max-res-version") == 0) { in main() 574 } else if (strcmp(cp, "-version-code") == 0) { in main() 583 } else if (strcmp(cp, "-version-name") == 0) { in main() [all …]
|
D | Utils.cpp | 41 const char* cp; in walkPath() local 45 cp = strchr(buf, OS_PATH_SEPARATOR); in walkPath() 46 if (cp == buf) { in walkPath() 49 cp = strchr(buf, OS_PATH_SEPARATOR); in walkPath() 52 if (cp == nullptr) { in walkPath() 58 String8 res(buf, cp - buf); in walkPath() 59 if (outRemains) *outRemains = String8(cp + 1); in walkPath()
|
/frameworks/rs/cpu_ref/ |
D | rsCpuIntrinsicBlur.cpp | 295 RsdCpuScriptIntrinsicBlur *cp = (RsdCpuScriptIntrinsicBlur *)info->usr; in kernelU4() local 296 if (!cp->mAlloc.get()) { in kernelU4() 300 const uchar *pin = (const uchar *)cp->mAlloc->mHal.drvState.lod[0].mallocPtr; in kernelU4() 301 const size_t stride = cp->mAlloc->mHal.drvState.lod[0].stride; in kernelU4() 311 stride, x1, info->current.y, x2 - x1, cp->mIradius, cp->mIp + cp->mIradius); in kernelU4() 317 if ((info->dim.x > cp->mScratchSize[info->lid]) || !cp->mScratch[info->lid]) { in kernelU4() 319 cp->mScratch[info->lid] = realloc(cp->mScratch[info->lid], (info->dim.x + 1) * 16); in kernelU4() 320 cp->mScratchSize[info->lid] = info->dim.x; in kernelU4() 323 buf = (float4 *) ((((intptr_t)cp->mScratch[info->lid]) + 15) & ~0xf); in kernelU4() 327 if ((y > cp->mIradius) && (y < ((int)info->dim.y - cp->mIradius))) { in kernelU4() [all …]
|
D | rsCpuIntrinsicHistogram.cpp | 167 RsdCpuScriptIntrinsicHistogram *cp = (RsdCpuScriptIntrinsicHistogram *)info->usr; in kernelP1U4() local 169 int * sums = &cp->mSums[256 * 4 * info->lid]; in kernelP1U4() 184 RsdCpuScriptIntrinsicHistogram *cp = (RsdCpuScriptIntrinsicHistogram *)info->usr; in kernelP1U3() local 186 int * sums = &cp->mSums[256 * 4 * info->lid]; in kernelP1U3() 200 RsdCpuScriptIntrinsicHistogram *cp = (RsdCpuScriptIntrinsicHistogram *)info->usr; in kernelP1U2() local 202 int * sums = &cp->mSums[256 * 2 * info->lid]; in kernelP1U2() 215 RsdCpuScriptIntrinsicHistogram *cp = (RsdCpuScriptIntrinsicHistogram *)info->usr; in kernelP1L4() local 217 int * sums = &cp->mSums[256 * info->lid]; in kernelP1L4() 220 int t = (cp->mDotI[0] * in[0]) + in kernelP1L4() 221 (cp->mDotI[1] * in[1]) + in kernelP1L4() [all …]
|
D | rsCpuIntrinsicResize.cpp | 324 RsdCpuScriptIntrinsicResize *cp = (RsdCpuScriptIntrinsicResize *)info->usr; in kernelU4() local 326 if (!cp->mAlloc.get()) { in kernelU4() 330 const uchar *pin = (const uchar *)cp->mAlloc->mHal.drvState.lod[0].mallocPtr; in kernelU4() 331 const int srcHeight = cp->mAlloc->mHal.drvState.lod[0].dimY; in kernelU4() 332 const int srcWidth = cp->mAlloc->mHal.drvState.lod[0].dimX; in kernelU4() 333 const size_t stride = cp->mAlloc->mHal.drvState.lod[0].stride; in kernelU4() 337 …float yf = _mm_cvtss_f32(_mm_fmsub_ss(_mm_set1_ps(info->current.y + 0.5f),_mm_set1_ps(cp->scaleY),… in kernelU4() 339 float yf = (info->current.y + 0.5f) * cp->scaleY - 0.5f; in kernelU4() 361 if (gArchUseSIMD && x2 > x1 && cp->scaleX < 4.0f) { in kernelU4() 362 float xf = (x1 + 0.5f) * cp->scaleX - 0.5f; in kernelU4() [all …]
|
D | rsCpuIntrinsicConvolve3x3.cpp | 182 RsdCpuScriptIntrinsicConvolve3x3 *cp = (RsdCpuScriptIntrinsicConvolve3x3 *)info->usr; in kernelU4() local 184 if (!cp->mAlloc.get()) { in kernelU4() 188 const uchar *pin = (const uchar *)cp->mAlloc->mHal.drvState.lod[0].mallocPtr; in kernelU4() 189 const size_t stride = cp->mAlloc->mHal.drvState.lod[0].stride; in kernelU4() 201 ConvolveOneU4(info, 0, out, py0, py1, py2, cp->mFp); in kernelU4() 211 rsdIntrinsicConvolve3x3_K(out, &py0[x1-1], &py1[x1-1], &py2[x1-1], cp->mIp, len); in kernelU4() 219 ConvolveOneU4(info, x1, out, py0, py1, py2, cp->mFp); in kernelU4() 229 RsdCpuScriptIntrinsicConvolve3x3 *cp = (RsdCpuScriptIntrinsicConvolve3x3 *)info->usr; in kernelU2() local 231 if (!cp->mAlloc.get()) { in kernelU2() 235 const uchar *pin = (const uchar *)cp->mAlloc->mHal.drvState.lod[0].mallocPtr; in kernelU2() [all …]
|
D | rsCpuIntrinsicConvolve5x5.cpp | 346 RsdCpuScriptIntrinsicConvolve5x5 *cp = (RsdCpuScriptIntrinsicConvolve5x5 *)info->usr; in kernelU4() local 347 if (!cp->alloc.get()) { in kernelU4() 351 const uchar *pin = (const uchar *)cp->alloc->mHal.drvState.lod[0].mallocPtr; in kernelU4() 352 const size_t stride = cp->alloc->mHal.drvState.lod[0].stride; in kernelU4() 371 OneU4(info, x1, out, py0, py1, py2, py3, py4, cp->mFp); in kernelU4() 381 …olve5x5_K(out, py0 + x1 - 2, py1 + x1 - 2, py2 + x1 - 2, py3 + x1 - 2, py4 + x1 - 2, cp->mIp, len); in kernelU4() 390 …olve5x5_K(out, py0 + x1 - 2, py1 + x1 - 2, py2 + x1 - 2, py3 + x1 - 2, py4 + x1 - 2, cp->mIp, len); in kernelU4() 397 OneU4(info, x1, out, py0, py1, py2, py3, py4, cp->mFp); in kernelU4() 406 RsdCpuScriptIntrinsicConvolve5x5 *cp = (RsdCpuScriptIntrinsicConvolve5x5 *)info->usr; in kernelU2() local 407 if (!cp->alloc.get()) { in kernelU2() [all …]
|
D | rsCpuIntrinsicYuvToRGB.cpp | 101 RsdCpuScriptIntrinsicYuvToRGB *cp = (RsdCpuScriptIntrinsicYuvToRGB *)info->usr; in kernel() local 102 if (!cp->alloc.get()) { in kernel() 106 const uchar *pinY = (const uchar *)cp->alloc->mHal.drvState.lod[0].mallocPtr; in kernel() 112 size_t strideY = cp->alloc->mHal.drvState.lod[0].stride; in kernel() 115 if (cp->alloc->mHal.drvState.lod[0].dimY == 0) { in kernel() 124 size_t cstep = cp->alloc->mHal.drvState.yuv.step; in kernel() 126 const uchar *pinU = (const uchar *)cp->alloc->mHal.drvState.lod[1].mallocPtr; in kernel() 127 const size_t strideU = cp->alloc->mHal.drvState.lod[1].stride; in kernel() 130 const uchar *pinV = (const uchar *)cp->alloc->mHal.drvState.lod[2].mallocPtr; in kernel() 131 const size_t strideV = cp->alloc->mHal.drvState.lod[2].stride; in kernel() [all …]
|
D | rsCpuIntrinsic3DLUT.cpp | 57 RsdCpuScriptIntrinsic3DLUT *cp = (RsdCpuScriptIntrinsic3DLUT *)info->usr; in kernel() local 64 const uchar *bp = (const uchar *)cp->mLUT->mHal.drvState.lod[0].mallocPtr; in kernel() 67 static_cast<int>(cp->mLUT->mHal.drvState.lod[0].dimX - 1), in kernel() 68 static_cast<int>(cp->mLUT->mHal.drvState.lod[0].dimY - 1), in kernel() 69 static_cast<int>(cp->mLUT->mHal.drvState.lod[0].dimZ - 1), in kernel() 74 const size_t stride_y = cp->mLUT->mHal.drvState.lod[0].stride; in kernel() 75 const size_t stride_z = stride_y * cp->mLUT->mHal.drvState.lod[0].dimY; in kernel()
|
/frameworks/base/core/tests/coretests/src/android/text/ |
D | AndroidCharacterTest.java | 38 for (int cp = 0; cp <= Character.MAX_VALUE; cp++) { in testGetDirectionalities_nonSupplementaryCharacters() 39 if (cp < Character.MIN_SURROGATE || cp > Character.MAX_SURROGATE) { in testGetDirectionalities_nonSupplementaryCharacters() 40 chars[index] = (char) cp; in testGetDirectionalities_nonSupplementaryCharacters() 41 java_lang_results[index] = Character.getDirectionality(cp); in testGetDirectionalities_nonSupplementaryCharacters() 59 for (int cp = Character.MIN_SUPPLEMENTARY_CODE_POINT; cp <= Character.MAX_CODE_POINT; in testGetDirectionalities_supplementaryCharacters() 60 cp++) { in testGetDirectionalities_supplementaryCharacters() 61 chars[index] = Character.highSurrogate(cp); in testGetDirectionalities_supplementaryCharacters() 62 chars[index + 1] = Character.lowSurrogate(cp); in testGetDirectionalities_supplementaryCharacters() 64 .getDirectionality(cp); in testGetDirectionalities_supplementaryCharacters()
|
/frameworks/minikin/libs/minikin/ |
D | ScriptUtils.cpp | 42 static UScriptCode getICUScript(uint32_t cp) { in getICUScript() argument 44 UScriptCode scriptCode = uscript_getScript(cp, &status); in getICUScript() 51 static hb_script_t getHbScript(uint32_t cp) { in getHbScript() argument 53 return hb_unicode_script(unicode_func, cp); in getHbScript() 63 uint32_t cp = decodeUtf16(text, range, pos); in getScriptRun() local 64 UScriptCode current_script = getICUScript(cp); in getScriptRun() 65 hb_script_t current_hb_script = getHbScript(cp); in getScriptRun() 67 for (i = pos + U16_LENGTH(cp); i < range.getEnd(); i += U16_LENGTH(cp)) { in getScriptRun() 68 cp = decodeUtf16(text, range, i); in getScriptRun() 69 UScriptCode next_script = getICUScript(cp); in getScriptRun() [all …]
|
D | Layout.cpp | 60 const uint32_t cp = textBuf.codePointAt(cluster); in adjustGlyphLetterSpacingEdge() local 61 if (!u_iscntrl(cp)) { in adjustGlyphLetterSpacingEdge() 68 const uint32_t cp = textBuf.codePointAt(cluster); in adjustGlyphLetterSpacingEdge() local 69 if (!isLetterSpacingCapableCodePoint(cp)) { in adjustGlyphLetterSpacingEdge() 80 const uint32_t cp = textBuf.codePointAt(cluster); in adjustGlyphLetterSpacingEdge() local 81 if (!u_iscntrl(cp)) { in adjustGlyphLetterSpacingEdge() 82 if (!isLetterSpacingCapableCodePoint(cp)) { in adjustGlyphLetterSpacingEdge() 119 uint32_t cp = textBuf.codePointAt(lastNonCtrlCharIndex); in adjustAdvanceLetterSpacingEdge() local 120 if (isLetterSpacingCapableCodePoint(cp)) { in adjustAdvanceLetterSpacingEdge() 127 uint32_t cp = textBuf.codePointAt(i); in adjustAdvanceLetterSpacingEdge() local [all …]
|
D | LetterSpacingUtils.h | 40 inline bool isLetterSpacingCapableCodePoint(uint32_t cp) { in isLetterSpacingCapableCodePoint() argument 41 hb_script_t script = hb_unicode_script(hb_unicode_funcs_get_default(), cp); in isLetterSpacingCapableCodePoint()
|
/frameworks/base/core/java/android/text/ |
D | TextDirectionHeuristics.java | 210 for (int cp, i = start, end = start + count; in checkRtl() 212 i += Character.charCount(cp)) { in checkRtl() 213 cp = Character.codePointAt(cs, i); in checkRtl() 214 if (0x2066 <= cp && cp <= 0x2068) { // Opening isolates in checkRtl() 216 } else if (cp == 0x2069) { // POP DIRECTIONAL ISOLATE (PDI) in checkRtl() 220 result = isRtlCodePoint(cp); in checkRtl() 245 for (int cp, i = start, end = start + count; i < end; i += Character.charCount(cp)) { in checkRtl() 246 cp = Character.codePointAt(cs, i); in checkRtl() 247 if (0x2066 <= cp && cp <= 0x2068) { // Opening isolates in checkRtl() 249 } else if (cp == 0x2069) { // POP DIRECTIONAL ISOLATE (PDI) in checkRtl() [all …]
|
D | InputFilter.java | 81 for (int i = 0, cp; i < length; i += Character.charCount(cp)) { in filter() 84 cp = Character.codePointAt(wrapper, i); in filter() 85 if (Character.isLowerCase(cp) || Character.isTitleCase(cp)) { in filter()
|
/frameworks/base/libs/androidfw/ |
D | PathUtils.cpp | 24 const char* cp; in getPathLeaf() local 27 cp = strrchr(buf, OS_PATH_SEPARATOR); in getPathLeaf() 28 if (cp == nullptr) in getPathLeaf() 31 return String8(cp+1); in getPathLeaf() 35 const char* cp; in getPathDir() local 38 cp = strrchr(str, OS_PATH_SEPARATOR); in getPathDir() 39 if (cp == nullptr) in getPathDir() 42 return String8(str, cp - str); in getPathDir()
|
/frameworks/base/packages/CtsShim/build/ |
D | README | 13 $ cp $OUT/system/priv-app/CtsShimPrivUpgrade/CtsShimPrivUpgrade.apk \ 15 $ cp $OUT/system/priv-app/CtsShimPrivUpgrade/CtsShimPrivUpgrade.apk \ 17 $ cp $OUT/system/priv-app/CtsShimPrivUpgradeWrongSHA/CtsShimPrivUpgradeWrongSHA.apk \ 19 $ cp $OUT/system/priv-app/CtsShimPriv/CtsShimPriv.apk \ 21 $ cp $OUT/system/app/CtsShim/CtsShim.apk \ 27 $ cp $OUT/system/priv-app/CtsShimPrivUpgrade/CtsShimPrivUpgrade.apk \ 29 $ cp $OUT/system/priv-app/CtsShimPrivUpgrade/CtsShimPrivUpgrade.apk \ 31 $ cp $OUT/system/priv-app/CtsShimPrivUpgradeWrongSHA/CtsShimPrivUpgradeWrongSHA.apk \ 33 $ cp $OUT/system/priv-app/CtsShimPriv/CtsShimPriv.apk \ 35 $ cp $OUT/system/app/CtsShim/CtsShim.apk \
|
/frameworks/rs/ |
D | update_rs_prebuilts.sh | 196 cp $obj_lib_dir/${name}_intermediates/$file $a || exit 4 201 …cp `find $HOST_LIB_DIR $HOST_LIB64_DIR $sys_lib_dir $obj_lib_dir -name $file | head -1` $a || exit… 207 cp $obj_static_lib_dir/${name}_intermediates/$file $a || exit 4 213 cp $MY_ANDROID_DIR/$RENDERSCRIPT_V8_JAR renderscript/lib/javalib.jar 218 cp $MY_ANDROID_DIR/external/clang/lib/Headers/*.h renderscript/clang-include 219 cp $MY_ANDROID_DIR/frameworks/rs/script_api/include/* renderscript/include 239 cp $ANDROID_HOST_OUT/bin/$a tools/$SHORT_OSNAME/bin 244 cp $HOST_LIB64_DIR/$a tools/$SHORT_OSNAME/lib64 249 cp $HOST_LIB_DIR/$a tools/$SHORT_OSNAME/lib
|
/frameworks/rs/tests/java_api/SSHealingBrush/ |
D | cnb | 2 cp -r /media/hoford/hoford2/home/AndroidStudioProjects/SSHealingBrush/app/src/main/res/* res/ 3 cp -r '/media/hoford/hoford2/home/AndroidStudioProjects/SSHealingBrush/app/src/main/java/rs' src/ 4 cp /media/hoford/hoford2/home/AndroidStudioProjects/SSHealingBrush/app/src/main/rs/* src/rs/example…
|
/frameworks/native/opengl/tools/glgen/ |
D | gen | 62 cp static/egl/*.java out/android/opengl/ 65 cp stubs/jsr239/GLHeader.java-if $GLFILE 111 cp ${ANDROID_BUILD_TOP}/tools/platform-compat/java/android/compat/annotation/UnsupportedAppUsage.ja… 143 cp out/com_google_android_gles_jni_GLImpl.cpp generated/C 144 cp -r out/com generated 145 cp -r out/javax generated 147 cp out/android_opengl_*.cpp generated/C 149 cp -r out/android/opengl generated/android
|
/frameworks/libs/systemui/toruslib/torus-math/src/main/java/com/google/android/torus/math/ |
D | RotationQuaternion.kt | 66 val cp = cos(rotationY * halfDegToRad) in fromEuler() constant 71 val w = cr * cp * cy + sr * sp * sy in fromEuler() 72 val x = sr * cp * cy - cr * sp * sy in fromEuler() 73 val y = cr * sp * cy + sr * cp * sy in fromEuler() 74 val z = cr * cp * sy - sr * sp * cy in fromEuler()
|
/frameworks/base/ |
D | Ravenwood.bp | 73 cmd: "cp $(in) $(out)", 86 cmd: "cp $(in) $(out)", 98 cmd: "cp $(in) $(out)", 110 cmd: "cp $(in) $(out)", 170 cmd: "cp $(in) $(out)", 183 cmd: "cp $(in) $(out)", 195 cmd: "cp $(in) $(out)", 207 cmd: "cp $(in) $(out)", 258 cmd: "cp $(in) $(out)", 267 cmd: "cp $(in) $(out)", [all …]
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | SrvccConnection.java | 101 public SrvccConnection(ConferenceParticipant cp, @PreciseCallStates int preciseCallState) { in SrvccConnection() argument 104 mIsMT = cp.getCallDirection() == android.telecom.Call.Details.DIRECTION_INCOMING; in SrvccConnection() 105 mNumber = getParticipantAddress(cp.getHandle()); in SrvccConnection() 106 mNumPresentation = cp.getParticipantPresentation(); in SrvccConnection() 110 mName = cp.getDisplayName(); in SrvccConnection()
|
/frameworks/av/services/audiopolicy/engineconfigurable/tools/ |
D | Android.bp | 39 cmd: "cp $(locations :audio_policy_configuration_files) $(genDir)/. && " + 40 …"cp $(location :audio_policy_configuration_top_file) $(genDir)/audio_policy_configuration.xml && "… 85 "cp $(locations :audio_policy_pfw_structure_files) $(genDir)/Structure/Policy && " + 86 "cp $(location :audio_policy_pfw_toplevel) $(genDir)/top_level && " + 122 … cmd: "cp $(locations :audio_policy_engine_configuration_files) $(genDir) && ls -l $(genDir) &&" +
|
/frameworks/layoutlib/bridge/ |
D | update_nav_icons.sh | 42 cp -v "$FB/packages/SystemUI/res/drawable-$density/$icon" "$destination" 49 cp -v "$FB/packages/SystemUI/res/drawable-ldrtl-$density/$icon" "$destination"
|