/packages/apps/Gallery2/tests/src/com/android/gallery3d/exif/ |
D | ExifTagTest.java | 41 for (ExifTag tag: sTestTags) { in testValueType() 42 int count = tag.getComponentCount(); in testValueType() 58 checkTypeByte(tag, byteBuf); in testValueType() 59 checkTypeAscii(tag, strBuf); in testValueType() 60 checkTypeUnsignedShort(tag, intBuf); in testValueType() 61 checkTypeUnsignedLong(tag, intBuf, longBuf); in testValueType() 62 checkTypeLong(tag, intBuf); in testValueType() 63 checkTypeRational(tag, rationalBuf); in testValueType() 64 checkTypeUnsignedRational(tag, rationalBuf); in testValueType() 68 private void checkTypeByte(ExifTag tag, byte[] buf) { in checkTypeByte() argument [all …]
|
D | ExifParserTest.java | 62 ExifTag tag = parser.getTag(); in testParse() local 63 if (!tag.hasValue()) { in testParse() 64 parser.registerForTagValue(tag); in testParse() 66 checkTag(tag); in testParse() 70 tag = parser.getTag(); in testParse() 71 if (tag.getDataType() == ExifTag.TYPE_UNDEFINED) { in testParse() 72 byte[] buf = new byte[tag.getComponentCount()]; in testParse() 74 tag.setValue(buf); in testParse() 76 checkTag(tag); in testParse() 83 private void checkTag(ExifTag tag) { in checkTag() argument [all …]
|
/packages/apps/DeskClock/src/com/android/deskclock/widget/swipeablelistview/ |
D | LogUtils.java | 83 protected static boolean isDebugLoggingEnabled(String tag) { in isDebugLoggingEnabled() argument 90 return Log.isLoggable(tag, Log.DEBUG); in isDebugLoggingEnabled() 96 public static boolean isLoggable(String tag, int level) { in isLoggable() argument 100 return Log.isLoggable(tag, level); in isLoggable() 113 public static int v(String tag, String format, Object... args) { in v() argument 114 if (isLoggable(tag, VERBOSE)) { in v() 115 return Log.v(tag, String.format(format, args)); in v() 131 public static int v(String tag, Throwable tr, String format, Object... args) { in v() argument 132 if (isLoggable(tag, VERBOSE)) { in v() 133 return Log.v(tag, String.format(format, args), tr); in v() [all …]
|
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
D | Log.java | 20 public static int v(String tag, String msg) { in v() argument 21 return android.util.Log.v(tag, msg); in v() 23 public static int v(String tag, String msg, Throwable tr) { in v() argument 24 return android.util.Log.v(tag, msg, tr); in v() 26 public static int d(String tag, String msg) { in d() argument 27 return android.util.Log.d(tag, msg); in d() 29 public static int d(String tag, String msg, Throwable tr) { in d() argument 30 return android.util.Log.d(tag, msg, tr); in d() 32 public static int i(String tag, String msg) { in i() argument 33 return android.util.Log.i(tag, msg); in i() [all …]
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
D | Log.java | 20 public static int v(String tag, String msg) { in v() argument 21 return android.util.Log.v(tag, msg); in v() 23 public static int v(String tag, String msg, Throwable tr) { in v() argument 24 return android.util.Log.v(tag, msg, tr); in v() 26 public static int d(String tag, String msg) { in d() argument 27 return android.util.Log.d(tag, msg); in d() 29 public static int d(String tag, String msg, Throwable tr) { in d() argument 30 return android.util.Log.d(tag, msg, tr); in d() 32 public static int i(String tag, String msg) { in i() argument 33 return android.util.Log.i(tag, msg); in i() [all …]
|
/packages/apps/Gallery2/src/com/android/gallery3d/util/ |
D | Log.java | 20 public static int v(String tag, String msg) { in v() argument 21 return android.util.Log.v(tag, msg); in v() 23 public static int v(String tag, String msg, Throwable tr) { in v() argument 24 return android.util.Log.v(tag, msg, tr); in v() 26 public static int d(String tag, String msg) { in d() argument 27 return android.util.Log.d(tag, msg); in d() 29 public static int d(String tag, String msg, Throwable tr) { in d() argument 30 return android.util.Log.d(tag, msg, tr); in d() 32 public static int i(String tag, String msg) { in i() argument 33 return android.util.Log.i(tag, msg); in i() [all …]
|
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
D | Log.java | 20 public static int v(String tag, String msg) { in v() argument 21 return android.util.Log.v(tag, msg); in v() 23 public static int v(String tag, String msg, Throwable tr) { in v() argument 24 return android.util.Log.v(tag, msg, tr); in v() 26 public static int d(String tag, String msg) { in d() argument 27 return android.util.Log.d(tag, msg); in d() 29 public static int d(String tag, String msg, Throwable tr) { in d() argument 30 return android.util.Log.d(tag, msg, tr); in d() 32 public static int i(String tag, String msg) { in i() argument 33 return android.util.Log.i(tag, msg); in i() [all …]
|
/packages/apps/Email/src/com/android/mail/utils/ |
D | LogUtils.java | 168 public static boolean isLoggable(String tag, int level) { in isLoggable() argument 172 return Log.isLoggable(tag, level); in isLoggable() 185 public static int v(String tag, String format, Object... args) { in v() argument 186 if (isLoggable(tag, VERBOSE)) { in v() 187 return Log.v(tag, String.format(format, args)); in v() 203 public static int v(String tag, Throwable tr, String format, Object... args) { in v() argument 204 if (isLoggable(tag, VERBOSE)) { in v() 205 return Log.v(tag, String.format(format, args), tr); in v() 220 public static int d(String tag, String format, Object... args) { in d() argument 221 if (isLoggable(tag, DEBUG)) { in d() [all …]
|
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/exif/ |
D | ExifParser.java | 266 mTag = tagEvent.tag; in next() 431 public void registerForTagValue(ExifTag tag) { in registerForTagValue() argument 432 mCorrespondingEvent.put(tag.getOffset(), new ExifTagEvent(tag, true)); in registerForTagValue() 458 ExifTag tag = new ExifTag(tagId, dataFormat, (int) numOfComp, mIfdType); in readTag() local 459 int dataSize = tag.getDataSize(); in readTag() 466 tag.setOffset((int) offset); in readTag() 468 readFullTagValue(tag); in readTag() 471 return tag; in readTag() 478 private void checkOffsetOrImageTag(ExifTag tag) { in checkOffsetOrImageTag() argument 479 switch (tag.getTagId()) { in checkOffsetOrImageTag() [all …]
|
D | ExifReader.java | 43 ExifTag tag = parser.getTag(); in read() local 44 if (!tag.hasValue()) { in read() 45 parser.registerForTagValue(tag); in read() 47 exifData.getIfdData(tag.getIfd()).setTag(tag); in read() 51 tag = parser.getTag(); in read() 52 if (tag.getDataType() == ExifTag.TYPE_UNDEFINED) { in read() 53 byte[] buf = new byte[tag.getComponentCount()]; in read() 55 tag.setValue(buf); in read() 57 exifData.getIfdData(tag.getIfd()).setTag(tag); in read()
|
D | ExifOutputStream.java | 103 short tag = mBuffer.getShort(); in write() local 104 if (tag == JpegHeader.EOI) { in write() 193 for (ExifTag tag: tags) { in writeIfd() 194 dataOutputStream.writeShort(tag.getTagId()); in writeIfd() 195 dataOutputStream.writeShort(tag.getDataType()); in writeIfd() 196 dataOutputStream.writeInt(tag.getComponentCount()); in writeIfd() 197 if (tag.getDataSize() > 4) { in writeIfd() 198 dataOutputStream.writeInt(tag.getOffset()); in writeIfd() 200 writeTagValue(tag, dataOutputStream); in writeIfd() 201 for (int i = 0, n = 4 - tag.getDataSize(); i < n; i++) { in writeIfd() [all …]
|
D | IfdData.java | 77 public void setTag(ExifTag tag) { in setTag() argument 78 mExifTags.put(tag.getTagId(), tag); in setTag() local 112 for (ExifTag tag: tags) { in equals() 113 if (ExifTag.isOffsetTag(tag.getTagId())) continue; in equals() 114 ExifTag tag2 = mExifTags.get(tag.getTagId()); in equals() 115 if (!tag.equals(tag2)) return false; in equals()
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
D | ContactsTransaction.java | 102 public void startTransactionForDb(SQLiteDatabase db, String tag, in startTransactionForDb() argument 106 " tag=" + tag + " listener=" + listener + in startTransactionForDb() 107 " startTransaction=" + !hasDbInTransaction(tag), in startTransactionForDb() 110 if (!hasDbInTransaction(tag)) { in startTransactionForDb() 114 mDatabaseTagMap.put(tag, db); in startTransactionForDb() 126 public boolean hasDbInTransaction(String tag) { in hasDbInTransaction() argument 127 return mDatabaseTagMap.containsKey(tag); in hasDbInTransaction() 136 public SQLiteDatabase getDbForTag(String tag) { in getDbForTag() argument 137 return mDatabaseTagMap.get(tag); in getDbForTag() 148 public SQLiteDatabase removeDbForTag(String tag) { in removeDbForTag() argument [all …]
|
/packages/apps/Email/emailcommon/src/com/android/emailcommon/mail/ |
D | PackedString.java | 58 public String get(String tag) { in get() argument 62 return mExploded.get(tag); in get() 96 String tag; in explode() local 102 tag = Integer.toString(map.size()); in explode() 105 tag = packed.substring(tagEndIndex + 1, elementEndIndex); in explode() 109 map.put(tag, value); in explode() 142 public void put(String tag, String value) { in put() argument 144 mMap.remove(tag); in put() 146 mMap.put(tag, value); in put() 155 public String get(String tag) { in get() argument [all …]
|
/packages/apps/Email/tests/src/com/android/email/ |
D | LegacyConversionsTests.java | 417 private void checkAttachment(String tag, Part expected, EmailContent.Attachment actual, in checkAttachment() argument 421 assertEquals(tag, expected.getMimeType(), actual.mMimeType); in checkAttachment() 426 assertEquals(tag, expectedSize, actual.mSize); in checkAttachment() 427 assertEquals(tag, expected.getContentId(), actual.mContentId); in checkAttachment() 431 assertEquals(tag, expectedName, actual.mFileName); in checkAttachment() 434 assertNull(tag, actual.mContentUri); in checkAttachment() 436 assertTrue(tag, 0 != actual.mMessageKey); in checkAttachment() 444 assertEquals(tag, expectedPartId, actual.mLocation); in checkAttachment() 445 assertEquals(tag, "B", actual.mEncoding); in checkAttachment() 446 assertEquals(tag, accountKey, actual.mAccountKey); in checkAttachment() [all …]
|
/packages/apps/Tag/src/com/android/apps/tag/message/ |
D | NdefMessageParser.java | 17 package com.android.apps.tag.message; 19 import com.android.apps.tag.record.ImageRecord; 20 import com.android.apps.tag.record.MimeRecord; 21 import com.android.apps.tag.record.ParsedNdefRecord; 22 import com.android.apps.tag.record.SmartPoster; 23 import com.android.apps.tag.record.TextRecord; 24 import com.android.apps.tag.record.UnknownRecord; 25 import com.android.apps.tag.record.UriRecord; 26 import com.android.apps.tag.record.VCardRecord;
|
/packages/apps/Exchange/exchange2/src/com/android/exchange/adapter/ |
D | Serializer.java | 110 int tag = mPendingTag & Tags.PAGE_MASK; in checkPendingTag() local 117 mOutput.write(degenerated ? tag : tag | Wbxml.WITH_CONTENT); in checkPendingTag() 119 String name = Tags.pages[page][tag - 5]; in checkPendingTag() 126 public Serializer start(int tag) throws IOException { in start() argument 128 mPendingTag = tag; in start() 146 public Serializer tag(int t) throws IOException { in tag() method in Serializer 152 public Serializer data(int tag, String value) throws IOException { in data() argument 154 Log.e(TAG, "Writing null data for tag: " + tag); in data() 156 start(tag); in data() 226 void writeStringValue (ContentValues cv, String key, int tag) throws IOException { in writeStringValue() argument [all …]
|
/packages/apps/Nfc/src/com/android/nfc/ |
D | NfcService.java | 252 public void onRemoteEndpointDiscovered(TagEndpoint tag) { in onRemoteEndpointDiscovered() argument 253 sendMessage(NfcService.MSG_NDEF_TAG, tag); in onRemoteEndpointDiscovered() 899 public void dispatch(Tag tag) throws RemoteException { in dispatch() argument 901 mNfcDispatcher.dispatchTag(tag); in dispatch() 920 TagEndpoint tag = null; in close() local 927 tag = (TagEndpoint) findObject(nativeHandle); in close() 928 if (tag != null) { in close() 931 tag.disconnect(); in close() 943 TagEndpoint tag = null; in connect() local 950 tag = (TagEndpoint) findObject(nativeHandle); in connect() [all …]
|
/packages/apps/Mms/src/com/android/mms/model/ |
D | MediaModelFactory.java | 44 String tag = sme.getTagName(); in getMediaModel() local 50 context, tag, src, (SMILRegionMediaElement) sme, layouts, part); in getMediaModel() 53 context, tag, src, sme, part, null); in getMediaModel() 91 String tag, String src, SMILRegionMediaElement srme, in getRegionMediaModel() argument 97 return getGenericMediaModel(context, tag, src, srme, part, region); in getRegionMediaModel() 102 if (tag.equals(SmilHelper.ELEMENT_TAG_TEXT)) { in getRegionMediaModel() 110 return getGenericMediaModel(context, tag, src, srme, part, region); in getRegionMediaModel() 125 String tag, String src, SMILMediaElement sme, PduPart part, in getGenericMediaModel() argument 135 if (tag.equals(SmilHelper.ELEMENT_TAG_TEXT)) { in getGenericMediaModel() 138 } else if (tag.equals(SmilHelper.ELEMENT_TAG_IMAGE)) { in getGenericMediaModel() [all …]
|
D | RegionMediaModel.java | 29 public RegionMediaModel(Context context, String tag, Uri uri, in RegionMediaModel() argument 31 this(context, tag, null, null, uri, region); in RegionMediaModel() 34 public RegionMediaModel(Context context, String tag, String contentType, in RegionMediaModel() argument 36 super(context, tag, contentType, src, uri); in RegionMediaModel() 40 public RegionMediaModel(Context context, String tag, String contentType, in RegionMediaModel() argument 42 super(context, tag, contentType, src, data); in RegionMediaModel()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
D | XmlParseUtils.java | 61 public NonEmptyTag(String tag, XmlPullParser parser) { in NonEmptyTag() argument 62 super(tag + " must be empty tag", parser); in NonEmptyTag() 66 public static void checkEndTag(String tag, XmlPullParser parser) in checkEndTag() argument 68 if (parser.next() == XmlPullParser.END_TAG && tag.equals(parser.getName())) in checkEndTag() 70 throw new NonEmptyTag(tag, parser); in checkEndTag() 74 String tag, XmlPullParser parser) throws XmlPullParserException { in checkAttributeExists() argument 78 "No " + attrName + " attribute found in <" + tag + "/>", parser); in checkAttributeExists()
|
/packages/apps/LegacyCamera/jni/feature_stab/doc/ |
D | dbreg_API_doxyfile | 17 # This tag specifies the encoding used for all characters in the config file 19 # text before the first occurrence of this tag. Doxygen uses libiconv (or the 25 # The PROJECT_NAME tag is a single word (or a sequence of words surrounded 30 # The PROJECT_NUMBER tag can be used to enter a project or revision number. 36 # The OUTPUT_DIRECTORY tag is used to specify the (relative or absolute) 43 # If the CREATE_SUBDIRS tag is set to YES, then doxygen will create 52 # The OUTPUT_LANGUAGE tag is used to specify the language in which all 65 # If the BRIEF_MEMBER_DESC tag is set to YES (the default) Doxygen will 72 # If the REPEAT_BRIEF tag is set to YES (the default) Doxygen will prepend 79 # This tag implements a quasi-intelligent brief description abbreviator [all …]
|
/packages/apps/Camera/jni/feature_mos/doc/ |
D | feature_mos_API_doxyfile | 17 # This tag specifies the encoding used for all characters in the config file 19 # text before the first occurrence of this tag. Doxygen uses libiconv (or the 25 # The PROJECT_NAME tag is a single word (or a sequence of words surrounded 30 # The PROJECT_NUMBER tag can be used to enter a project or revision number. 36 # The OUTPUT_DIRECTORY tag is used to specify the (relative or absolute) 43 # If the CREATE_SUBDIRS tag is set to YES, then doxygen will create 52 # The OUTPUT_LANGUAGE tag is used to specify the language in which all 65 # If the BRIEF_MEMBER_DESC tag is set to YES (the default) Doxygen will 72 # If the REPEAT_BRIEF tag is set to YES (the default) Doxygen will prepend 79 # This tag implements a quasi-intelligent brief description abbreviator [all …]
|
/packages/apps/Camera/jni/feature_stab/doc/ |
D | dbreg_API_doxyfile | 17 # This tag specifies the encoding used for all characters in the config file 19 # text before the first occurrence of this tag. Doxygen uses libiconv (or the 25 # The PROJECT_NAME tag is a single word (or a sequence of words surrounded 30 # The PROJECT_NUMBER tag can be used to enter a project or revision number. 36 # The OUTPUT_DIRECTORY tag is used to specify the (relative or absolute) 43 # If the CREATE_SUBDIRS tag is set to YES, then doxygen will create 52 # The OUTPUT_LANGUAGE tag is used to specify the language in which all 65 # If the BRIEF_MEMBER_DESC tag is set to YES (the default) Doxygen will 72 # If the REPEAT_BRIEF tag is set to YES (the default) Doxygen will prepend 79 # This tag implements a quasi-intelligent brief description abbreviator [all …]
|
/packages/apps/LegacyCamera/jni/feature_mos/doc/ |
D | feature_mos_API_doxyfile | 17 # This tag specifies the encoding used for all characters in the config file 19 # text before the first occurrence of this tag. Doxygen uses libiconv (or the 25 # The PROJECT_NAME tag is a single word (or a sequence of words surrounded 30 # The PROJECT_NUMBER tag can be used to enter a project or revision number. 36 # The OUTPUT_DIRECTORY tag is used to specify the (relative or absolute) 43 # If the CREATE_SUBDIRS tag is set to YES, then doxygen will create 52 # The OUTPUT_LANGUAGE tag is used to specify the language in which all 65 # If the BRIEF_MEMBER_DESC tag is set to YES (the default) Doxygen will 72 # If the REPEAT_BRIEF tag is set to YES (the default) Doxygen will prepend 79 # This tag implements a quasi-intelligent brief description abbreviator [all …]
|