Home
last modified time | relevance | path

Searched refs:pack (Results 1 – 25 of 43) sorted by relevance

12

/frameworks/opt/photoviewer/src/com/android/ex/photo/util/
DExif.java102 length = pack(jpeg, offset, 2, false); in getOrientation()
110 pack(jpeg, offset + 2, 4, false) == 0x45786966 && in getOrientation()
111 pack(jpeg, offset + 6, 2, false) == 0) { in getOrientation()
130 int tag = pack(jpeg, offset, 4, false); in getOrientation()
138 int count = pack(jpeg, offset + 4, 4, littleEndian) + 2; in getOrientation()
150 count = pack(jpeg, offset - 2, 2, littleEndian); in getOrientation()
154 tag = pack(jpeg, offset, 2, littleEndian); in getOrientation()
157 final int orientation = pack(jpeg, offset + 8, 2, littleEndian); in getOrientation()
182 private static int pack(final InputStreamBuffer bytes, int offset, int length, in pack() method in Exif
/frameworks/opt/bitmap/src/com/android/bitmap/util/
DExif.java107 length = pack(jpeg, offset, 2, false); in getOrientation()
115 pack(jpeg, offset + 2, 4, false) == 0x45786966 && in getOrientation()
116 pack(jpeg, offset + 6, 2, false) == 0) { in getOrientation()
135 int tag = pack(jpeg, offset, 4, false); in getOrientation()
143 int count = pack(jpeg, offset + 4, 4, littleEndian) + 2; in getOrientation()
155 count = pack(jpeg, offset - 2, 2, littleEndian); in getOrientation()
159 tag = pack(jpeg, offset, 2, littleEndian); in getOrientation()
162 final int orientation = pack(jpeg, offset + 8, 2, littleEndian); in getOrientation()
187 private static int pack(final InputStreamBuffer bytes, int offset, int length, in pack() method in Exif
/frameworks/base/tests/graphics/SilkFX/src/com/android/test/silkfx/common/
DHDRIndicator.kt41 canvas.drawColor(Color.pack(1f, 1f, 1f, 1f, scRGB)) in onDraw()
43 paint.setColor(Color.pack(1.1f, 1.1f, 1.1f, 1f, scRGB)) in onDraw()
45 paint.setColor(Color.pack(1.2f, 1.2f, 1.2f, 1f, scRGB)) in onDraw()
47 paint.setColor(Color.pack(1.3f, 1.3f, 1.3f, 1f, scRGB)) in onDraw()
DBaseDrawingView.kt37 return Color.pack(red, green, blue, alpha, scRGB) in color()
/frameworks/base/tests/graphics/SilkFX/src/com/android/test/silkfx/hdr/
DGlowingCard.kt55 val glowColor = Color.pack(.5f * COLOR_MAXIMIZER, .4f * COLOR_MAXIMIZER, in onDraw()
59 paint.setColor(Color.pack(2f, 2f, 2f, 1f, scRGB)) in onDraw()
64 Color.pack(0f, 0f, 0f, 0f, scRGB), in onDraw()
71 paint.setColor(Color.pack(.14f, .14f, .14f, .8f, scRGB)) in onDraw()
DColorGrid.kt42 return Color.pack(red, green, blue, alpha, colorspace) in toMaxColor()
/frameworks/base/media/java/android/media/
DAudioMetadata.java611 boolean pack(AutoGrowByteBuffer output, T obj); in pack() method
645 public boolean pack(AutoGrowByteBuffer output, Integer obj) {
658 public boolean pack(AutoGrowByteBuffer output, Long obj) {
671 public boolean pack(AutoGrowByteBuffer output, Float obj) {
684 public boolean pack(AutoGrowByteBuffer output, Double obj) {
709 public boolean pack(AutoGrowByteBuffer output, String obj) {
749 public boolean pack(AutoGrowByteBuffer output, Pair<Class, Object> obj) { in pack() method in ObjectPackage
764 if (!dataPackage.pack(output, obj.second)) { in pack()
818 public boolean pack(AutoGrowByteBuffer output, BaseMap obj) { in pack() method in BaseMapPackage
835 if (!strDataPackage.pack(output, key.getName())) { in pack()
[all …]
/frameworks/av/media/module/codecs/common/include/
DvoAMRWB.h29 #pragma pack(push, 4)
80 #pragma pack(pop)
/frameworks/base/core/java/com/android/internal/widget/remotecompose/core/operations/
DClipPath.java74 int pack = buffer.readInt(); in read() local
75 int id = pack & 0xFFFFF; in read()
76 int regionOp = pack >> 24; in read()
/frameworks/av/media/codec2/components/vorbis/
DC2SoftVorbisDec.cpp378 ogg_packet pack; in process() local
379 pack.packet = &ref; in process()
380 pack.bytes = ref.length; in process()
381 pack.b_o_s = 0; in process()
382 pack.e_o_s = 0; in process()
383 pack.granulepos = 0; in process()
384 pack.packetno = 0; in process()
404 int ret = vorbis_dsp_synthesis(mState, &pack, 1); in process()
/frameworks/base/graphics/java/android/graphics/
DColor.java439 public long pack() { in pack() method in Color
440 return pack(mComponents[0], mComponents[1], mComponents[2], mComponents[3], mColorSpace); in pack()
984 public static long pack(@ColorInt int color) { in pack() method in Color
1001 public static long pack(float red, float green, float blue) { in pack() method in Color
1002 return pack(red, green, blue, 1.0f, ColorSpace.get(ColorSpace.Named.SRGB)); in pack()
1018 public static long pack(float red, float green, float blue, float alpha) { in pack() method in Color
1019 return pack(red, green, blue, alpha, ColorSpace.get(ColorSpace.Named.SRGB)); in pack()
1042 public static long pack(float red, float green, float blue, float alpha, in pack() method in Color
1148 return pack(c[0], c[1], c[2], a, destination); in convert()
1204 return pack(c[0], c[1], c[2], a, connector.getDestination()); in convert()
DSweepGradient.java116 this(cx, cy, Color.pack(color0), Color.pack(color1)); in SweepGradient()
DLinearGradient.java132 this(x0, y0, x1, y1, Color.pack(color0), Color.pack(color1), tile); in LinearGradient()
DRadialGradient.java191 this(centerX, centerY, radius, Color.pack(centerColor), Color.pack(edgeColor), tileMode); in RadialGradient()
/frameworks/minikin/tools/
Dmk_hyb_file.py127 return b''.join(struct.pack('B', x) for x in pattern)
195 def pack(self, node_list, ch_map, use_node=False): member in Hyph
317 return struct.pack('<6I', *data)
330 result = [struct.pack('<3I', 0, min_ch, max_ch + 1)]
332 result.append(struct.pack('<B', b))
336 result = [struct.pack('<2I', 1, len(ch_map))]
339 result.append(struct.pack('<I', data))
355 result = [struct.pack('<6I', 0, char_mask, link_shift, link_mask, pattern_shift, n_trie)]
374 result.append(struct.pack('<I', packed))
403 result = [struct.pack('<4I', *data)]
[all …]
/frameworks/native/opengl/tools/glgen/src/
DJsr239CodeEmitter.java69 public void setVersion(int version, boolean ext, boolean pack) { in setVersion() argument
75 (pack ? mJava11ExtPackInterfaceStream : in setVersion()
DCodeEmitter.java19 void setVersion(int version, boolean ext, boolean pack); in setVersion() argument
DGenerateGL.java34 private static void emit(int version, boolean ext, boolean pack, in emit() argument
68 emitter.setVersion(version, ext, pack); in emit()
/frameworks/base/services/core/java/com/android/server/media/
DVolumeCtrl.java151 final String pack = cmd.getClass().getPackage().getName(); in run() local
153 audioService.setStreamVolume(stream, volIndex, flag, pack/*callingPackage*/); in run()
155 audioService.adjustStreamVolume(stream, adjDir, flag, pack); in run()
/frameworks/base/graphics/java/android/graphics/fonts/
DFontFileUtil.java60 private static int pack(@IntRange(from = 0, to = 1000) int weight, boolean italic) { in pack() method in FontFileUtil
93 return pack(weight, italic == 1); in analyzeStyle()
128 return pack(400, false); in analyzeStyle()
134 return pack(weight == -1 ? weightFromOS2 : weight, in analyzeStyle()
/frameworks/av/media/libstagefright/codecs/vorbis/dec/
DSoftVorbis.cpp496 ogg_packet pack; in onQueueFilled() local
497 pack.packet = &ref; in onQueueFilled()
498 pack.bytes = ref.length; in onQueueFilled()
499 pack.b_o_s = 0; in onQueueFilled()
500 pack.e_o_s = 0; in onQueueFilled()
501 pack.granulepos = 0; in onQueueFilled()
502 pack.packetno = 0; in onQueueFilled()
515 int err = vorbis_dsp_synthesis(mState, &pack, 1); in onQueueFilled()
/frameworks/base/core/java/android/text/style/
DSpanUtils.java272 private static long pack(int from, int to) { in pack() method in SpanUtils
289 return pack(Math.max(aMin, bMin), Math.min(aMax, bMax)); in intersection()
302 uncoveredRanges.add(pack(min, max)); in isCovered()
329 nextUncoveredRanges.add(pack(uncoveredStart, intersectStart)); in isCovered()
333 nextUncoveredRanges.add(pack(intersectEnd, uncoveredEnd)); in isCovered()
/frameworks/av/services/camera/libcameraservice/api1/client2/
DJpegProcessor.cpp326 #pragma pack(push)
327 #pragma pack(1)
332 #pragma pack(pop)
/frameworks/av/media/module/extractors/ogg/
DOggExtractor.cpp1087 ogg_packet pack; in getPacketBlockSize() local
1088 pack.packet = &ref; in getPacketBlockSize()
1089 pack.bytes = ref.length; in getPacketBlockSize()
1090 pack.b_o_s = 0; in getPacketBlockSize()
1091 pack.e_o_s = 0; in getPacketBlockSize()
1092 pack.granulepos = 0; in getPacketBlockSize()
1093 pack.packetno = 0; in getPacketBlockSize()
1095 return vorbis_packet_blocksize(&mVi, &pack); in getPacketBlockSize()
/frameworks/minikin/include/minikin/
DFont.h47 : mBits(pack(fakeBold, fakeItalic, wghtAdjustment, italAdjustment)) {} in FontFakery()
85 uint16_t pack(bool isFakeBold, bool isFakeItalic, int16_t wghtAdjustment, in pack() function

12