Searched refs:pack (Results 1 - 25 of 26) sorted by relevance

12

/frameworks/native/opengl/tools/glgen/src/
H A DCodeEmitter.java19 void setVersion(int version, boolean ext, boolean pack); argument
H A DJsr239CodeEmitter.java69 public void setVersion(int version, boolean ext, boolean pack) { argument
75 (pack ? mJava11ExtPackInterfaceStream :
H A DGenerateGL.java34 private static void emit(int version, boolean ext, boolean pack, argument
68 emitter.setVersion(version, ext, pack);
/frameworks/opt/bitmap/src/com/android/bitmap/util/
H A DExif.java48 Also, the most we ever read backwards is 4 bytes. pack() reads backwards if the encoding
51 int tag = pack(jpeg, offset, 4, false);
52 count = pack(jpeg, offset - 2, 2, littleEndian);
107 length = pack(jpeg, offset, 2, false);
115 pack(jpeg, offset + 2, 4, false) == 0x45786966 &&
116 pack(jpeg, offset + 6, 2, false) == 0) {
135 int tag = pack(jpeg, offset, 4, false);
143 int count = pack(jpeg, offset + 4, 4, littleEndian) + 2;
155 count = pack(jpeg, offset - 2, 2, littleEndian);
159 tag = pack(jpe
187 private static int pack(final InputStreamBuffer bytes, int offset, int length, method in class:Exif
[all...]
/frameworks/opt/photoviewer/src/com/android/ex/photo/util/
H A DExif.java43 Also, the most we ever read backwards is 4 bytes. pack() reads backwards if the encoding
46 int tag = pack(jpeg, offset, 4, false);
47 count = pack(jpeg, offset - 2, 2, littleEndian);
102 length = pack(jpeg, offset, 2, false);
110 pack(jpeg, offset + 2, 4, false) == 0x45786966 &&
111 pack(jpeg, offset + 6, 2, false) == 0) {
130 int tag = pack(jpeg, offset, 4, false);
138 int count = pack(jpeg, offset + 4, 4, littleEndian) + 2;
150 count = pack(jpeg, offset - 2, 2, littleEndian);
154 tag = pack(jpe
182 private static int pack(final InputStreamBuffer bytes, int offset, int length, method in class:Exif
[all...]
/frameworks/av/media/libstagefright/codecs/common/include/
H A DvoAMRWB.h29 #pragma pack(push, 4)
80 #pragma pack(pop)
/frameworks/base/packages/MtpDocumentsProvider/tests/src/com/android/mtp/
H A DTestMtpManager.java33 protected static String pack(int... args) { method in class:TestMtpManager
53 mObjectHandles.put(pack(deviceId, storageId, parentHandle), objectHandles);
57 mObjectInfos.put(pack(deviceId, objectInfo.getObjectHandle()), objectInfo);
61 mImportFileBytes.put(pack(deviceId, objectHandle), bytes);
65 return mImportFileBytes.get(pack(deviceId, objectHandle));
69 mThumbnailBytes.put(pack(deviceId, objectHandle), bytes);
73 mObjectSizeLongs.put(pack(deviceId, objectHandle, format), value);
119 final String key = pack(deviceId, objectHandle);
129 final String key = pack(deviceId, storageId, parentObjectHandle);
140 final String key = pack(deviceI
[all...]
H A DDocumentLoaderTest.java209 blockedDocuments.put(pack(deviceId, objectHandle), new CountDownLatch(1));
213 blockedDocuments.get(pack(deviceId, objectHandle)).countDown();
218 final CountDownLatch latch = blockedDocuments.get(pack(deviceId, objectHandle));
/frameworks/base/services/net/java/android/net/netlink/
H A DStructNlMsgErr.java55 public void pack(ByteBuffer byteBuffer) { method in class:StructNlMsgErr
61 msg.pack(byteBuffer);
H A DRtNetlinkNeighborMessage.java133 nlmsghdr.pack(byteBuffer);
136 ndmsg.pack(byteBuffer);
165 msg.pack(byteBuffer);
224 nlAttr.pack(byteBuffer);
227 public void pack(ByteBuffer byteBuffer) { method in class:RtNetlinkNeighborMessage
228 getHeader().pack(byteBuffer) ;
229 mNdmsg.pack(byteBuffer);
H A DStructNdMsg.java128 public void pack(ByteBuffer byteBuffer) { method in class:StructNdMsg
H A DStructNlAttr.java119 public void pack(ByteBuffer byteBuffer) { method in class:StructNlAttr
H A DStructNlMsgHdr.java115 public void pack(ByteBuffer byteBuffer) { method in class:StructNlMsgHdr
/frameworks/base/graphics/java/android/graphics/
H A DAtlas.java77 * @param type The algorithm to use to pack rectangles in the atlas
92 * @param type The algorithm to use to pack rectangles in the atlas
107 * @param width The width of the rectangle to pack in the atlas
108 * @param height The height of the rectangle to pack in the atlas
113 * @see #pack(int, int, Atlas.Entry)
115 public Entry pack(int width, int height) { method in class:Atlas
116 return pack(width, height, null);
122 * @param width The width of the rectangle to pack in the atlas
123 * @param height The height of the rectangle to pack in the atlas
130 * @see #pack(in
132 public Entry pack(int width, int height, Entry entry) { method in class:Atlas
159 abstract Entry pack(int width, int height, Entry entry); method in class:Atlas.Policy
273 Entry pack(int width, int height, Entry entry) { method in class:Atlas.SlicePolicy
[all...]
/frameworks/minikin/tools/
H A Dmk_hyb_file.py123 return b''.join(struct.pack('B', x) for x in pattern)
191 def pack(self, node_list, ch_map, use_node=False): member in class:Hyph
308 return struct.pack('<6I', *data)
321 result = [struct.pack('<3I', 0, min_ch, max_ch + 1)]
323 result.append(struct.pack('<B', b))
327 result = [struct.pack('<2I', 1, len(ch_map))]
330 result.append(struct.pack('<I', data))
346 result = [struct.pack('<6I', 0, char_mask, link_shift, link_mask, pattern_shift, n_trie)]
365 result.append(struct.pack('<I', packed))
394 result = [struct.pack('<
[all...]
/frameworks/av/media/libstagefright/codecs/vorbis/dec/
H A DSoftVorbis.cpp385 ogg_packet pack; local
386 pack.packet = &ref;
387 pack.bytes = ref.length;
388 pack.b_o_s = 0;
389 pack.e_o_s = 0;
390 pack.granulepos = 0;
391 pack.packetno = 0;
396 int err = vorbis_dsp_synthesis(mState, &pack, 1);
/frameworks/av/services/camera/libcameraservice/api1/client2/
H A DJpegProcessor.cpp336 #pragma pack(push)
337 #pragma pack(1)
342 #pragma pack(pop)
/frameworks/minikin/include/minikin/
H A DFontFamily.h66 static uint32_t pack(int variant, int weight, bool italic);
/frameworks/av/media/libstagefright/
H A DOggExtractor.cpp913 ogg_packet pack; local
914 pack.packet = &ref;
915 pack.bytes = ref.length;
916 pack.b_o_s = 0;
917 pack.e_o_s = 0;
918 pack.granulepos = 0;
919 pack.packetno = 0;
921 return vorbis_packet_blocksize(&mVi, &pack);
/frameworks/base/services/core/java/com/android/server/audio/
H A DFocusRequester.java115 boolean hasSamePackage(String pack) { argument
117 return mPackageName.compareTo(pack) == 0;
193 + " -- pack: " + mPackageName
/frameworks/minikin/libs/minikin/
H A DFontFamily.cpp48 : bits(pack(variant, weight, italic)), mLanguageListId(languageListId) {
64 uint32_t FontStyle::pack(int variant, int weight, bool italic) { function in class:android::FontStyle
/frameworks/base/services/core/java/com/android/server/
H A DAssetAtlasService.java90 // number of pixels we want to be able to pack in the atlas
242 * @param atlas The atlas to pack the bitmaps into
272 if (atlas.pack(bitmap.getWidth(), bitmap.getHeight(), entry) != null) {
273 // We have more bitmaps to pack than the current configuration
351 * Finds the best atlas configuration to pack the list of supplied bitmaps.
640 * @param bitmaps The list of bitmaps to pack in the atlas
654 // Minimum number of pixels we want to be able to pack
681 // If we were able to pack everything let's stop here
689 // If we were not able to pack everything let's stop here
709 if (atlas.pack(bitma
[all...]
/frameworks/base/core/java/android/widget/
H A DGridLayout.java1295 return assoc.pack();
1333 return result.pack();
2272 public PackedMap<K, V> pack() { method in class:GridLayout.Assoc
/frameworks/support/v7/gridlayout/src/android/support/v7/widget/
H A DGridLayout.java1190 return assoc.pack();
1228 return result.pack();
2166 public PackedMap<K, V> pack() { method in class:GridLayout.Assoc
/frameworks/opt/setupwizard/tools/docs/
H A Ddoclava.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/ccil/ org/ccil/cowan/ org/ccil/cowan/tagsoup/ ...

Completed in 2878 milliseconds

12