/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/common/ |
D | ResizableIntArrayTests.java | 41 final ResizableIntArray src = new ResizableIntArray(DEFAULT_CAPACITY); in testNewInstance() local 42 final int[] array = src.getPrimitiveArray(); in testNewInstance() 43 assertEquals("new instance length", 0, src.getLength()); in testNewInstance() 50 final ResizableIntArray src = new ResizableIntArray(DEFAULT_CAPACITY); in testAdd() local 51 final int[] array = src.getPrimitiveArray(); in testAdd() 56 src.add(value); in testAdd() 57 assertEquals("length after add " + i, i + 1, src.getLength()); in testAdd() 59 array2 = src.getPrimitiveArray(); in testAdd() 62 array3 = src.getPrimitiveArray(); in testAdd() 65 assertSame("array after add " + i, array, src.getPrimitiveArray()); in testAdd() [all …]
|
D | InputPointersTests.java | 41 final InputPointers src = new InputPointers(DEFAULT_CAPACITY); in testNewInstance() local 42 assertEquals("new instance size", 0, src.getPointerSize()); in testNewInstance() 43 assertNotNull("new instance xCoordinates", src.getXCoordinates()); in testNewInstance() 44 assertNotNull("new instance yCoordinates", src.getYCoordinates()); in testNewInstance() 45 assertNotNull("new instance pointerIds", src.getPointerIds()); in testNewInstance() 46 assertNotNull("new instance times", src.getTimes()); in testNewInstance() 51 final InputPointers src = new InputPointers(DEFAULT_CAPACITY); in testReset() local 52 final int[] xCoordinates = src.getXCoordinates(); in testReset() 53 final int[] yCoordinates = src.getXCoordinates(); in testReset() 54 final int[] pointerIds = src.getXCoordinates(); in testReset() [all …]
|
/packages/inputmethods/LatinIME/native/jni/ |
D | Android.bp | 18 "src/dictionary/header/header_policy.cpp", 19 "src/dictionary/header/header_read_write_utils.cpp", 20 "src/dictionary/property/ngram_context.cpp", 21 "src/dictionary/structure/dictionary_structure_with_buffer_policy_factory.cpp", 22 "src/dictionary/structure/pt_common/bigram/bigram_list_read_write_utils.cpp", 23 "src/dictionary/structure/pt_common/dynamic_pt_gc_event_listeners.cpp", 24 "src/dictionary/structure/pt_common/dynamic_pt_reading_helper.cpp", 25 "src/dictionary/structure/pt_common/dynamic_pt_reading_utils.cpp", 26 "src/dictionary/structure/pt_common/dynamic_pt_updating_helper.cpp", 27 "src/dictionary/structure/pt_common/dynamic_pt_writing_utils.cpp", [all …]
|
/packages/modules/NetworkStack/common/networkstackclient/ |
D | Android.bp | 20 local_include_dir: "src", 22 "src/android/net/IIpMemoryStore.aidl", 23 "src/android/net/IIpMemoryStoreCallbacks.aidl", 24 "src/android/net/ipmemorystore/**/*.aidl", 58 local_include_dir: "src", 65 "src/android/net/DataStallReportParcelable.aidl", 66 "src/android/net/DhcpResultsParcelable.aidl", 67 "src/android/net/INetworkMonitor.aidl", 68 "src/android/net/INetworkMonitorCallbacks.aidl", 69 "src/android/net/INetworkStackConnector.aidl", [all …]
|
/packages/apps/DeskClock/ |
D | Android.bp | 7 "src/**/*.java", 42 "src/**/*.java", 43 "src/**/*.kt", 47 "src/**/alarmclock/*.java", 48 "src/**/deskclock/alarms/*.java", 49 "src/**/deskclock/actionbarmenu/*.java", 50 "src/**/deskclock/alarms/dataadapter/*.java", 51 "src/**/deskclock/controller/*.java", 52 "src/**/deskclock/data/*.java", 53 "src/**/deskclock/events/*.java", [all …]
|
/packages/apps/Gallery2/jni_jpegstream/src/ |
D | jpeg_hook.cpp | 90 SourceManager *src = reinterpret_cast<SourceManager*>(cinfo->src); in Mgr_fill_input_buffer_fcn() local 91 int32_t bytesRead = src->inStream->read(src->inStream->getBufferSize(), 0); in Mgr_fill_input_buffer_fcn() 93 if (src->start_of_file == TRUE) { in Mgr_fill_input_buffer_fcn() 97 bytesRead = src->inStream->forceReadEOI(); in Mgr_fill_input_buffer_fcn() 103 src->mgr.next_input_byte = reinterpret_cast<JOCTET*>(src->inStream->getBufferPtr()); in Mgr_fill_input_buffer_fcn() 104 src->mgr.bytes_in_buffer = bytesRead; in Mgr_fill_input_buffer_fcn() 106 src->start_of_file = FALSE; in Mgr_fill_input_buffer_fcn() 112 SourceManager *s = reinterpret_cast<SourceManager*>(cinfo->src); in Mgr_init_source_fcn() 123 SourceManager *src = reinterpret_cast<SourceManager*>(cinfo->src); in Mgr_skip_input_data_fcn() local 124 if (src->mgr.bytes_in_buffer >= (size_t)num_bytes) { in Mgr_skip_input_data_fcn() [all …]
|
/packages/apps/DocumentsUI/src/com/android/documentsui/services/ |
D | CopyJob.java | 319 void processDocument(DocumentInfo src, DocumentInfo srcParent, in processDocument() argument 327 if (src.authority.equals(dstDirInfo.authority)) { in processDocument() 328 if ((src.flags & Document.FLAG_SUPPORTS_COPY) != 0) { in processDocument() 330 if (DocumentsContract.copyDocument(wrap(getClient(src)), src.derivedUri, in processDocument() 336 Log.e(TAG, "Provider side copy failed for: " + src.derivedUri in processDocument() 339 appContext, MetricConsts.SUBFILEOP_QUICK_COPY, src.derivedUri); in processDocument() 344 Log.d(TAG, "Fallback to byte-by-byte copy for: " + src.derivedUri); in processDocument() 350 byteCopyDocument(src, dstDirInfo); in processDocument() 353 private void processDocumentThenUpdateProgress(DocumentInfo src, DocumentInfo srcParent, in processDocumentThenUpdateProgress() argument 355 processDocument(src, srcParent, dstDirInfo); in processDocumentThenUpdateProgress() [all …]
|
D | MoveJob.java | 122 for (DocumentInfo src : mResolvedDocs) { in checkSpace() 123 if (!src.authority.equals(stack.getRoot().authority)) { in checkSpace() 124 if (src.isDirectory()) { in checkSpace() 126 size += calculateFileSizesRecursively(getClient(src), src.derivedUri); in checkSpace() 128 Log.w(TAG, "Failed to obtain client for %s" + src.derivedUri + ".", e); in checkSpace() 134 size += src.size; in checkSpace() 142 void processDocument(DocumentInfo src, DocumentInfo srcParent, DocumentInfo dest) in processDocument() argument 149 if (src.authority.equals(dest.authority) && (srcParent != null || mSrcParent != null)) { in processDocument() 150 if ((src.flags & Document.FLAG_SUPPORTS_MOVE) != 0) { in processDocument() 152 if (DocumentsContract.moveDocument(wrap(getClient(src)), src.derivedUri, in processDocument() [all …]
|
/packages/apps/LegacyCamera/jni/ |
D | Android.bp | 6 "feature_stab/src", 7 "feature_stab/src/dbreg", 8 "feature_mos/src", 9 "feature_mos/src/mosaic", 32 "feature_mos/src/mosaic/trsMatrix.cpp", 33 "feature_mos/src/mosaic/AlignFeatures.cpp", 34 "feature_mos/src/mosaic/Blend.cpp", 35 "feature_mos/src/mosaic/Delaunay.cpp", 36 "feature_mos/src/mosaic/ImageUtils.cpp", 37 "feature_mos/src/mosaic/Mosaic.cpp", [all …]
|
/packages/modules/NetworkStack/common/moduleutils/ |
D | Android.bp | 23 "src/android/net/util/SharedLog.java", 24 "src/android/net/shared/InitialConfiguration.java", 25 "src/android/net/shared/Layer2Information.java", 26 "src/android/net/shared/LinkPropertiesParcelableUtil.java", 27 "src/android/net/shared/ParcelableUtil.java", 28 "src/android/net/shared/NetdUtils.java", 29 "src/android/net/shared/NetworkMonitorUtils.java", 30 "src/android/net/shared/ParcelableUtil.java", 31 "src/android/net/shared/PrivateDnsConfig.java", 32 "src/android/net/shared/ProvisioningConfiguration.java", [all …]
|
/packages/apps/DocumentsUI/ |
D | wrap_alpha.py | 21 for src in files: 22 if not src.endswith(".png"): continue 23 src = src[0:-4] variable 25 src_clause = '\n android:src="@drawable/%s"' % (src) 27 alpha = src.endswith("_alpha") 29 src = src[0:-6] variable 30 if "ic_doc" in src or "ic_root" in src or "ic_grid_folder" in src: 37 am = src.endswith("_am") 39 src = src[0:-3] variable 44 with open("res/drawable/%s.xml" % (src), 'w') as xml:
|
/packages/apps/Gallery2/jni/filters/ |
D | redEyeMath.c | 26 int isRed(unsigned char *src, int p) { in isRed() argument 27 int b = src[p + 2]; in isRed() 28 int g = src[p + 1]; in isRed() 29 int r = src[p]; in isRed() 35 void findPossible(unsigned char *src, unsigned char *mask, int iw, in findPossible() argument 45 int b = src[p + 2]; in findPossible() 46 int g = src[p + 1]; in findPossible() 47 int r = src[p]; in findPossible() 56 void findReds(unsigned char *src, unsigned char *mask, int iw, int ih __unused, in findReds() argument 66 mask[x + y * recW] = ((isRed(src, p)) ? 1 : 0); in findReds() [all …]
|
D | geometry.c | 131 void JNIFUNCF(ImageFilterGeometry, nativeApplyFilterFlip, jobject src, jint srcWidth, jint srcHeigh… in JNIFUNCF() argument 137 AndroidBitmap_lockPixels(env, src, (void**) &source); in JNIFUNCF() 141 AndroidBitmap_unlockPixels(env, src); in JNIFUNCF() 144 void JNIFUNCF(ImageFilterGeometry, nativeApplyFilterRotate, jobject src, jint srcWidth, jint srcHei… in JNIFUNCF() argument 147 AndroidBitmap_lockPixels(env, src, (void**) &source); in JNIFUNCF() 151 AndroidBitmap_unlockPixels(env, src); in JNIFUNCF() 154 void JNIFUNCF(ImageFilterGeometry, nativeApplyFilterCrop, jobject src, jint srcWidth, jint srcHeigh… in JNIFUNCF() argument 157 AndroidBitmap_lockPixels(env, src, (void**) &source); in JNIFUNCF() 161 AndroidBitmap_unlockPixels(env, src); in JNIFUNCF() 164 void JNIFUNCF(ImageFilterGeometry, nativeApplyFilterStraighten, jobject src, jint srcWidth __unused, in JNIFUNCF() argument [all …]
|
D | fx.c | 19 __inline__ int interp(unsigned char *src, int p , int *off ,float dr,float dg, float db){ in interp() argument 21 float fr00 = (src[p+off[0]])*(1-dr)+(src[p+off[1]])*dr; in interp() 22 float fr01 = (src[p+off[2]])*(1-dr)+(src[p+off[3]])*dr; in interp() 23 float fr10 = (src[p+off[4]])*(1-dr)+(src[p+off[5]])*dr; in interp() 24 float fr11 = (src[p+off[6]])*(1-dr)+(src[p+off[7]])*dr; in interp()
|
/packages/services/Car/tests/CarDeveloperOptions/ |
D | wrap_alpha.py | 20 for src in files: 21 if not src.endswith(".png"): continue 22 src = src[0:-4] variable 24 src_clause = '\n android:src="@drawable/%s"' % (src) 26 alpha = src.endswith("_alpha") 28 src = src[0:-6] variable 33 am = src.endswith("_am") 35 src = src[0:-3] variable 40 with open("res/drawable/%s.xml" % (src), 'w') as xml:
|
/packages/apps/Settings/ |
D | wrap_alpha.py | 20 for src in files: 21 if not src.endswith(".png"): continue 22 src = src[0:-4] variable 24 src_clause = '\n android:src="@drawable/%s"' % (src) 26 alpha = src.endswith("_alpha") 28 src = src[0:-6] variable 33 am = src.endswith("_am") 35 src = src[0:-3] variable 40 with open("res/drawable/%s.xml" % (src), 'w') as xml:
|
/packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/ |
D | TiledTexture.java | 266 RectF src, float x0, float y0, float x, float y, float scaleX, in mapRect() argument 268 output.set(x + (src.left - x0) * scaleX, in mapRect() 269 y + (src.top - y0) * scaleY, in mapRect() 270 x + (src.right - x0) * scaleX, in mapRect() 271 y + (src.bottom - y0) * scaleY); in mapRect() 278 RectF src = mSrcRect; in drawMixed() local 285 src.set(0, 0, t.contentWidth, t.contentHeight); in drawMixed() 286 src.offset(t.offsetX, t.offsetY); in drawMixed() 287 mapRect(dest, src, 0, 0, x, y, scaleX, scaleY); in drawMixed() 288 src.offset(BORDER_SIZE - t.offsetX, BORDER_SIZE - t.offsetY); in drawMixed() [all …]
|
/packages/inputmethods/LatinIME/ |
D | Android.bp | 18 "java/src/com/android/inputmethod/latin/makedict/**/*.java", 23 "java/src/com/android/inputmethod/latin/BinaryDictionary.java", 24 "java/src/com/android/inputmethod/latin/DicTraverseSession.java", 25 "java/src/com/android/inputmethod/latin/Dictionary.java", 26 "java/src/com/android/inputmethod/latin/NgramContext.java", 27 "java/src/com/android/inputmethod/latin/SuggestedWords.java", 28 "java/src/com/android/inputmethod/latin/settings/SettingsValuesForSuggestion.java", 29 "java/src/com/android/inputmethod/latin/utils/BinaryDictionaryUtils.java", 30 "java/src/com/android/inputmethod/latin/utils/CombinedFormatUtils.java", 31 "java/src/com/android/inputmethod/latin/utils/JniUtils.java", [all …]
|
/packages/apps/QuickSearchBox/benchmarks/src/com/android/quicksearchbox/benchmarks/ |
D | SourceLatency.java | 89 public void checkSourceConcurrent(final String src, final ComponentName componentName, in checkSourceConcurrent() argument 99 long t = checkSourceInternal(src, searchable, prefix); in checkSourceConcurrent() 118 Log.d(TAG, src + "[DONE]: " + length + " queries in " + formatTime(time.getAverage()) in checkSourceConcurrent() 122 public void checkSource(String src, ComponentName componentName, String[] queries) { in checkSource() argument 126 long t = checkSource(src, componentName, queries[i]); in checkSource() 129 Log.d(TAG, src + "[DONE]: " + count + " queries in " + formatTime(time.getAverage()) in checkSource() 133 public long checkSource(String src, ComponentName componentName, String query) { in checkSource() argument 135 return checkSourceInternal(src, searchable, query); in checkSource() 138 private long checkSourceInternal(String src, SearchableInfo searchable, String query) { in checkSourceInternal() argument 146 Log.d(TAG, src + ": null cursor in " + formatTime(elapsed) in checkSourceInternal() [all …]
|
/packages/services/Car/evs/app/ |
D | FormatConvert.cpp | 61 uint8_t* src, in copyNV21toRGB32() argument 72 uint8_t* srcY = src; in copyNV21toRGB32() 73 uint8_t* srcUV = src+offsetUV; in copyNV21toRGB32() 92 uint8_t* src, in copyYV12toRGB32() argument 106 uint8_t* srcY = src; in copyYV12toRGB32() 107 uint8_t* srcU = src+offsetU; in copyYV12toRGB32() 108 uint8_t* srcV = src+offsetV; in copyYV12toRGB32() 126 uint8_t* src, unsigned srcStridePixels, in copyYUYVtoRGB32() argument 129 uint32_t* srcWords = (uint32_t*)src; in copyYUYVtoRGB32() 158 void* src, unsigned srcStridePixels, in copyMatchedInterleavedFormats() argument [all …]
|
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/dicnode/internal/ |
D | dic_node_state.h | 38 DicNodeState &operator=(const DicNodeState& src) { 39 initByCopy(&src); 43 DicNodeState(const DicNodeState& src) in DicNodeState() argument 45 initByCopy(&src); in DicNodeState() 65 AK_FORCE_INLINE void initByCopy(const DicNodeState *const src) { in initByCopy() argument 66 mDicNodeStateInput.initByCopy(&src->mDicNodeStateInput); in initByCopy() 67 mDicNodeStateOutput.initByCopy(&src->mDicNodeStateOutput); in initByCopy() 68 mDicNodeStateScoring.initByCopy(&src->mDicNodeStateScoring); in initByCopy() 72 void init(const DicNodeState *const src, const uint16_t mergedNodeCodePointCount, in init() argument 74 initByCopy(src); in init()
|
/packages/apps/Gallery2/jni_jpegstream/ |
D | Android.bp | 24 local_include_dirs: ["src"], 29 "src/inputstream_wrapper.cpp", 30 "src/jpegstream.cpp", 31 "src/jerr_hook.cpp", 32 "src/jpeg_hook.cpp", 33 "src/jpeg_writer.cpp", 34 "src/jpeg_reader.cpp", 35 "src/outputstream_wrapper.cpp", 36 "src/stream_wrapper.cpp",
|
/packages/inputmethods/LatinIME/native/dicttoolkit/ |
D | Android.bp | 41 local_include_dirs: ["src"], 43 include_dirs: ["packages/inputmethods/LatinIME/native/jni/src"], 57 "src/command_executors/diff_executor.cpp", 58 "src/command_executors/header_executor.cpp", 59 "src/command_executors/help_executor.cpp", 60 "src/command_executors/info_executor.cpp", 61 "src/command_executors/makedict_executor.cpp", 62 "src/offdevice_intermediate_dict/offdevice_intermediate_dict.cpp", 63 "src/utils/arguments_parser.cpp", 64 "src/utils/command_utils.cpp", [all …]
|
/packages/apps/Launcher3/ |
D | Android.mk | 85 $(call all-java-files-under, src) \ 117 $(call all-java-files-under, src) \ 119 $(call all-java-files-under, go/src) 163 $(call all-java-files-under, src) \ 164 $(call all-java-files-under, quickstep/src) \ 165 $(call all-java-files-under, quickstep/recents_ui_overrides/src) \ 231 $(call all-java-files-under, src) \ 232 $(call all-java-files-under, quickstep/src) \ 233 $(call all-java-files-under, quickstep/recents_ui_overrides/src) \ 234 $(call all-java-files-under, go/src) [all …]
|
/packages/modules/DnsResolver/tests/ |
D | tun_forwarder.cpp | 71 if (inet_pton(AF_INET, addrs[0].c_str(), &pair.src) != 1 || in makePair() 79 return std::tie(src.s_addr, dst.s_addr) == std::tie(o.src.s_addr, o.dst.s_addr); in operator ==() 83 return std::tie(src.s_addr, dst.s_addr) < std::tie(o.src.s_addr, o.dst.s_addr); in operator <() 89 if (inet_pton(AF_INET6, addrs[0].c_str(), &pair.src) != 1 || in makePair() 97 return src == o.src && dst == o.dst; in operator ==() 101 if (src != o.src) return src < o.src; in operator <() 333 if (ipHeader->saddr == static_cast<int>(from.src.s_addr) && in translateIpv4Packet() 335 ipHeader->saddr = to.src.s_addr; in translateIpv4Packet() 368 if (ipv6Header->ip6_src == from.src && ipv6Header->ip6_dst == from.dst) { in translateIpv6Packet() 369 ipv6Header->ip6_src = to.src; in translateIpv6Packet()
|