/packages/inputmethods/LatinIME/native/jni/src/suggest/core/layout/ |
D | proximity_info_state_utils.h | 35 static int trimLastTwoTouchPoints(std::vector<int> *sampledInputXs, 36 std::vector<int> *sampledInputYs, std::vector<int> *sampledInputTimes, 37 std::vector<int> *sampledLengthCache, std::vector<int> *sampledInputIndice); 43 std::vector<int> *sampledInputXs, std::vector<int> *sampledInputYs, 44 std::vector<int> *sampledInputTimes, std::vector<int> *sampledLengthCache, 45 std::vector<int> *sampledInputIndice); 48 static void popInputData(std::vector<int> *sampledInputXs, std::vector<int> *sampledInputYs, 49 std::vector<int> *sampledInputTimes, std::vector<int> *sampledLengthCache, 50 std::vector<int> *sampledInputIndice); 53 const int sampledInputSize, const std::vector<int> *const sampledInputXs, [all …]
|
D | proximity_info_state_utils.cpp | 34 /* static */ int ProximityInfoStateUtils::trimLastTwoTouchPoints(std::vector<int> *sampledInputXs, in trimLastTwoTouchPoints() 35 std::vector<int> *sampledInputYs, std::vector<int> *sampledInputTimes, in trimLastTwoTouchPoints() 36 std::vector<int> *sampledLengthCache, std::vector<int> *sampledInputIndice) { in trimLastTwoTouchPoints() 50 const int pushTouchPointStartIndex, std::vector<int> *sampledInputXs, in updateTouchPoints() 51 std::vector<int> *sampledInputYs, std::vector<int> *sampledInputTimes, in updateTouchPoints() 52 std::vector<int> *sampledLengthCache, std::vector<int> *sampledInputIndice) { in updateTouchPoints() 158 const ProximityInfo *const proximityInfo, const std::vector<int> *const sampledInputXs, in calculateSquaredDistanceFromSweetSpotCenter() 159 const std::vector<int> *const sampledInputYs, const int keyIndex, const int inputIndex) { in calculateSquaredDistanceFromSweetSpotCenter() 169 const ProximityInfo *const proximityInfo, const std::vector<int> *const sampledInputXs, in calculateNormalizedSquaredDistance() 170 const std::vector<int> *const sampledInputYs, const int keyIndex, const int inputIndex) { in calculateNormalizedSquaredDistance() [all …]
|
D | proximity_info_state.h | 41 const std::vector<int> *locale); 209 std::vector<int> mSampledInputXs; 210 std::vector<int> mSampledInputYs; 211 std::vector<int> mSampledTimes; 212 std::vector<int> mSampledInputIndice; 213 std::vector<int> mSampledLengthCache; 214 std::vector<int> mBeelineSpeedPercentiles; 215 std::vector<float> mSampledNormalizedSquaredLengthCache; 216 std::vector<float> mSpeedRates; 217 std::vector<float> mDirections; [all …]
|
D | additional_proximity_chars.h | 43 AK_FORCE_INLINE static bool isEnLocale(const std::vector<int> *locale) { in isEnLocale() 57 static int getAdditionalCharsSize(const std::vector<int> *locale, const int c) { in getAdditionalCharsSize() 77 static const int *getAdditionalChars(const std::vector<int> *locale, const int c) { in getAdditionalChars()
|
/packages/inputmethods/LatinIME/native/jni/tests/utils/ |
D | int_array_view_test.cpp | 28 const std::vector<int> intVector = {3, 2, 1, 0, -1, -2}; in TEST() 37 const std::vector<int> intVector = {3, 2, 1, 0, -1, -2}; in TEST() 65 const std::vector<int> intVector = {3, 2, 1, 0, -1, -2}; in TEST() 75 const std::vector<int> intVector = {3, 2, 1, 0, -1, -2}; in TEST() 90 const std::vector<int> intVector = {3, 2, 1, 0, -1, -2}; in TEST() 109 const std::vector<int> intVector = {3, 2, 1, 0, -1, -2}; in TEST() 128 const std::vector<int> intVector = {3, 2, 1, 0, -1, -2}; in TEST() 138 const std::vector<int> intVector = {3, 2, 1, 0, -1, -2}; in TEST() 148 const std::vector<int> intVector = {3, 2, 1, 0, -1, -2}; in TEST() 151 EXPECT_EQ(std::vector<int>(), CodePointArrayView().toVector()); in TEST() [all …]
|
/packages/apps/Nfc/nci/jni/ |
D | HciEventManager.cpp | 49 void HciEventManager::notifyTransactionListenersOfAid(std::vector<uint8_t> aid, in notifyTransactionListenersOfAid() 50 std::vector<uint8_t> data, in notifyTransactionListenersOfAid() 96 std::vector<uint8_t> HciEventManager::getDataFromBerTlv( in getDataFromBerTlv() 97 std::vector<uint8_t> berTlv) { in getDataFromBerTlv() 99 return std::vector<uint8_t>(); in getDataFromBerTlv() 108 return std::vector<uint8_t>(berTlv.begin() + 1, berTlv.end()); in getDataFromBerTlv() 112 return std::vector<uint8_t>(berTlv.begin() + 2, berTlv.end()); in getDataFromBerTlv() 117 return std::vector<uint8_t>(berTlv.begin() + 3, berTlv.end()); in getDataFromBerTlv() 122 return std::vector<uint8_t>(berTlv.begin() + 4, berTlv.end()); in getDataFromBerTlv() 128 return std::vector<uint8_t>(berTlv.begin() + 5, berTlv.end()); in getDataFromBerTlv() [all …]
|
D | HciEventManager.h | 33 std::vector<uint8_t> getDataFromBerTlv(std::vector<uint8_t> berTlv); 34 void notifyTransactionListenersOfAid(std::vector<uint8_t> aid, 35 std::vector<uint8_t> data,
|
/packages/inputmethods/LatinIME/native/jni/tests/dictionary/header/ |
D | header_read_write_utils_test.cpp | 30 DictionaryHeaderStructurePolicy::AttributeMap::key_type vector; in TEST() local 32 HeaderReadWriteUtils::insertCharactersIntoVector("", &vector); in TEST() 33 EXPECT_TRUE(vector.empty()); in TEST() 36 HeaderReadWriteUtils::insertCharactersIntoVector(str, &vector); in TEST() 37 EXPECT_EQ(strlen(str) , vector.size()); in TEST() 38 for (size_t i = 0; i < vector.size(); ++i) { in TEST() 39 EXPECT_EQ(str[i], vector[i]); in TEST() 71 const std::vector<int> codePoints = { 0x0, 0x20, 0x1F, 0x100000 }; in TEST()
|
/packages/inputmethods/LatinIME/native/jni/src/utils/ |
D | int_array_view.h | 58 explicit IntArrayView(const std::vector<int> &vector) in IntArrayView() argument 59 : mPtr(vector.data()), mSize(vector.size()) {} in IntArrayView() 132 AK_FORCE_INLINE std::vector<int> toVector() const { in toVector() 133 return std::vector<int>(begin(), end()); in toVector() 136 std::vector<IntArrayView> split(const int separator, const int limit = S_INT_MAX) const { 138 return std::vector<IntArrayView>(); 140 std::vector<IntArrayView> result;
|
/packages/inputmethods/LatinIME/native/jni/tests/dictionary/utils/ |
D | format_utils_test.cpp | 32 const std::vector<uint8_t> getBuffer(const int magicNumber, const int version, const uint16_t flags, in getBuffer() 34 std::vector<uint8_t> buffer; in getBuffer() 58 const std::vector<uint8_t> buffer = in TEST() 64 const std::vector<uint8_t> buffer = in TEST() 70 const std::vector<uint8_t> buffer = in TEST() 77 const std::vector<uint8_t> buffer = in TEST() 83 const std::vector<uint8_t> buffer = in TEST() 89 const std::vector<uint8_t> buffer = in TEST()
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/property/ |
D | unigram_property.h | 31 ShortcutProperty(const std::vector<int> &&targetCodePoints, const int probability) in ShortcutProperty() 35 const std::vector<int> *getTargetCodePoints() const { in getTargetCodePoints() 47 const std::vector<int> mTargetCodePoints; 59 const HistoricalInfo historicalInfo, const std::vector<ShortcutProperty> &&shortcuts) in UnigramProperty() 77 const HistoricalInfo historicalInfo, const std::vector<ShortcutProperty> &&shortcuts) in UnigramProperty() 120 const std::vector<ShortcutProperty> &getShortcuts() const { in getShortcuts() 134 const std::vector<ShortcutProperty> mShortcuts;
|
D | word_property.h | 36 WordProperty(const std::vector<int> &&codePoints, const UnigramProperty &unigramProperty, in WordProperty() 37 const std::vector<NgramProperty> &ngrams) in WordProperty() 49 const std::vector<NgramProperty> &getNgramProperties() const { in getNgramProperties() 57 const std::vector<int> mCodePoints; 59 const std::vector<NgramProperty> mNgrams;
|
D | ngram_property.h | 30 NgramProperty(const NgramContext &ngramContext, const std::vector<int> &&targetCodePoints, in NgramProperty() 39 const std::vector<int> *getTargetCodePoints() const { in getTargetCodePoints() 57 const std::vector<int> mTargetCodePoints;
|
/packages/inputmethods/LatinIME/native/dicttoolkit/tests/utils/ |
D | utf8_utils_test.cpp | 31 const std::vector<int> codePoints = Utf8Utils::getCodePoints(""); in TEST() 35 const std::vector<int> codePoints = Utf8Utils::getCodePoints("test"); in TEST() 43 const std::vector<int> codePoints = Utf8Utils::getCodePoints(u8"\u3042a\u03C2\u0410"); in TEST() 51 const std::vector<int> codePoints = Utf8Utils::getCodePoints(u8"\U0001F36A?\U0001F752"); in TEST() 66 const std::vector<int> codePoints = {'t', 'e', 's', 't'}; in TEST() 70 const std::vector<int> codePoints = { in TEST()
|
D | arguments_parser_test.cpp | 28 std::vector<ArgumentSpec> argumentSpecs; in TEST() 35 const std::vector<ArgumentSpec> argumentSpecs = { in TEST() 44 const std::vector<ArgumentSpec> argumentSpecs = { in TEST() 52 const std::vector<ArgumentSpec> argumentSpecs = { in TEST() 61 const std::vector<ArgumentSpec> argumentSpecs = { in TEST() 94 const std::vector<ArgumentSpec> argumentSpecs = { in TEST() 137 const std::vector<std::string> &arg1 = in TEST()
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/header/ |
D | header_read_write_utils.cpp | 83 std::vector<int> key; in fetchAllHeaderAttributes() 87 std::vector<int> value; in fetchAllHeaderAttributes() 162 const std::vector<int> &value) { in setCodePointVectorAttribute() 189 /* static */ const std::vector<int> HeaderReadWriteUtils::readCodePointVectorAttributeValue( in readCodePointVectorAttributeValue() 195 return std::vector<int>(); in readCodePointVectorAttributeValue() 242 std::vector<int> *const vector) { in insertCharactersIntoVector() argument 244 vector->push_back(characters[i]); in insertCharactersIntoVector()
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v4/content/ |
D | language_model_dict_content.h | 116 DumppedFullEntryInfo(std::vector<int> &prevWordIds, const int targetWordId, in DumppedFullEntryInfo() 129 const std::vector<int> mPrevWordIds; 179 std::vector<DumppedFullEntryInfo> exportAllNgramEntriesRelatedToWord( 248 const int bitmapEntryIndex, std::vector<int> *const prevWordIds, 249 std::vector<EntryInfoToTurncate> *const outEntryInfo) const; 254 const int bitmapEntryIndex, std::vector<int> *const prevWordIds, 255 std::vector<DumppedFullEntryInfo> *const outBummpedFullEntryInfo) const;
|
D | language_model_dict_content.cpp | 159 std::vector<LanguageModelDictContent::DumppedFullEntryInfo> 165 return std::vector<DumppedFullEntryInfo>(); in exportAllNgramEntriesRelatedToWord() 167 std::vector<int> prevWordIds = { wordId }; in exportAllNgramEntriesRelatedToWord() 168 std::vector<DumppedFullEntryInfo> entries; in exportAllNgramEntriesRelatedToWord() 176 std::vector<int> *const prevWordIds, in exportAllNgramEntriesRelatedToWordInner() 177 std::vector<DumppedFullEntryInfo> *const outBummpedFullEntryInfo) const { in exportAllNgramEntriesRelatedToWordInner() 394 std::vector<int> prevWordIds; in turncateEntriesInSpecifiedLevel() 395 std::vector<EntryInfoToTurncate> entryInfoVector; in turncateEntriesInSpecifiedLevel() 421 const int targetLevel, const int bitmapEntryIndex, std::vector<int> *const prevWordIds, in getEntryInfo() 422 std::vector<EntryInfoToTurncate> *const outEntryInfo) const { in getEntryInfo()
|
/packages/apps/Bluetooth/jni/ |
D | com_android_bluetooth_avrcp_target.cpp | 47 static std::vector<SongInfo> getNowPlayingList(); 49 static std::vector<MediaPlayerInfo> getMediaPlayerList(); 506 static std::vector<SongInfo> getNowPlayingList() { in getNowPlayingList() 510 if (!sCallbackEnv.valid() || !mJavaInterface) return std::vector<SongInfo>(); in getNowPlayingList() 516 return std::vector<SongInfo>(); in getNowPlayingList() 525 if (size == 0) return std::vector<SongInfo>(); in getNowPlayingList() 526 std::vector<SongInfo> ret; in getNowPlayingList() 548 static std::vector<MediaPlayerInfo> getMediaPlayerList() { in getMediaPlayerList() 553 return std::vector<MediaPlayerInfo>(); in getMediaPlayerList() 560 return std::vector<MediaPlayerInfo>(); in getMediaPlayerList() [all …]
|
/packages/inputmethods/LatinIME/native/jni/tests/suggest/policyimpl/utils/ |
D | damerau_levenshtein_edit_distance_policy_test.cpp | 30 const std::vector<int> codePoints0 = { 0x20, 0x40, 0x60 }; in TEST() 31 const std::vector<int> codePoints1 = { 0x10, 0x20, 0x30, 0x40, 0x50, 0x60 }; in TEST() 39 float getEditDistance(const std::vector<int> &codePoints0, const std::vector<int> &codePoints1) { in getEditDistance()
|
/packages/services/Car/car-bugreportd/ |
D | main.cpp | 117 void zipFilesToFd(const std::vector<std::string>& extra_files, int outfd) { in zipFilesToFd() 318 int runCommand(int timeout_secs, const char* file, std::vector<const char*> args) { in runCommand() 376 std::vector<std::string>* extra_files) { in takeScreenshotForDisplayId() 379 std::vector<const char*> args { "-p", "-d", id_as_string.c_str(), filename.c_str(), nullptr }; in takeScreenshotForDisplayId() 391 void takeScreenshot(const char* tmp_dir, std::vector<std::string>* extra_files) { in takeScreenshot() 393 std::vector<PhysicalDisplayId> ids = SurfaceComposerClient::getPhysicalDisplayIds(); in takeScreenshot() 450 std::vector<std::string> extra_files; in main()
|
/packages/inputmethods/LatinIME/native/dicttoolkit/src/utils/ |
D | utf8_utils.cpp | 34 /* static */ std::vector<int> Utf8Utils::getCodePoints(const std::string &utf8Str) { in getCodePoints() 35 std::vector<int> codePoints; in getCodePoints() 44 return std::vector<int>(); in getCodePoints() 57 return std::vector<int>(); in getCodePoints()
|
/packages/inputmethods/LatinIME/native/dicttoolkit/tests/offdevice_intermediate_dict/ |
D | offdevice_intermediate_dict_test.cpp | 30 const std::vector<int> getCodePointVector(const char *str) { in getCodePointVector() 31 std::vector<int> codePoints; in getCodePointVector() 39 const WordProperty getDummpWordProperty(const std::vector<int> &&codePoints) { in getDummpWordProperty() 40 return WordProperty(std::move(codePoints), UnigramProperty(), std::vector<NgramProperty>()); in getDummpWordProperty()
|
/packages/apps/Test/connectivity/sl4n/rapidjson/example/serialize/ |
D | serialize.cpp | 122 …for (std::vector<Dependent>::const_iterator dependentItr = dependents_.begin(); dependentItr != de… in Serialize() 130 std::vector<Dependent> dependents_; 138 std::vector<Employee> employees; in main() 150 …for (std::vector<Employee>::const_iterator employeeItr = employees.begin(); employeeItr != employe… in main()
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/interface/ |
D | dictionary_header_structure_policy.h | 33 typedef std::map<std::vector<int>, std::vector<int>> AttributeMap; 52 virtual const std::vector<int> *getLocale() const = 0;
|