/frameworks/base/core/java/android/text/method/ |
D | DigitsKeyListener.java | 84 int kind = (sign ? SIGN : 0) | (decimal ? DECIMAL : 0); in DigitsKeyListener() local 85 mAccepted = CHARACTERS[kind]; in DigitsKeyListener() 101 int kind = (sign ? SIGN : 0) | (decimal ? DECIMAL : 0); in getInstance() local 103 if (sInstance[kind] != null) in getInstance() 104 return sInstance[kind]; in getInstance() 106 sInstance[kind] = new DigitsKeyListener(sign, decimal); in getInstance() 107 return sInstance[kind]; in getInstance()
|
D | TextKeyListener.java | 188 int kind = kmap.getKeyboardType(); in getKeyListener() local 190 if (kind == KeyCharacterMap.ALPHA) { in getKeyListener() 192 } else if (kind == KeyCharacterMap.NUMERIC) { in getKeyListener() 194 } else if (kind == KeyCharacterMap.FULL in getKeyListener() 195 || kind == KeyCharacterMap.SPECIAL_FUNCTION) { in getKeyListener()
|
/frameworks/base/core/java/com/android/internal/util/ |
D | ArrayUtils.java | 105 public static <T> T[] emptyArray(Class<T> kind) { in emptyArray() argument 106 if (kind == Object.class) { in emptyArray() 110 int bucket = (kind.hashCode() & 0x7FFFFFFF) % CACHE_SIZE; in emptyArray() 113 if (cache == null || cache.getClass().getComponentType() != kind) { in emptyArray() 114 cache = Array.newInstance(kind, 0); in emptyArray() 204 public static <T> T[] appendElement(Class<T> kind, T[] array, T element) { in appendElement() argument 209 result = (T[])Array.newInstance(kind, end + 1); in appendElement() 213 result = (T[])Array.newInstance(kind, 1); in appendElement() 230 public static <T> T[] removeElement(Class<T> kind, T[] array, T element) { in removeElement() argument 238 T[] result = (T[])Array.newInstance(kind, length - 1); in removeElement()
|
/frameworks/compile/mclinker/lib/LD/ |
D | LDSection.cpp | 94 assert(LDFileFormat::Relocation != kind() && LDFileFormat::EhFrame != kind()); in hasSectionData() 100 assert(LDFileFormat::Relocation == kind()); in hasRelocData() 106 assert(LDFileFormat::EhFrame == kind()); in hasEhFrame()
|
D | GarbageCollection.cpp | 67 if (pSection.kind() == LDFileFormat::TEXT || in mayProcessGC() 68 pSection.kind() == LDFileFormat::DATA || in mayProcessGC() 69 pSection.kind() == LDFileFormat::BSS || in mayProcessGC() 70 pSection.kind() == LDFileFormat::GCCExceptTable) in mayProcessGC() 149 if ((LDFileFormat::Ignore == reloc_sect->kind()) || in setUpReachedSections() 361 if (LDFileFormat::Ignore == reloc_sect->getLink()->kind()) in stripSections()
|
D | ELFReaderIf.cpp | 55 LDFileFormat::Ignore == pInput.context()->getSection(pShndx)->kind()) in getSymDesc() 118 if (LDFileFormat::Ignore == sect_hdr->kind()) in getSymFragmentRef() 121 if (LDFileFormat::Group == sect_hdr->kind()) in getSymFragmentRef()
|
D | EhFrameReader.cpp | 61 result.kind = Terminator; in scan() 86 result.kind = CIE; in scan() 88 result.kind = FDE; in scan() 145 if (!transition[cur_state][token.kind](pEhFrame, entry, token)) { in read() 160 cur_state = autometa[cur_state][token.kind]; in read()
|
D | Diagnostic.cpp | 124 DiagnosticEngine::ArgumentKind kind = getArgKind(arg_no); in format() local 125 switch (kind) { in format()
|
/frameworks/base/core/java/android/text/ |
D | SpannableStringInternal.java | 207 public <T> T[] getSpans(int queryStart, int queryEnd, Class<T> kind) { in getSpans() argument 217 if (kind != null && !kind.isInstance(spans[i])) { in getSpans() 245 ret = (Object[]) Array.newInstance(kind, spanCount - i + 1); in getSpans() 271 return (T[]) ArrayUtils.emptyArray(kind); in getSpans() 274 ret = (Object[]) Array.newInstance(kind, 1); in getSpans() 282 Object[] nret = (Object[]) Array.newInstance(kind, count); in getSpans() 287 public int nextSpanTransition(int start, int limit, Class kind) { in nextSpanTransition() argument 292 if (kind == null) { in nextSpanTransition() 293 kind = Object.class; in nextSpanTransition() 300 if (st > start && st < limit && kind.isInstance(spans[i])) in nextSpanTransition() [all …]
|
D | AlteredCharSequence.java | 66 public <T> T[] getSpans(int start, int end, Class<T> kind) { in getSpans() argument 67 return mSpanned.getSpans(start, end, kind); in getSpans() 82 public int nextSpanTransition(int start, int end, Class kind) { in nextSpanTransition() argument 83 return mSpanned.nextSpanTransition(start, end, kind); in nextSpanTransition()
|
D | SpannableStringBuilder.java | 772 public <T> T[] getSpans(int queryStart, int queryEnd, Class<T> kind) { in getSpans() argument 773 if (kind == null) return ArrayUtils.emptyArray(kind); in getSpans() 812 if (!kind.isInstance(spans[i])) continue; in getSpans() 821 ret = (T[]) Array.newInstance(kind, spanCount - i + 1); in getSpans() 849 return ArrayUtils.emptyArray(kind); in getSpans() 853 ret = (T[]) Array.newInstance(kind, 1); in getSpans() 862 T[] nret = (T[]) Array.newInstance(kind, count); in getSpans() 872 public int nextSpanTransition(int start, int limit, Class kind) { in nextSpanTransition() argument 880 if (kind == null) { in nextSpanTransition() 881 kind = Object.class; in nextSpanTransition() [all …]
|
/frameworks/base/core/java/android/provider/ |
D | MediaStore.java | 638 static Bitmap getThumbnail(ContentResolver cr, long origId, long groupId, int kind, in getThumbnail() argument 651 if (kind == MICRO_KIND) { in getThumbnail() 664 } else if (kind == MINI_KIND) { in getThumbnail() 685 if (kind == MICRO_KIND) { in getThumbnail() 698 } else if (kind == MINI_KIND) { in getThumbnail() 703 throw new IllegalArgumentException("Unsupported kind: " + kind); in getThumbnail() 709 + ", kind=" + kind + ", isVideo="+isVideo); in getThumbnail() 722 bitmap = ThumbnailUtils.createVideoThumbnail(filePath, kind); in getThumbnail() 724 bitmap = ThumbnailUtils.createImageThumbnail(filePath, kind); in getThumbnail() 874 int kind) { in StoreThumbnail() argument [all …]
|
/frameworks/base/core/tests/coretests/src/android/text/ |
D | TextUtilsTest.java | 279 TextUtils.TruncateAt kind = null; in testEllipsize() local 283 kind = TextUtils.TruncateAt.START; in testEllipsize() 287 kind = TextUtils.TruncateAt.END; in testEllipsize() 291 kind = TextUtils.TruncateAt.MIDDLE; in testEllipsize() 295 String out1 = TextUtils.ellipsize(s1, p, i, kind).toString(); in testEllipsize() 296 String out2 = TextUtils.ellipsize(s2, p, i, kind).toString(); in testEllipsize() 297 String out3 = TextUtils.ellipsize(s3, p, i, kind).toString(); in testEllipsize() 299 String keep1 = TextUtils.ellipsize(s1, p, i, kind, true, null).toString(); in testEllipsize() 300 String keep2 = TextUtils.ellipsize(s2, p, i, kind, true, null).toString(); in testEllipsize() 301 String keep3 = TextUtils.ellipsize(s3, p, i, kind, true, null).toString(); in testEllipsize()
|
/frameworks/compile/mclinker/include/mcld/Script/ |
D | StrToken.h | 43 Kind kind() const { return m_Kind; } in kind() function 49 return pToken->kind() == StrToken::String; in classof()
|
D | ExprToken.h | 38 Kind kind() const { return m_Kind; } in kind() function
|
D | InputToken.h | 43 return pToken->kind() == StrToken::Input; in classof()
|
/frameworks/wilhelm/src/ |
D | ThreadPool.c | 37 ClosureKind kind = closure.mKind; in ThreadPool_start() local 41 switch (kind) { in ThreadPool_start() 67 SL_LOGE("Unexpected callback kind %d", kind); in ThreadPool_start() 250 SLresult ThreadPool_add(ThreadPool *tp, ClosureKind kind, ClosureHandler_generic handler, in ThreadPool_add() argument 259 closure->mKind = kind; in ThreadPool_add() 260 switch(kind) { in ThreadPool_add() 271 SL_LOGE("ThreadPool_add() invalid closure kind %d", kind); in ThreadPool_add()
|
/frameworks/base/media/java/android/media/ |
D | ThumbnailUtils.java | 84 public static Bitmap createImageThumbnail(String filePath, int kind) { in createImageThumbnail() argument 85 boolean wantMini = (kind == Images.Thumbnails.MINI_KIND); in createImageThumbnail() 136 if (kind == Images.Thumbnails.MICRO_KIND) { in createImageThumbnail() 152 public static Bitmap createVideoThumbnail(String filePath, int kind) { in createVideoThumbnail() argument 172 if (kind == Images.Thumbnails.MINI_KIND) { in createVideoThumbnail() 183 } else if (kind == Images.Thumbnails.MICRO_KIND) { in createVideoThumbnail()
|
D | MediaCodecList.java | 158 public MediaCodecList(int kind) { in MediaCodecList() argument 160 if (kind == REGULAR_CODECS) { in MediaCodecList()
|
/frameworks/native/opengl/libs/EGL/ |
D | Loader.cpp | 271 void *Loader::load_driver(const char* kind, in load_driver() argument 276 static String8 find(const char* kind) { in load_driver() argument 279 pattern.appendFormat("lib%s", kind); in load_driver() 374 String8 absolutePath = MatchFile::find(kind); in load_driver()
|
D | Loader.h | 65 void *load_driver(const char* kind, egl_connection_t* cnx, uint32_t mask);
|
/frameworks/compile/mclinker/lib/Target/ |
D | GNULDBackend.cpp | 237 switch (section->kind()) { in initStandardSymbols() 1370 if (LDFileFormat::Null == pSectHdr.kind()) in getSectionOrder() 1383 switch (pSectHdr.kind()) { in getSectionOrder() 1850 LDFileFormat::Null != sect->kind()) in createProgramHdrs() 1855 (*out)->getSection()->kind() != LDFileFormat::Null) in createProgramHdrs() 1860 if (LDFileFormat::Null == sect->kind()) { in createProgramHdrs() 1869 else if (sect->kind() == LDFileFormat::BSS && in createProgramHdrs() 1883 else if (LDFileFormat::Null == (*prev)->getSection()->kind() && in createProgramHdrs() 1994 (*seg)->front()->kind() == LDFileFormat::Null && in setupProgramHdrs() 2000 (*seg)->front()->kind() == LDFileFormat::Null) { in setupProgramHdrs() [all …]
|
/frameworks/compile/mclinker/lib/Script/ |
D | Assignment.cpp | 112 if ((*it)->kind() == ExprToken::OPERAND && in activate() 148 if ((*it)->kind() == ExprToken::OPERAND && in activate()
|
/frameworks/compile/mclinker/lib/Object/ |
D | ObjectLinker.cpp | 310 switch ((*sect)->kind()) { in mergeSections() 324 if ((*sect)->getLink()->kind() == LDFileFormat::Ignore || in mergeSections() 325 (*sect)->getLink()->kind() == LDFileFormat::Folded) in mergeSections() 426 pInfo.outSymbol()->fragRef()->frag()->getParent()->getSection().kind()) in addSymbolToOutput() 557 if (LDFileFormat::Ignore == (*rs)->kind() || !(*rs)->hasRelocData()) in scanRelocations() 754 if (LDFileFormat::Ignore == (*rs)->kind() || !(*rs)->hasRelocData()) in relocation() 821 if (LDFileFormat::Ignore == (*rs)->kind() || !(*rs)->hasRelocData()) in normalSyncRelocationResult() 867 if (LDFileFormat::Relocation != (*sectIter)->kind()) in partialSyncRelocationResult()
|
/frameworks/compile/mclinker/include/mcld/MC/ |
D | ZOption.h | 50 Kind kind() const { return m_Kind; } in kind() function
|