Searched refs:upload (Results 1 - 13 of 13) sorted by relevance

/frameworks/base/core/tests/coretests/src/com/android/internal/http/multipart/
H A DMultipartTest.java34 File upload = File.createTempFile("Multipart", "test");
36 FileWriter outFile = new FileWriter(upload);
47 parts[1] = new FilePart(upload.getName(), upload);
81 output.append(upload.getName());
83 output.append(upload.getName());
/frameworks/base/libs/hwui/
H A DPixelBuffer.h37 * Before the buffer can be used by the GPU, for instance to upload
44 * using a PixelBuffer to upload to a texture.
99 virtual void upload(uint32_t x, uint32_t y, uint32_t width, uint32_t height, int offset) = 0;
109 void upload(uint32_t x, uint32_t y, uint32_t width, uint32_t height) { function in class:android::uirenderer::PixelBuffer
110 upload(x, y, width, height, getOffset(x, y));
H A DPixelBuffer.cpp40 void upload(uint32_t x, uint32_t y, uint32_t width, uint32_t height, int offset) override;
64 void CpuPixelBuffer::upload(uint32_t x, uint32_t y, uint32_t width, uint32_t height, int offset) { function in class:android::uirenderer::CpuPixelBuffer
80 void upload(uint32_t x, uint32_t y, uint32_t width, uint32_t height, int offset) override;
135 void GpuPixelBuffer::upload(uint32_t x, uint32_t y, uint32_t width, uint32_t height, int offset) { function in class:android::uirenderer::GpuPixelBuffer
H A DTexture.h89 upload(internalFormat, width, height, format,
100 void upload(Bitmap& source);
105 void upload(GLint internalFormat, uint32_t width, uint32_t height, GLenum format, GLenum type,
H A DTextureCache.cpp106 texture->upload(*bitmap);
157 // Texture was in the cache but is dirty, re-upload
159 texture->upload(*bitmap);
H A DGradientCache.cpp184 // We use 4 channels (RGBA) and upload from floats (not half floats)
261 texture->upload(GL_RGBA16F, width, height, GL_RGBA, GL_FLOAT, pixels);
264 texture->upload(internalFormat, width, height, GL_RGBA, GL_UNSIGNED_BYTE, pixels);
H A DTexture.cpp117 void Texture::upload(GLint internalFormat, uint32_t width, uint32_t height, GLenum format, function in class:android::uirenderer::Texture
274 void Texture::upload(Bitmap& bitmap) { function in class:android::uirenderer::Texture
H A DTextDropShadowCache.cpp183 texture->upload(GL_ALPHA, shadow.width, shadow.height, GL_ALPHA, GL_UNSIGNED_BYTE,
H A DPathCache.cpp290 // Note here that we upload to a texture even if it's bigger than mMaxSize.
310 texture->upload(bitmap);
369 // upload it as a GL texture
H A DFontRenderer.cpp443 if (cacheTexture->upload()) {
/frameworks/base/libs/hwui/renderstate/
H A DTextureState.cpp75 mShadowLutTexture->upload(GL_ALPHA, SHADOW_LUT_SIZE, 1, GL_ALPHA, GL_UNSIGNED_BYTE, &bytes);
/frameworks/base/libs/hwui/font/
H A DCacheTexture.cpp127 // as glTexSubImage2D(). This allows us to upload a sub-rectangle of a texture.
128 // With OpenGL ES 2.0 we have to upload entire stripes instead.
196 bool CacheTexture::upload() { function in class:android::uirenderer::CacheTexture
216 mPixelBuffer->upload(x, y, width, height);
H A DCacheTexture.h87 bool upload();

Completed in 138 milliseconds