Searched defs:size (Results 276 - 300 of 1111) sorted by relevance

<<11121314151617181920>>

/frameworks/base/libs/hwui/
H A DTextDropShadowCache.cpp131 ALOGD("Shadow texture deleted, size = %d", texture->bitmapSize);
170 const uint32_t size = shadow.width * shadow.height; local
173 if (size < mMaxSize) {
174 while (mSize + size > mMaxSize) {
177 ", mCache.size() = %zu",
178 mSize, mCache.size());
188 if (size < mMaxSize) {
190 ALOGD("Shadow texture created, size = %d", texture->bitmapSize);
H A DTextureCache.cpp70 TEXTURE_LOGD("TextureCache::callback: name, removed size, mSize = %d, %d, %d", texture->id,
73 ALOGD("Texture deleted, size = %d", texture->bitmapSize);
120 ALOGD("Texture created for hw bitmap size = %d", texture->bitmapSize);
134 const uint32_t size = bitmap->rowBytes() * bitmap->height(); local
135 bool canCache = size < mMaxSize;
137 while (canCache && mSize + size > mMaxSize) {
148 mSize += size;
149 TEXTURE_LOGD("TextureCache::get: create texture(%p): name, size, mSize = %d, %d, %d",
150 bitmap, texture->id, size, mSize);
152 ALOGD("Texture created, size
[all...]
/frameworks/base/libs/hwui/renderstate/
H A DMeshState.cpp92 void MeshState::genOrUpdateMeshBuffer(GLuint* buffer, GLsizeiptr size, const void* data, argument
98 glBufferData(GL_ARRAY_BUFFER, size, data, usage);
101 void MeshState::updateMeshBufferSubData(GLuint buffer, GLintptr offset, GLsizeiptr size, argument
104 glBufferSubData(GL_ARRAY_BUFFER, offset, size, data);
/frameworks/base/media/java/android/media/midi/
H A DMidiPortImpl.java37 * Maximum size of a packet that can be passed between processes.
42 * size of message timestamp in bytes
47 * Data packet overhead is timestamp size plus packet type byte
60 * messageSize is size of variable length MIDI message
63 * returns size of packed message
65 public static int packData(byte[] message, int offset, int size, long timestamp, argument
67 if (size > MAX_PACKET_DATA_SIZE) {
68 size = MAX_PACKET_DATA_SIZE;
74 System.arraycopy(message, offset, dest, length, size);
75 length += size;
[all...]
/frameworks/base/media/jni/
H A Dandroid_media_Media2HTTPConnection.cpp96 for (size_t i = 0; i < headers->size(); ++i) {
122 ssize_t JMedia2HTTPConnection::readAt(off64_t offset, void *data, size_t size) { argument
125 if (size > kBufferSize) {
126 size = kBufferSize;
130 mMedia2HTTPConnectionObj, mReadAtMethod, (jlong)offset, mByteArrayObj, (jint)size);
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
H A DMutableFrameFormat.java57 public void setDimensions(int size) { argument
59 dimensions[0] = size;
H A DNativeBuffer.java59 public int size() { method in class:NativeBuffer
126 private native boolean allocate(int size); argument
/frameworks/base/media/mca/filterfw/java/android/filterfw/geometry/
H A DRectangle.java38 public Rectangle(Point origin, Point size) { argument
40 origin.plus(size.x, 0.0f),
41 origin.plus(0.0f, size.y),
42 origin.plus(size.x, size.y));
45 public static Rectangle fromRotatedRect(Point center, Point size, float rotation) { argument
46 Point p0 = new Point(center.x - size.x/2f, center.y - size.y/2f);
47 Point p1 = new Point(center.x + size.x/2f, center.y - size
60 fromCenterVerticalAxis(Point center, Point vAxis, Point size) argument
[all...]
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/drawable/
H A DCircleFramedDrawable.java58 public CircleFramedDrawable(Bitmap icon, int size) { argument
60 mSize = size;
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/recents/model/
H A DFilteredTaskList.java76 /** Returns the size of the list of filtered tasks */
77 int size() { method in class:FilteredTaskList
78 return mFilteredTasks.size();
92 int taskCount = mTasks.size();
112 int taskCount = mFilteredTasks.size();
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/leak/
H A DAbstractCollection.java24 public abstract int size(); method in class:AbstractCollection
H A DWeakIdentityHashMap.java61 public int size() { method in class:WeakIdentityHashMap
63 return mMap.size();
/frameworks/base/services/core/java/com/android/server/audio/
H A DAudioEventLogger.java93 * @param size the maximum number of events to keep in log
96 public AudioEventLogger(int size, String title) { argument
98 mMemSize = size;
103 if (mEvents.size() >= mMemSize) {
/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/storage/
H A DRecoverySessionStorage.java108 public int size() { method in class:RecoverySessionStorage
109 int size = 0;
110 int numberOfUsers = mSessionsByUid.size();
113 size += entries.size();
115 return size;
125 int numberOfUids = mSessionsByUid.size();
/frameworks/base/services/robotests/src/com/android/server/testing/shadows/
H A DShadowBackupDataInput.java76 public int readEntityData(byte[] data, int offset, int size) throws IOException { argument
78 int result = mInput.read(data, offset, size);
H A DShadowBackupDataOutput.java63 final int size;
66 size = byteStream.size();
69 return size;
81 public int writeEntityData(byte[] data, int size) throws IOException { argument
82 mOutput.write(data, 0, size);
84 return size;
/frameworks/base/tests/GridLayoutTest/src/com/android/test/layout/
H A DAlignmentTest.java50 View create(String name, int size); argument
54 public View create(String name, int size) {
68 public View create(String name, int size) {
77 public View create(String name, int size) {
/frameworks/base/tools/aapt2/io/
H A DFileStream.cpp60 bool FileInputStream::Next(const void** data, size_t* size) { argument
68 *size = buffer_size_ - buffer_offset_;
87 *size = buffer_size_;
142 bool FileOutputStream::Next(void** data, size_t* size) { argument
155 *size = buffer_size;
/frameworks/base/tools/aapt2/util/
H A DBigBuffer.h33 * in which to write without knowing the full size of the entire payload.
52 size_t size; member in struct:aapt::BigBuffer::Block
58 * The size of the memory block allocation.
76 size_t size() const;
86 * Returns the next block available and puts the size in out_count.
87 * This is useful for grabbing blocks where the size doesn't matter.
126 * Returns a pointer to a buffer of the requested size.
129 void* NextBlockImpl(size_t size);
144 inline size_t BigBuffer::size() const { return size_; } function in class:aapt::BigBuffer
158 block.size
[all...]
/frameworks/base/tools/bit/
H A Dadb.cpp39 Buffer(char* begin, size_t size);
42 Buffer::Buffer(char* begin, size_t size) argument
44 this->setg(begin, begin, begin + size);
114 uint64_t size = read_varint(fd, err, &done); local
118 if (size == 0) {
123 if (size > 10*1024*1024) {
124 print_error("result buffer too large: %llu", size);
127 char* buf = (char*)malloc(size);
129 print_error("Can't allocate a buffer of size for test results: %llu", size);
157 size_t size; local
182 skip_bytes(int fd, ssize_t size, char* scratch, int scratchSize) argument
[all...]
H A Dprint.cpp124 int size = ws.ws_col + 1; local
125 char* buf = (char*)malloc(size);
129 vsnprintf(buf, size, format, args);
/frameworks/compile/mclinker/include/mcld/Fragment/
H A DFragment.h53 virtual size_t size() const { function in class:mcld::Fragment
54 assert(false && "Can not call abstract Fragment::size()!");
/frameworks/compile/mclinker/include/mcld/LD/
H A DEhFrameReader.h51 uint64_t size; member in struct:mcld::EhFrameReader::Token
H A DLDSymbol.h106 SizeType size() const { return m_pResolveInfo->size(); } function in class:mcld::LDSymbol
H A DRelocData.h69 size_t size() const { return m_Relocations.size(); } function in class:mcld::RelocData

Completed in 392 milliseconds

<<11121314151617181920>>