/frameworks/native/libs/gui/ |
D | LayerState.cpp | 52 status_t layer_state_t::read(const Parcel& input) in read() argument 54 surface = input.readStrongBinder(); in read() 55 what = input.readUint32(); in read() 56 x = input.readFloat(); in read() 57 y = input.readFloat(); in read() 58 z = input.readInt32(); in read() 59 w = input.readUint32(); in read() 60 h = input.readUint32(); in read() 61 layerStack = input.readUint32(); in read() 62 alpha = input.readFloat(); in read() [all …]
|
/frameworks/compile/mclinker/lib/LD/ |
D | GroupReader.cpp | 50 Module::input_iterator input = --pRoot; in readGroup() local 53 while (input != pEnd) { in readGroup() 56 if ((*input)->type() == Input::Script || in readGroup() 57 (*input)->type() == Input::Archive || in readGroup() 58 (*input)->type() == Input::External) { in readGroup() 59 ++input; in readGroup() 63 if (Input::Object == (*input)->type()) { in readGroup() 64 m_Module.getObjectList().push_back(*input); in readGroup() 68 if (Input::DynObj == (*input)->type()) { in readGroup() 69 m_Module.getLibraryList().push_back(*input); in readGroup() [all …]
|
/frameworks/native/cmds/surfacereplayer/replayer/trace_creator/ |
D | trace_creator.py | 20 increment.time_stamp = int(input("Time stamp of action: ")) 60 return int(input("> ")) 86 return int(input("> ")) 92 = bool(input("Is transaction synchronous (True/False): ")) 94 = bool(input("Is transaction animated (True/False): ")) 108 change.id = int(input("ID of layer/display to undergo a change: ")) 163 increment.surface_creation.id = int(input("Enter id: ")) 166 increment.surface_creation.w = input("Enter w: ") 167 increment.surface_creation.h = input("Enter h: ") 170 increment.surface_deletion.id = int(input("Enter id: ")) [all …]
|
/frameworks/support/compat/tests/java/android/support/v4/app/ |
D | RemoteInputTest.java | 51 RemoteInput input = newDataOnlyRemoteInput(); in testRemoteInputBuilder_setDataOnly() local 53 assertTrue(input.isDataOnly()); in testRemoteInputBuilder_setDataOnly() 54 assertFalse(input.getAllowFreeFormInput()); in testRemoteInputBuilder_setDataOnly() 55 assertTrue(input.getChoices() == null || input.getChoices().length == 0); in testRemoteInputBuilder_setDataOnly() 56 assertEquals(1, input.getAllowedDataTypes().size()); in testRemoteInputBuilder_setDataOnly() 57 assertTrue(input.getAllowedDataTypes().contains(MIME_TYPE)); in testRemoteInputBuilder_setDataOnly() 62 RemoteInput input = newTextRemoteInput(); in testRemoteInputBuilder_setTextOnly() local 64 assertFalse(input.isDataOnly()); in testRemoteInputBuilder_setTextOnly() 65 assertTrue(input.getAllowFreeFormInput()); in testRemoteInputBuilder_setTextOnly() 66 assertTrue(input.getChoices() == null || input.getChoices().length == 0); in testRemoteInputBuilder_setTextOnly() [all …]
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
D | ColorSpace.java | 42 ByteBuffer input, ByteBuffer output, int width, int height) { in convertYuv420pToRgba8888() argument 43 expectInputSize(input, (3 * width * height) / 2); in convertYuv420pToRgba8888() 45 nativeYuv420pToRgba8888(input, output, width, height); in convertYuv420pToRgba8888() 61 ByteBuffer input, ByteBuffer output, int width, int height) { in convertArgb8888ToRgba8888() argument 62 expectInputSize(input, width * height * 4); in convertArgb8888ToRgba8888() 64 nativeArgb8888ToRgba8888(input, output, width, height); in convertArgb8888ToRgba8888() 80 ByteBuffer input, ByteBuffer output, int width, int height) { in convertRgba8888ToHsva8888() argument 81 expectInputSize(input, width * height * 4); in convertRgba8888ToHsva8888() 83 nativeRgba8888ToHsva8888(input, output, width, height); in convertRgba8888ToHsva8888() 99 ByteBuffer input, ByteBuffer output, int width, int height) { in convertRgba8888ToYcbcra8888() argument [all …]
|
D | PixelUtils.java | 44 public static void copyPixels(ByteBuffer input, in copyPixels() argument 51 if (input.remaining() != output.remaining()) { in copyPixels() 53 } else if (input.remaining() % 4 != 0) { in copyPixels() 57 } else if ((width * height * 4) != input.remaining()) { in copyPixels() 64 nativeCopyPixels(input, output, width, height, offset, pixStride, rowStride); in copyPixels() 67 private static native void nativeCopyPixels(ByteBuffer input, in nativeCopyPixels() argument
|
/frameworks/compile/mclinker/lib/Script/ |
D | InputCmd.cpp | 65 InputToken* input = llvm::cast<InputToken>(*it); in dump() local 66 cur = input->asNeeded(); in dump() 72 if (input->type() == InputToken::NameSpec) in dump() 74 mcld::outs() << input->name() << " "; in dump() 165 InputTree::iterator input = m_Builder.getCurrentNode(); in activate() local 167 input_begin = input; in activate() 170 assert(*input != NULL); in activate() 171 if (!m_Builder.setMemory(**input, in activate() 174 error(diag::err_cannot_open_input) << (*input)->name() in activate() 175 << (*input)->path(); in activate() [all …]
|
D | ScriptReader.cpp | 37 bool ScriptReader::isMyFormat(Input& input, bool& doContinue) const { in isMyFormat() argument 45 Input& input = pScriptFile.input(); in readScript() local 46 size_t size = input.memArea()->size(); in readScript() 47 llvm::StringRef region = input.memArea()->request(input.fileOffset(), size); in readScript()
|
/frameworks/compile/mclinker/lib/MC/ |
D | FileAction.cpp | 23 Input* input = *pBuilder.getCurrentNode(); in activate() local 25 if (input->hasContext()) in activate() 29 if (input->type() == Input::Script || input->type() == Input::Object || in activate() 30 input->type() == Input::DynObj || input->type() == Input::Archive) in activate() 33 return pBuilder.setContext(*input); in activate() 46 Input* input = *pBuilder.getCurrentNode(); in activate() local 48 if (input->hasMemArea()) in activate() 52 if (input->type() == Input::Script || input->type() == Input::Object || in activate() 53 input->type() == Input::DynObj || input->type() == Input::Archive) in activate() 56 return pBuilder.setMemory(*input, m_Mode, m_Permission); in activate()
|
/frameworks/base/tools/aapt2/ |
D | ResourceParser_test.cpp | 40 std::stringstream input(kXmlPreamble); in TEST() local 41 input << R"(<attr name="foo"/>)" << std::endl; in TEST() 44 xml::XmlPullParser xml_parser(input); in TEST() 59 std::stringstream input(kXmlPreamble); in TestParse() local 60 input << "<resources>\n" << str << "\n</resources>" << std::endl; in TestParse() 64 xml::XmlPullParser xmlParser(input); in TestParse() 77 std::string input = "<string name=\"foo\"> \" hey there \" </string>"; in TEST_F() local 78 ASSERT_TRUE(TestParse(input)); in TEST_F() 87 std::string input = "<string name=\"foo\">\\?123</string>"; in TEST_F() local 88 ASSERT_TRUE(TestParse(input)); in TEST_F() [all …]
|
D | Locale_test.cpp | 27 static ::testing::AssertionResult TestLanguage(const char* input, in TestLanguage() argument 29 std::vector<std::string> parts = util::SplitAndLowercase(input, '-'); in TestLanguage() 33 return ::testing::AssertionFailure() << " failed to parse '" << input in TestLanguage() 39 << count << " parts were consumed parsing '" << input in TestLanguage() 53 static ::testing::AssertionResult TestLanguageRegion(const char* input, in TestLanguageRegion() argument 56 std::vector<std::string> parts = util::SplitAndLowercase(input, '-'); in TestLanguageRegion() 60 return ::testing::AssertionFailure() << " failed to parse '" << input in TestLanguageRegion() 66 << count << " parts were consumed parsing '" << input in TestLanguageRegion() 73 << "expected " << input << " but got " in TestLanguageRegion()
|
/frameworks/base/core/java/android/util/ |
D | Base64.java | 88 public abstract boolean process(byte[] input, int offset, int len, boolean finish); in process() argument 135 public static byte[] decode(byte[] input, int flags) { in decode() argument 136 return decode(input, 0, input.length, flags); in decode() 155 public static byte[] decode(byte[] input, int offset, int len, int flags) { in decode() argument 160 if (!decoder.process(input, offset, len, true)) { in decode() 263 public boolean process(byte[] input, int offset, int len, boolean finish) { in process() argument 297 (value = ((alphabet[input[p] & 0xff] << 18) | in process() 298 (alphabet[input[p+1] & 0xff] << 12) | in process() 299 (alphabet[input[p+2] & 0xff] << 6) | in process() 300 (alphabet[input[p+3] & 0xff]))) >= 0) { in process() [all …]
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/util/ |
D | ScanResultUtilTest.java | 44 ScanResult input = new ScanResult(WifiSsid.createFromAsciiEncoded(ssid), ssid, in convertScanResult() local 47 input.informationElements = new InformationElement[] { in convertScanResult() 51 ScanDetail output = ScanResultUtil.toScanDetail(input); in convertScanResult() 53 validateScanDetail(input, output); in convertScanResult() 60 ScanResult input = new ScanResult(WifiSsid.createFromAsciiEncoded(ssid), ssid, in convertScanResultWithAnqpLines() local 63 input.informationElements = new InformationElement[] { in convertScanResultWithAnqpLines() 66 input.anqpLines = Arrays.asList("LINE 1", "line 2", "Line 3"); in convertScanResultWithAnqpLines() 68 ScanDetail output = ScanResultUtil.toScanDetail(input); in convertScanResultWithAnqpLines() 70 validateScanDetail(input, output); in convertScanResultWithAnqpLines() 76 ScanResult input = new ScanResult(ssid, "ab:cd:01:ef:45:89", 1245, 0, "other caps", in convertScanResultWithoutWifiSsid() local [all …]
|
/frameworks/base/libs/hwui/ |
D | Interpolator.cpp | 32 float AccelerateDecelerateInterpolator::interpolate(float input) { in interpolate() argument 33 return (float)(cosf((input + 1) * M_PI) / 2.0f) + 0.5f; in interpolate() 36 float AccelerateInterpolator::interpolate(float input) { in interpolate() argument 38 return input * input; in interpolate() 40 return pow(input, mDoubleFactor); in interpolate() 73 float CycleInterpolator::interpolate(float input) { in interpolate() argument 74 return sinf(2 * mCycles * M_PI * input); in interpolate() 77 float DecelerateInterpolator::interpolate(float input) { in interpolate() argument 80 result = 1.0f - (1.0f - input) * (1.0f - input); in interpolate() 82 result = 1.0f - pow((1.0f - input), 2 * mFactor); in interpolate() [all …]
|
D | Interpolator.h | 32 virtual float interpolate(float input) = 0; 42 virtual float interpolate(float input) override; 48 virtual float interpolate(float input) override; 57 virtual float interpolate(float input) override; 65 virtual float interpolate(float input) override; 72 virtual float interpolate(float input) override; 78 virtual float interpolate(float input) override; 86 virtual float interpolate(float input) override; 93 virtual float interpolate(float input) override { return input; } in interpolate() argument 99 virtual float interpolate(float input) override; [all …]
|
/frameworks/compile/mclinker/lib/Object/ |
D | ObjectLinker.cpp | 148 Module::input_iterator input, inEnd = m_pModule->input_end(); in normalize() local 149 for (input = m_pModule->input_begin(); input != inEnd; ++input) { in normalize() 151 if (isGroup(input)) { in normalize() 153 input, inEnd, m_pBuilder->getInputBuilder(), m_Config); in normalize() 159 if ((*input)->type() == Input::Script || in normalize() 160 (*input)->type() == Input::Archive || in normalize() 161 (*input)->type() == Input::External) in normalize() 164 if (Input::Object == (*input)->type()) { in normalize() 165 m_pModule->getObjectList().push_back(*input); in normalize() 169 if (Input::DynObj == (*input)->type()) { in normalize() [all …]
|
/frameworks/av/media/libeffects/lvm/lib/Common/src/ |
D | Abs_32.c | 33 LVM_INT32 Abs_32(LVM_INT32 input) in Abs_32() argument 35 if(input < 0) in Abs_32() 37 if (input == (LVM_INT32)(0x80000000U)) in Abs_32() 40 input=(LVM_INT32) 0x7fffffff; in Abs_32() 45 input = (LVM_INT32)(-input); in Abs_32() 48 return input; in Abs_32()
|
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/ |
D | fastcodemb.cpp | 74 VideoEncFrameIO *inputFrame = video->input; in CodeMB_H263() 79 UChar *rec, *input, *pred; in CodeMB_H263() local 130 input = inputFrame->yChan + offset; in CodeMB_H263() 131 if (lx != width) input -= (ind_y << 9); /* non-padded offset */ in CodeMB_H263() 147 input += 8; in CodeMB_H263() 152 input += dctMode; in CodeMB_H263() 162 input = inputFrame->uChan + offsetc; in CodeMB_H263() 163 if (lx != width) input -= (ind_y << 7); in CodeMB_H263() 168 sad = getBlockSum(input, width); in CodeMB_H263() 178 sad = Sad8x8(input, pred, width); in CodeMB_H263() [all …]
|
/frameworks/base/keystore/java/android/security/keystore/ |
D | AndroidKeyStoreCipherSpiBase.java | 320 protected final byte[] engineUpdate(byte[] input, int inputOffset, int inputLen) { in engineUpdate() argument 338 output = mMainDataStreamer.update(input, inputOffset, inputLen); in engineUpdate() 372 protected final int engineUpdate(byte[] input, int inputOffset, int inputLen, byte[] output, in engineUpdate() argument 374 byte[] outputCopy = engineUpdate(input, inputOffset, inputLen); in engineUpdate() 388 protected final int engineUpdate(ByteBuffer input, ByteBuffer output) in engineUpdate() argument 390 if (input == null) { in engineUpdate() 397 int inputSize = input.remaining(); in engineUpdate() 399 if (input.hasArray()) { in engineUpdate() 402 input.array(), input.arrayOffset() + input.position(), inputSize); in engineUpdate() 403 input.position(input.position() + inputSize); in engineUpdate() [all …]
|
/frameworks/compile/mclinker/unittests/ |
D | InputTreeTest.cpp | 97 Input* input = m_pAlloc->produce("FileSpec", "path1"); in TEST_F() local 98 m_pTestee->insert<InputTree::Inclusive>(node, *input); in TEST_F() 103 Input* input = m_pAlloc->produce("FileSpec", "path1"); in TEST_F() local 104 m_pTestee->insert<InputTree::Inclusive>(node, *input); in TEST_F() 126 Input* input = m_pAlloc->produce("FileSpec", "path1"); in TEST_F() local 127 m_pTestee->insert(node, InputTree::Afterward, *input); in TEST_F() 140 Input* input = m_pAlloc->produce("111", "/"); in TEST_F() local 141 m_pTestee->insert<InputTree::Inclusive>(node, *input); in TEST_F() 144 input = m_pAlloc->produce("10", "/"); in TEST_F() 145 m_pTestee->insert<InputTree::Positional>(node, *input); in TEST_F() [all …]
|
/frameworks/compile/mclinker/include/mcld/LD/ |
D | DiagAttribute.inc | 4 "unsupported format of attribute section in input %0 (version=%1).", 5 "unsupported format of attribute section in input %0 (version=%1).") 14 "input %0 has unknown CPU architecture profile.", 15 "input %0 has unknown CPU architecture profile.") 28 "the size of enumerated data item in input %0 (value=%1) is not " 30 "the size of enumerated data item in input %0 (value=%1) is not " 46 "conflicting procedure call standard config in input %0.", 47 "conflicting procedure call standard config in input %0.") 50 "conflicting way to use R9 in input %0.", 51 "conflicting way to use R9 in input %0.") [all …]
|
D | DiagReaders.inc | 7 "cannot parse .eh_frame section in input %0", 8 "cannot parse .eh_frame section in input %0.") 11 "cannot scan .eh_frame section in input %0", 12 "cannot scan .eh_frame section in input %0.") 15 "cannot read input %0", 16 "cannot read input %0")
|
/frameworks/base/packages/Osu/src/com/android/hotspot2/utils/ |
D | HTTPResponse.java | 32 byte[] input = new byte[RX_BUFFER]; in HTTPResponse() 38 int amount = in.read(input, offset, input.length - offset); in HTTPResponse() 45 bodyPattern = (bodyPattern << 8) | (input[n] & 0xff); in HTTPResponse() 48 statusCode = parseHeader(input, body, mHeaders); in HTTPResponse() 50 if (expected > input.length) { in HTTPResponse() 51 input = Arrays.copyOf(input, expected); in HTTPResponse() 58 if (offset < expected && offset == input.length) { in HTTPResponse() 59 input = Arrays.copyOf(input, input.length * 2); in HTTPResponse() 63 mBody = ByteBuffer.wrap(input, body, expected - body); in HTTPResponse() 66 private static int parseHeader(byte[] input, int body, Map<String, String> headers) in parseHeader() argument [all …]
|
/frameworks/rs/tests/java_api/RsTest/src/com/android/rs/test/ |
D | UT_reduce_backward.java | 105 private int addint(int[] input) { in addint() argument 107 for (int idx = 0; idx < input.length; ++idx) in addint() 108 rslt += input[idx]; in addint() 113 final int[] input = createInputArrayInt(100000, 0, 1 << 13); in addint1D() local 115 final int javaRslt = addint(input); in addint1D() 116 final int rsRslt = s.reduce_addint(input).get(); in addint1D() 138 private Int2 findMinAndMax(float[] input) { in findMinAndMax() argument 144 for (int idx = 0; idx < input.length; ++idx) { in findMinAndMax() 145 if (input[idx] < minVal) { in findMinAndMax() 146 minVal = input[idx]; in findMinAndMax() [all …]
|
/frameworks/rs/tests/java_api/RSTest_CompatLib/src/com/android/rs/test/ |
D | UT_reduce_backward.java | 89 private int addint(int[] input) { in addint() argument 91 for (int idx = 0; idx < input.length; ++idx) in addint() 92 rslt += input[idx]; in addint() 97 final int[] input = createInputArrayInt(100000, 0, 1 << 13); in addint1D() local 99 final int javaRslt = addint(input); in addint1D() 100 final int rsRslt = s.reduce_addint(input).get(); in addint1D() 122 private Int2 findMinAndMax(float[] input) { in findMinAndMax() argument 128 for (int idx = 0; idx < input.length; ++idx) { in findMinAndMax() 129 if (input[idx] < minVal) { in findMinAndMax() 130 minVal = input[idx]; in findMinAndMax() [all …]
|