HomeSort by relevance Sort by last modified time
    Searched full:packer (Results 1 - 25 of 63) sorted by null

1 2 3

  /external/libgdx/gdx/src/com/badlogic/gdx/graphics/g2d/
PixmapPacker.java 37 * directly convert the pixmap atlas to a {@link TextureAtlas}. The packer supports padding and border pixel duplication,
38 * specified during construction. The packer supports incremental inserts and updates of TextureAtlases generated with this class.
47 * PixmapPacker packer = new PixmapPacker(512, 512, Format.RGB565, 2, true);
48 * packer.pack("First Pixmap", pixmap1);
49 * packer.pack("Second Pixmap", pixmap2);
50 * TextureAtlas atlas = packer.generateTextureAtlas(TextureFilter.Nearest, TextureFilter.Nearest, false);
51 * packer.dispose();
56 * With this usage pattern, disposing the packer will not dispose any pixmaps used by the texture atlas. The texture atlas must
63 * PixmapPacker packer = new PixmapPacker(512, 512, Format.RGB565, 2, false);
67 * packer.pack("thumbnail", thumbnail);
    [all...]
PixmapPackerIO.java 47 * @param packer the PixmapPacker to be written
49 public void save (FileHandle file, PixmapPacker packer) throws IOException {
50 save(file, packer, new SaveParameters());
57 * @param packer the PixmapPacker to be written
60 public void save (FileHandle file, PixmapPacker packer, SaveParameters parameters) throws IOException {
63 for (Page page : packer.pages) {
79 writer.write("format: " + packer.pageFormat.name() + "\n");
  /external/clang/test/SemaCXX/
local-classes.cpp 12 BitPacker packer; local
  /external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/
PixmapPackerTest.java 60 PixmapPacker packer = new PixmapPacker(1024, 1024, Format.RGBA8888, 8, false); local
62 packer.pack("badlogic " + count, pixmap1);
63 packer.pack("fire " + count, pixmap2);
64 packer.pack("isotile " + count, pixmap3);
67 atlas = packer.generateTextureAtlas(TextureFilter.Nearest, TextureFilter.Nearest, false);
70 packer.setPackToTexture(true);
73 packer.pack("badlogic " + count, pixmap1);
74 packer.pack("fire " + count, pixmap2);
75 packer.pack("isotile " + count, pixmap3);
82 packer.updateTextureAtlas(atlas, TextureFilter.Nearest, TextureFilter.Nearest, false);
    [all...]
  /libcore/ojluni/src/main/java/java/util/jar/
Pack200.java 42 * Typically the packer engine is used by application developers
47 * Here is an example using packer and unpacker:<p>
52 * // Create the Packer object
53 * Packer packer = Pack200.newPacker();
56 * Map p = packer.properties();
58 * p.put(Packer.EFFORT, "7"); // default is "5"
60 * p.put(Packer.SEGMENT_LIMIT, "-1");
62 * p.put(Packer.KEEP_FILE_ORDER, Packer.FALSE)
    [all...]
  /bionic/tools/relocation_packer/src/
packer_unittest.cc 5 #include "packer.h"
53 RelocationPacker<ELF> packer; local
56 packer.PackRelocations(relocations, &packed);
87 TEST(Packer, PackNoAddend32) {
91 TEST(Packer, PackNoAddend64) {
123 RelocationPacker<ELF> packer; local
124 packer.UnpackRelocations(packed, &relocations);
139 TEST(Packer, UnpackNoAddend32) {
143 TEST(Packer, UnpackNoAddend64) {
163 RelocationPacker<ELF> packer; local
275 RelocationPacker<ELF> packer; local
    [all...]
packer.cc 5 #include "packer.h"
elf_file.h 26 #include "packer.h"
68 // Templated packer, helper for PackRelocations(). Rel type is one of
  /external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/extensions/
FreeTypeAtlasTest.java 72 PixmapPacker packer; field in class:FreeTypeAtlasTest
95 text = glyphCount + " glyphs packed in " + packer.getPages().size + " page(s) in " + time + " ms";
130 batch.draw(packer.getPages().first().getTexture(), 0, 0);
138 packer.dispose();
153 // 3. For each size and style, call generator.generateFont() with the packer set on the parameter
154 // 4. Generate the texture atlas using packer.generateTextureAtlas or packer.updateTextureAtlas.
158 // create the pixmap packer
159 packer = new PixmapPacker(FONT_ATLAS_WIDTH, FONT_ATLAS_HEIGHT, Format.RGBA8888, 2, false);
174 fontParameter.packer = packer
    [all...]
FreeTypePackTest.java 154 // 6. Get the TextureRegion(s) from the packer using packer.updateTextureRegions()
160 // create the pixmap packer
161 PixmapPacker packer = new PixmapPacker(FONT_ATLAS_WIDTH, FONT_ATLAS_HEIGHT, Format.RGBA8888, 2, false); local
176 fontParameter.packer = packer;
188 // Get regions from our packer
190 packer.updateTextureRegions(regions, TextureFilter.Nearest, TextureFilter.Nearest, false);
192 // No more need for our CPU-based pixmap packer, as our textures are now on GPU
193 packer.dispose();
    [all...]
  /external/autotest/client/site_tests/power_LoadTest/
README.txt 4 In order to update extension.crx, use chrome's built in packer. You must close
  /external/libgdx/extensions/gdx-freetype/src/com/badlogic/gdx/graphics/g2d/freetype/
FreeTypeFontGenerator.java 173 if (data.regions == null && parameter.packer != null) {
175 parameter.packer.updateTextureRegions(data.regions, parameter.minFilter, parameter.magFilter, parameter.genMipMaps);
178 font.setOwnsTexture(parameter.packer == null);
355 PixmapPacker packer = parameter.packer; local
357 if (packer == null) {
358 // Create a packer.
371 packer = new PixmapPacker(size, size, Format.RGBA8888, 1, false, packStrategy);
372 packer.setTransparentColor(parameter.color);
373 packer.getTransparentColor().a = 0;
642 PixmapPacker packer; field in class:FreeTypeFontGenerator.FreeTypeBitmapFontData
750 public PixmapPacker packer = null; field in class:FreeTypeFontGenerator.FreeTypeFontParameter
    [all...]
  /prebuilts/gdb/darwin-x86/lib/python2.7/test/
test_xdrlib.py 9 p = xdrlib.Packer()
  /prebuilts/gdb/linux-x86/lib/python2.7/test/
test_xdrlib.py 9 p = xdrlib.Packer()
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
test_xdrlib.py 9 p = xdrlib.Packer()
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
test_xdrlib.py 9 p = xdrlib.Packer()
  /external/libgdx/extensions/gdx-tools/src/com/badlogic/gdx/tools/texturepacker/
GridPacker.java 19 import com.badlogic.gdx.tools.texturepacker.TexturePacker.Packer;
28 public class GridPacker implements Packer {
TexturePackerFileProcessor.java 215 TexturePacker packer = new TexturePacker(root, settings); local
217 packer.addImage(file.inputFile);
218 packer.pack(inputDir.outputDir, packFileName);
  /art/test/140-field-packing/src/
GapOrder.java 32 // The problem was, the packer wasn't finding the gap where iiii should go,
  /external/libgdx/extensions/gdx-tools/src/com/badlogic/gdx/tools/imagepacker/
ImagePacker.java 34 * A simple image packer class based on the nice algorithm by blackpawn.
220 ImagePacker packer = new ImagePacker(512, 512, 1, true); local
237 packer.insertImage("" + i, images[i]);
239 ImageIO.write(packer.getImage(), "png", new File("packed.png"));
  /prebuilts/gdb/darwin-x86/lib/python2.7/
xdrlib.py 13 __all__ = ["Error", "Packer", "Unpacker", "ConversionError"]
39 class Packer:
  /prebuilts/gdb/linux-x86/lib/python2.7/
xdrlib.py 13 __all__ = ["Error", "Packer", "Unpacker", "ConversionError"]
39 class Packer:
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/
xdrlib.py 13 __all__ = ["Error", "Packer", "Unpacker", "ConversionError"]
39 class Packer:
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/
xdrlib.py 13 __all__ = ["Error", "Packer", "Unpacker", "ConversionError"]
39 class Packer:
  /external/libgdx/extensions/gdx-tools/src/com/badlogic/gdx/tiledmappacker/
TiledMapPacker.java 76 private TexturePacker packer; field in class:TiledMapPacker
303 packer = new TexturePacker(texturePackerSettings);
345 packer.addImage(tile, regionName);
353 packer.pack(outputDirTilesets, this.settings.atlasOutputName + ".atlas");
482 TiledMapPacker packer = new TiledMapPacker(packerSettings); local
512 TiledMapPacker packer = new TiledMapPacker(packerSettings);
520 packer.processInputDir(texturePackerSettings);

Completed in 2119 milliseconds

1 2 3