/frameworks/rs/java/tests/ImageProcessing2/src/com/android/rs/image/ |
H A D | Convolve5x5.java | 40 private float[] updateMatrix(float str) { argument 43 float cf1 = blend(f125, -1.f, str); 44 float cf2 = blend(f125, -3.f, str); 45 float cf3 = blend(f125, -4.f, str); 46 float cf4 = blend(f125, 6.f, str); 47 float cf5 = blend(f125, 20.f, str); 48 float cf6 = blend(f125, 0.f, str);
|
H A D | Convolve3x3.java | 40 private float[] updateMatrix(float str) { argument 42 float cf1 = blend(1.f / 9.f, 0.f, str); 43 float cf2 = blend(1.f / 9.f, -1.f, str); 44 float cf3 = blend(1.f / 9.f, 5.f, str);
|
/frameworks/rs/java/tests/ImageProcessing_jb/src/com/android/rs/image/ |
H A D | Convolve5x5.java | 47 private float[] updateMatrix(float str) { argument 50 float cf1 = blend(f125, -1.f, str); 51 float cf2 = blend(f125, -3.f, str); 52 float cf3 = blend(f125, -4.f, str); 53 float cf4 = blend(f125, 6.f, str); 54 float cf5 = blend(f125, 20.f, str); 55 float cf6 = blend(f125, 0.f, str);
|
H A D | Convolve3x3.java | 47 private float[] updateMatrix(float str) { argument 49 float cf1 = blend(1.f / 9.f, 0.f, str); 50 float cf2 = blend(1.f / 9.f, -1.f, str); 51 float cf3 = blend(1.f / 9.f, 5.f, str);
|
/frameworks/base/core/java/android/net/ |
H A D | StaticIpConfiguration.java | 121 StringBuffer str = new StringBuffer(); 123 str.append("IP address "); 124 if (ipAddress != null ) str.append(ipAddress).append(" "); 126 str.append("Gateway "); 127 if (gateway != null) str.append(gateway.getHostAddress()).append(" "); 129 str.append(" DNS servers: ["); 131 str.append(" ").append(dnsServer.getHostAddress()); 134 str.append(" ] Domains "); 135 if (domains != null) str.append(domains); 136 return str [all...] |
/frameworks/base/core/tests/utiltests/src/com/android/internal/util/ |
H A D | FastXmlSerializerTest.java | 64 private boolean checkPreserved(String description, String str) { argument 73 out.attribute(null, ATTR, str); 74 out.text(str); 101 if (!str.equals(read)) { 103 + " input=\"" + str + "\", but read=\"" + read + "\""); 110 if (!str.equals(parser.getText())) { 112 + " input=\"" + str + "\", but read=\"" + read + "\""); 124 private boolean check(String description, String str) throws Exception { argument 126 ok |= checkPreserved(description, str); 127 ok |= checkPreserved(description + " wrapped with spaces" ," " + str [all...] |
/frameworks/base/tools/aapt2/test/ |
H A D | Builders.h | 62 ResourceTableBuilder& addString(const StringPiece16& name, const StringPiece16& str) { argument 63 return addString(name, {}, str); 67 const StringPiece16& str) { 68 return addValue(name, id, util::make_unique<String>(mTable->stringPool.makeRef(str))); 72 const ConfigDescription& config, const StringPiece16& str) { 74 util::make_unique<String>(mTable->stringPool.makeRef(str))); 159 ValueBuilder& setComment(const StringPiece16& str) { argument 160 mValue->setComment(str); 200 StyleBuilder& setParent(const StringPiece16& str) { argument 201 mStyle->parent = Reference(parseNameOrDie(str)); 66 addString(const StringPiece16& name, const ResourceId id, const StringPiece16& str) argument 71 addString(const StringPiece16& name, const ResourceId id, const ConfigDescription& config, const StringPiece16& str) argument 205 addItem(const StringPiece16& str, std::unique_ptr<Item> value) argument 210 addItem(const StringPiece16& str, ResourceId id, std::unique_ptr<Item> value) argument 226 addItem(const StringPiece16& str, Maybe<ResourceId> id = {}) argument 237 buildXmlDom(const StringPiece& str) argument 239 in << "<?xml version=\\"1.0\\" encoding=\\"utf-8\\"?>\\n" << str; local 246 buildXmlDomForPackageName(IAaptContext* context, const StringPiece& str) argument [all...] |
/frameworks/opt/bluetooth/src/android/bluetooth/client/map/utils/ |
H A D | BmsgTokenizer.java | 62 public BmsgTokenizer(String str) { argument 63 this(str, 0); 66 public BmsgTokenizer(String str, int offset) { argument 67 mStr = str; 69 mMatcher = Pattern.compile("(([^:]*):(.*))?\r\n").matcher(str);
|
/frameworks/av/media/libstagefright/codecs/mp3dec/src/asm/ |
H A D | pvmp3_dct_16_gcc.s | 56 str r2,[sp,#0x14] 65 str r3,[sp] 87 str r4,[sp,#4] 95 str lr,[sp,#0x10] 112 str r9,[sp,#0xc] 115 str r9,[sp,#0x18] 120 str r9,[sp,#8] 140 str r8,[r0] 143 str r8,[r0,#0x20] 148 str r [all...] |
/frameworks/base/tests/WallpaperTest/src/com/example/wallpapertest/ |
H A D | MainActivity.java | 92 String str = view.getText().toString(); 93 if (str != null && !TextUtils.isEmpty(str)) { 95 float fval = Float.parseFloat(str); 98 Log.i(TAG, "Bad number: " + str, e); 105 String str = view.getText().toString(); 106 if (str != null && !TextUtils.isEmpty(str)) { 108 return Float.parseFloat(str); 110 Log.i(TAG, "Bad number: " + str, [all...] |
/frameworks/native/opengl/tests/hwc/ |
H A D | hwcColorEquiv.cpp | 171 string str; local 194 str = optarg; 197 char endChar = (str.length() > 1) ? str[str.length() - 1] : 0; 199 str += " " + string(argv[optind++]); 202 istringstream in(str); 206 || (((unsigned int) in.tellg() != in.str().length()) 209 "reference color of: %s", str.c_str()); 216 str [all...] |
H A D | hwcRects.cpp | 207 string str; local 364 string str; local 371 in >> str; local 376 format = hwcTestGraphicFormatLookup(str.c_str()); 403 while ((in.tellg() < (streampos) in.str().length()) 417 string str; local 419 in >> str; local 420 if (str == "none") { 422 } else if (str == "fliph") { 424 } else if (str 438 string str; local 440 in >> str; local [all...] |
/frameworks/base/libs/hwui/utils/ |
H A D | StringUtils.h | 29 bool has(const char* str) { argument 30 return find(std::string(str)) != end();
|
/frameworks/base/tools/aapt2/java/ |
H A D | AnnotationProcessor_test.cpp | 32 std::string annotations = result.str(); 43 std::string annotations = result.str();
|
/frameworks/base/tools/split-select/ |
H A D | SplitDescription.cpp | 80 String8 str(config.toString()); 81 str.append(extension); 82 return str; 131 bool SplitDescription::parse(const String8& str, SplitDescription* outSplit) { argument 132 ssize_t index = str.find(":"); 137 configStr.setTo(str.string(), index); 138 extensionStr.setTo(str.string() + index + 1); 140 configStr.setTo(str);
|
/frameworks/compile/slang/ |
H A D | slang_bitcode_gen.cpp | 93 &Wrapper, Bitcode.str().length(), TargetAPI, 100 Out << Bitcode.str();
|
/frameworks/av/media/libmedia/ |
H A D | IMediaExtractor.cpp | 195 String8 str = name; local 196 str.append(" for mime "); 197 str.append(mime); 198 str.append(", source "); 199 str.append(sourceDescription); 200 str.append(String8::format(", pid %d: ", owner)); 202 str.append("deleted\n"); 204 str.append("active\n"); 208 str.appendFormat(" track {%s} ", desc.string()); 211 str [all...] |
H A D | MediaResource.cpp | 52 String8 str; local 53 str.appendFormat("%s/%s:%llu", asString(mType), asString(mSubType), (unsigned long long)mValue); 54 return str;
|
/frameworks/av/services/audioflinger/ |
H A D | FastMixerState.cpp | 56 const char *str = FastThreadState::commandToString(command); local 57 if (str != NULL) { 58 return str;
|
/frameworks/base/tools/aapt2/xml/ |
H A D | XmlPullParser_test.cpp | 26 std::stringstream str; local 27 str << "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n" 29 xml::XmlPullParser parser(str);
|
/frameworks/data-binding/integration-tests/TestApp/app/src/main/java/android/databinding/testapp/adapter/ |
H A D | MultiArgTestAdapter.java | 36 for(String str : strings) { 37 sb.append(str == null ? "??" : str); 61 public static void setClassStr(TextView view, String str) { argument 62 view.setText(str);
|
/frameworks/base/tests/backup/src/com/android/backuptest/ |
H A D | BackupTestActivity.java | 60 StringBuffer str = new StringBuffer(); 61 str.append("Text is:"); 66 str.append("\n"); 67 str.append(reader.readLine()); 70 str.append("ERROR: "); 71 str.append(ex.toString()); 73 Log.d(TAG, str.toString()); 74 Toast.makeText(BackupTestActivity.this, str, Toast.LENGTH_SHORT).show(); 116 String str = "'" + PREF_KEY + "' is " + val; 117 Log.d(TAG, str); [all...] |
/frameworks/av/media/libstagefright/codecs/aacenc/src/asm/ARMV5E/ |
H A D | CalcWindowEnergy_v5.s | 50 str r8, [r13, #4] 51 str r0, [r13, #8] 52 str r3, [r13, #12] 92 str r6, [r4, #72] 94 str r7, [r4, #136] 100 str r10, [r0, #168] 101 str r11, [r0, #172]
|
/frameworks/base/tools/aapt2/ |
H A D | StringPool.h | 39 std::u16string str; member in struct:aapt::StyleString 117 Ref str; member in class:aapt::StringPool::StyleEntry 139 Ref makeRef(const StringPiece16& str); 146 Ref makeRef(const StringPiece16& str, const Context& context); 151 StyleRef makeRef(const StyleString& str); 158 StyleRef makeRef(const StyleString& str, const Context& context); 198 Ref makeRefImpl(const StringPiece16& str, const Context& context, bool unique);
|
/frameworks/compile/mclinker/lib/LD/ |
H A D | Diagnostic.cpp | 133 const std::string& str = getArgStdStr(arg_no); local 134 pOutStr.append(str.begin(), str.end()); 144 const char* str = getArgCStr(arg_no); local 145 if (str == NULL) 146 str = "(null)"; 147 pOutStr.append(str);
|