Searched refs:kind (Results 1 - 25 of 121) sorted by relevance

12345

/frameworks/compile/mclinker/include/mcld/Script/
H A DExprToken.h30 Kind kind() const { return m_Kind; } function in class:mcld::ExprToken
H A DStrToken.h38 Kind kind() const { return m_Kind; } function in class:mcld::StrToken
43 return pToken->kind() == StrToken::String;
H A DInputToken.h36 return pToken->kind() == StrToken::Input;
H A DWildcardPattern.h50 return pToken->kind() == StrToken::Wildcard;
/frameworks/base/packages/StatementService/src/com/android/statementservice/retriever/
H A DRelation.java24 * An immutable value type representing a statement relation with "kind" and "detail".
43 private Relation(String kind, String detail) { argument
44 mKind = kind;
49 * Returns the relation's kind.
65 * Creates a new Relation object for the specified {@code kind} and {@code detail}.
67 * @throws AssociationServiceException if {@code kind} or {@code detail} is not well formatted.
69 public static Relation create(@NonNull String kind, @NonNull String detail) argument
71 if (!KIND_PATTERN.matcher(kind).matches() || !DETAIL_PATTERN.matcher(detail).matches()) {
74 return new Relation(kind, detail);
91 * Returns true if {@code relation} has the same kind an
[all...]
/frameworks/compile/mclinker/lib/LD/
H A DLDSection.cpp88 assert(LDFileFormat::Relocation != kind() && LDFileFormat::EhFrame != kind());
93 assert(LDFileFormat::Relocation == kind());
98 assert(LDFileFormat::EhFrame == kind());
103 assert(LDFileFormat::DebugString == kind());
H A DELFReaderIf.cpp55 LDFileFormat::Ignore == pInput.context()->getSection(pShndx)->kind())
113 if (sect_hdr->kind() == LDFileFormat::Ignore)
116 if (sect_hdr->kind() == LDFileFormat::Group)
H A DGarbageCollection.cpp61 /// shouldProcessGC - check if the section kind is handled in GC
63 if (pSection.kind() == LDFileFormat::TEXT ||
64 pSection.kind() == LDFileFormat::DATA ||
65 pSection.kind() == LDFileFormat::BSS ||
66 pSection.kind() == LDFileFormat::GCCExceptTable)
132 // 1. its section kind is changed to Ignore. (The target section is a
138 if ((LDFileFormat::Ignore == reloc_sect->kind()) ||
351 if (LDFileFormat::Ignore == reloc_sect->getLink()->kind())
/frameworks/data-binding/compilerCommon/src/main/java/android/databinding/tool/util/
H A DL.java34 public void printMessage(Kind kind, String message, Element element) {
35 if (kind == Kind.ERROR) {
117 private static void printMessage(Element element, Diagnostic.Kind kind, String message) { argument
118 if (kind == Kind.WARNING) {
122 sClient.printMessage(kind, ex.createHumanReadableMessage(), element);
126 sClient.printMessage(kind, message, element);
127 if (kind == Diagnostic.Kind.ERROR) {
137 void printMessage(Diagnostic.Kind kind, String message, Element element); argument
/frameworks/support/room/compiler/src/main/kotlin/android/arch/persistence/room/log/
H A DRLog.kt74 fun printMessage(kind: Diagnostic.Kind, msg: String, element: Element? = null)
78 override fun printMessage(kind: Diagnostic.Kind, msg: String, element: Element?) {
79 processingEnv.messager.printMessage(kind, msg, element)
85 override fun printMessage(kind: Diagnostic.Kind, msg: String, element: Element?) {
86 messages.getOrPut(kind, {
95 val kind = pair.key
97 env.messager.printMessage(kind, it.first, it.second)
/frameworks/base/core/java/android/text/
H A DAlteredCharSequence.java66 public <T> T[] getSpans(int start, int end, Class<T> kind) { argument
67 return mSpanned.getSpans(start, end, kind);
82 public int nextSpanTransition(int start, int end, Class kind) { argument
83 return mSpanned.nextSpanTransition(start, end, kind);
H A DSpannableStringInternal.java291 public <T> T[] getSpans(int queryStart, int queryEnd, Class<T> kind) { argument
321 if (kind != null && kind != Object.class && !kind.isInstance(spans[i])) {
330 ret = (Object[]) Array.newInstance(kind, spanCount - i + 1);
356 return (T[]) ArrayUtils.emptyArray(kind);
359 ret = (Object[]) Array.newInstance(kind, 1);
367 Object[] nret = (Object[]) Array.newInstance(kind, count);
372 public int nextSpanTransition(int start, int limit, Class kind) { argument
377 if (kind
[all...]
/frameworks/native/opengl/libs/EGL/
H A DLoader.cpp320 static void* load_system_driver(const char* kind) { argument
324 static std::string find(const char* kind) { argument
338 result = std::string("/vendor/lib64/egl/lib") + kind + "_emulation.so";
340 result = std::string("/vendor/lib/egl/lib") + kind + "_emulation.so";
348 std::string pattern = std::string("lib") + kind;
427 std::string absolutePath = MatchFile::find(kind);
456 static void* load_updated_driver(const char* kind, android_namespace_t* ns) { argument
466 std::string name = std::string("lib") + kind + "_" + prop + ".so";
476 void *Loader::load_driver(const char* kind, argument
485 dso = load_updated_driver(kind, n
[all...]
H A DLoader.h57 void *load_driver(const char* kind, egl_connection_t* cnx, uint32_t mask);
/frameworks/av/media/libaaudio/examples/loopback/jni/
H A DAndroid.mk10 # NDK recommends using this kind of relative path instead of an absolute path.
/frameworks/base/core/java/com/android/internal/util/
H A DArrayUtils.java111 public static <T> T[] emptyArray(Class<T> kind) { argument
112 if (kind == Object.class) {
116 int bucket = (kind.hashCode() & 0x7FFFFFFF) % CACHE_SIZE;
119 if (cache == null || cache.getClass().getComponentType() != kind) {
120 cache = Array.newInstance(kind, 0);
123 // Log.e("cache", "new empty " + kind.getName() + " at " + bucket);
292 public static @NonNull <T> T[] appendElement(Class<T> kind, @Nullable T[] array, T element) { argument
293 return appendElement(kind, array, element, false);
300 public static @NonNull <T> T[] appendElement(Class<T> kind, @Nullable T[] array, T element, argument
307 result = (T[])Array.newInstance(kind, en
321 removeElement(Class<T> kind, @Nullable T[] array, T element) argument
[all...]
/frameworks/compile/mclinker/include/mcld/MC/
H A DZOption.h53 Kind kind() const { return m_Kind; } function in class:mcld::ZOption
/frameworks/base/core/java/android/text/method/
H A DDigitsKeyListener.java123 final int kind = (mSign ? SIGN : 0) | (mDecimal ? DECIMAL : 0);
124 mAccepted = COMPATIBILITY_CHARACTERS[kind];
129 final int kind = (mSign ? SIGN : 0) | (mDecimal ? DECIMAL : 0);
130 mNeedsAdvancedInput = !ArrayUtils.containsAll(COMPATIBILITY_CHARACTERS[kind], mAccepted);
266 final int kind = (sign ? SIGN : 0) | (decimal ? DECIMAL : 0);
269 if (cachedValue != null && cachedValue[kind] != null) {
270 return cachedValue[kind];
276 return cachedValue[kind] = new DigitsKeyListener(locale, sign, decimal);
H A DTextKeyListener.java193 int kind = kmap.getKeyboardType();
195 if (kind == KeyCharacterMap.ALPHA) {
197 } else if (kind == KeyCharacterMap.NUMERIC) {
199 } else if (kind == KeyCharacterMap.FULL
200 || kind == KeyCharacterMap.SPECIAL_FUNCTION) {
/frameworks/support/room/compiler/src/main/kotlin/android/arch/persistence/room/ext/
H A Dtype_mirror_ext.kt27 return when(this.kind) {
/frameworks/support/lifecycle/compiler/src/main/kotlin/android/arch/lifecycle/
H A Dinput_collector.kt38 if (elem.kind != ElementKind.METHOD) {
103 if (classElement.kind != ElementKind.CLASS && classElement.kind != ElementKind.INTERFACE) {
/frameworks/base/core/java/android/provider/
H A DMediaStore.java685 * @param kind could be MINI_KIND or MICRO_KIND
689 * @return Bitmap bitmap of specified thumbnail kind
691 static Bitmap getThumbnail(ContentResolver cr, long origId, long groupId, int kind, argument
694 // Log.v(TAG, "getThumbnail: origId="+origId+", kind="+kind+", isVideo="+isVideo);
703 if (kind == MICRO_KIND) {
716 } else if (kind == MINI_KIND) {
737 if (kind == MICRO_KIND) {
750 } else if (kind == MINI_KIND) {
755 throw new IllegalArgumentException("Unsupported kind
921 StoreThumbnail( ContentResolver cr, Bitmap source, long id, float width, float height, int kind) argument
1069 queryMiniThumbnails(ContentResolver cr, Uri uri, int kind, String[] projection) argument
1074 queryMiniThumbnail(ContentResolver cr, long origId, int kind, String[] projection) argument
1105 getThumbnail(ContentResolver cr, long origId, int kind, BitmapFactory.Options options) argument
1137 getThumbnail(ContentResolver cr, long origId, long groupId, int kind, BitmapFactory.Options options) argument
2163 getThumbnail(ContentResolver cr, long origId, int kind, BitmapFactory.Options options) argument
2182 getThumbnail(ContentResolver cr, long origId, long groupId, int kind, BitmapFactory.Options options) argument
[all...]
/frameworks/av/media/libaaudio/examples/input_monitor/jni/
H A DAndroid.mk11 # NDK recommends using this kind of relative path instead of an absolute path.
/frameworks/av/media/libaaudio/examples/write_sine/jni/
H A DAndroid.mk11 # NDK recommends using this kind of relative path instead of an absolute path.
/frameworks/support/room/compiler/src/main/kotlin/android/arch/persistence/room/processor/
H A DDaoProcessor.kt51 context.checker.check(element.hasAnyOf(ABSTRACT) || element.kind == ElementKind.INTERFACE,
58 it.hasAnyOf(ABSTRACT) && it.kind == ElementKind.METHOD
115 && it.kind == ElementKind.METHOD
125 .filter { it.kind == ElementKind.CONSTRUCTOR }

Completed in 627 milliseconds

12345