Home
last modified time | relevance | path

Searched refs:getComponentCount (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/exif/
DExifModifier.java113 if (newTag.getComponentCount() != oldTag.getComponentCount() in commit()
156 if (buf.length == tag.getComponentCount()) { in writeTagValue()
166 for (int i = 0, n = tag.getComponentCount(); i < n; i++) { in writeTagValue()
172 for (int i = 0, n = tag.getComponentCount(); i < n; i++) { in writeTagValue()
180 buf = new byte[tag.getComponentCount()]; in writeTagValue()
185 for (int i = 0, n = tag.getComponentCount(); i < n; i++) { in writeTagValue()
DExifParser.java587 if (tag.getComponentCount() == 0) { in checkOffsetOrImageTag()
619 for (int i = 0; i < tag.getComponentCount(); i++) { in checkOffsetOrImageTag()
650 int size = tag.getComponentCount(); in readFullTagValue()
682 byte buf[] = new byte[tag.getComponentCount()]; in readFullTagValue()
688 tag.setValue(readString(tag.getComponentCount())); in readFullTagValue()
691 long value[] = new long[tag.getComponentCount()]; in readFullTagValue()
699 Rational value[] = new Rational[tag.getComponentCount()]; in readFullTagValue()
707 int value[] = new int[tag.getComponentCount()]; in readFullTagValue()
715 int value[] = new int[tag.getComponentCount()]; in readFullTagValue()
723 Rational value[] = new Rational[tag.getComponentCount()]; in readFullTagValue()
DExifOutputStream.java288 dataOutputStream.writeInt(tag.getComponentCount()); in writeIfd()
485 if (buf.length == tag.getComponentCount()) { in writeTagValue()
495 for (int i = 0, n = tag.getComponentCount(); i < n; i++) { in writeTagValue()
501 for (int i = 0, n = tag.getComponentCount(); i < n; i++) { in writeTagValue()
507 buf = new byte[tag.getComponentCount()]; in writeTagValue()
512 for (int i = 0, n = tag.getComponentCount(); i < n; i++) { in writeTagValue()
DExifData.java225 if (tag.getComponentCount() < 8) { in getUserComment()
229 byte[] buf = new byte[tag.getComponentCount()]; in getUserComment()
DExifTag.java197 return getComponentCount() * getElementSize(getDataType()); in getDataSize()
205 public int getComponentCount() { in getComponentCount() method in ExifTag
DExifInterface.java1438 return t.getComponentCount(); in getActualTagCount()
1700 int count = tag.getComponentCount(); in getTagDefinitionForTag()
/frameworks/base/graphics/java/android/graphics/
DColor.java423 public int getComponentCount() { in getComponentCount() method in Color
424 return mColorSpace.getComponentCount() + 1; in getComponentCount()
936 if (colorSpace.getComponentCount() > 3) { in valueOf()
964 if (components.length < colorSpace.getComponentCount() + 1) { in valueOf()
967 (colorSpace.getComponentCount() + 1) + " (including alpha)"); in valueOf()
969 return new Color(Arrays.copyOf(components, colorSpace.getComponentCount() + 1), colorSpace); in valueOf()
1056 if (colorSpace.getComponentCount() > 3) { in pack()
DBitmap.java1787 if (oldColorSpace.getComponentCount() != newColorSpace.getComponentCount()) { in setColorSpace()
1791 for (int i = 0; i < oldColorSpace.getComponentCount(); i++) { in setColorSpace()
DColorSpace.java865 public int getComponentCount() { in getComponentCount() method in ColorSpace.Model
964 public int getComponentCount() { in getComponentCount() method in ColorSpace
965 return mModel.getComponentCount(); in getComponentCount()
1098 float[] xyz = new float[mModel.getComponentCount()]; in fromXyz()
/frameworks/base/api/
Dcurrent.txt13922 method @IntRange(from=4, to=5) public int getComponentCount();
14008 method @IntRange(from=1, to=4) public int getComponentCount();
14047 method @IntRange(from=1, to=4) public int getComponentCount();