Home
last modified time | relevance | path

Searched refs:pack (Results 1 – 25 of 33) 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/graphics/java/android/graphics/fonts/
DFontFileUtil.java55 private static int pack(@IntRange(from = 0, to = 1000) int weight, boolean italic) { in pack() method in FontFileUtil
87 return pack(weight, italic == 1); in analyzeStyle()
122 return pack(400, false); in analyzeStyle()
128 return pack(weight == -1 ? weightFromOS2 : weight, in analyzeStyle()
/frameworks/base/media/java/android/media/
DAudioMetadata.java557 boolean pack(AutoGrowByteBuffer output, T obj); in pack() method
591 public boolean pack(AutoGrowByteBuffer output, Integer obj) {
604 public boolean pack(AutoGrowByteBuffer output, Long obj) {
617 public boolean pack(AutoGrowByteBuffer output, Float obj) {
630 public boolean pack(AutoGrowByteBuffer output, Double obj) {
655 public boolean pack(AutoGrowByteBuffer output, String obj) {
695 public boolean pack(AutoGrowByteBuffer output, Pair<Class, Object> obj) { in pack() method in ObjectPackage
710 if (!dataPackage.pack(output, obj.second)) { in pack()
764 public boolean pack(AutoGrowByteBuffer output, BaseMap obj) { in pack() method in BaseMapPackage
781 if (!strDataPackage.pack(output, key.getName())) { in pack()
[all …]
/frameworks/av/media/libstagefright/codecs/common/include/
DvoAMRWB.h29 #pragma pack(push, 4)
80 #pragma pack(pop)
/frameworks/av/media/codec2/components/vorbis/
DC2SoftVorbisDec.cpp374 ogg_packet pack; in process() local
375 pack.packet = &ref; in process()
376 pack.bytes = ref.length; in process()
377 pack.b_o_s = 0; in process()
378 pack.e_o_s = 0; in process()
379 pack.granulepos = 0; in process()
380 pack.packetno = 0; in process()
400 int ret = vorbis_dsp_synthesis(mState, &pack, 1); in process()
/frameworks/base/graphics/java/android/graphics/
DColor.java437 public long pack() { in pack() method in Color
438 return pack(mComponents[0], mComponents[1], mComponents[2], mComponents[3], mColorSpace); in pack()
982 public static long pack(@ColorInt int color) { in pack() method in Color
999 public static long pack(float red, float green, float blue) { in pack() method in Color
1000 return pack(red, green, blue, 1.0f, ColorSpace.get(ColorSpace.Named.SRGB)); in pack()
1016 public static long pack(float red, float green, float blue, float alpha) { in pack() method in Color
1017 return pack(red, green, blue, alpha, ColorSpace.get(ColorSpace.Named.SRGB)); in pack()
1040 public static long pack(float red, float green, float blue, float alpha, in pack() method in Color
1146 return pack(c[0], c[1], c[2], a, destination); in convert()
1202 return pack(c[0], c[1], c[2], a, connector.getDestination()); in convert()
DSweepGradient.java115 this(cx, cy, Color.pack(color0), Color.pack(color1)); in SweepGradient()
DRadialGradient.java129 this(centerX, centerY, radius, Color.pack(centerColor), Color.pack(edgeColor), tileMode); in RadialGradient()
DLinearGradient.java131 this(x0, y0, x1, y1, Color.pack(color0), Color.pack(color1), tile); in LinearGradient()
DShader.java195 colorLongs[i] = Color.pack(colors[i]); in convertColors()
DPaint.java567 mColor = Color.pack(Color.BLACK); in Paint()
593 mColor = Color.pack(Color.BLACK); in reset()
615 mShadowLayerColor = Color.pack(0); in reset()
1050 mColor = Color.pack(color); in setColor()
1097 mColor = Color.pack(r, g, b, a * (1.0f / 255), cs); in setAlpha()
1471 setShadowLayer(radius, dx, dy, Color.pack(shadowColor)); in setShadowLayer()
/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/base/services/core/java/com/android/server/media/
DVolumeCtrl.java148 final String pack = cmd.getClass().getPackage().getName(); in run() local
150 audioService.setStreamVolume(stream, volIndex, flag, pack/*callingPackage*/); in run()
152 audioService.adjustStreamVolume(stream, adjDir, flag, pack); in run()
/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/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/av/services/camera/libcameraservice/api1/client2/
DJpegProcessor.cpp318 #pragma pack(push)
319 #pragma pack(1)
324 #pragma pack(pop)
/frameworks/av/media/extractors/ogg/
DOggExtractor.cpp1023 ogg_packet pack; in getPacketBlockSize() local
1024 pack.packet = &ref; in getPacketBlockSize()
1025 pack.bytes = ref.length; in getPacketBlockSize()
1026 pack.b_o_s = 0; in getPacketBlockSize()
1027 pack.e_o_s = 0; in getPacketBlockSize()
1028 pack.granulepos = 0; in getPacketBlockSize()
1029 pack.packetno = 0; in getPacketBlockSize()
1031 return vorbis_packet_blocksize(&mVi, &pack); in getPacketBlockSize()
/frameworks/base/tools/protologtool/src/com/android/protolog/tool/
DProtoLogTool.kt190 val pack = if (code.packageDeclaration.isPresent) code.packageDeclaration in <lambda>() constant
192 val packagePath = pack.replace('.', '/') + '/' + file.name in <lambda>()
/frameworks/base/services/backup/java/com/android/server/backup/
DKeyValueAdbBackupEngine.java195 KeyValueAdbBackupDataCopier(PackageInfo pack, ParcelFileDescriptor pipe, in KeyValueAdbBackupDataCopier() argument
198 mPackage = pack; in KeyValueAdbBackupDataCopier()
/frameworks/base/services/core/java/com/android/server/audio/
DFocusRequester.java143 boolean hasSamePackage(@NonNull String pack) { in hasSamePackage() argument
144 return mPackageName.compareTo(pack) == 0; in hasSamePackage()
/frameworks/minikin/doc/
Dhyb_file_format.md15 Further, at some point we will probably pack patterns for multiple languages into a single
/frameworks/base/packages/Tethering/src/com/android/networkstack/tethering/
DOffloadHardwareInterface.java279 nlh.pack(byteBuffer); in sendNetlinkMessage()

12