/frameworks/media/libvideoeditor/lvpp/ |
H A D | VideoEditorPlayer.cpp | 459 const void* buffer, size_t size) { 466 const void* buffer, size_t size) { 470 //LOGV("write(%p, %u)", buffer, size); 472 snoopWrite(buffer, size); 473 ssize_t ret = mTrack->write(buffer, size); 527 me, buffer->raw, buffer->size, me->mCallbackCookie); 529 buffer->size = actualSize; 549 ::write(fd, result.string(), result.size()); 458 snoopWrite( const void* buffer, size_t size) argument 465 write( const void* buffer, size_t size) argument
|
/frameworks/base/services/java/com/android/server/am/ |
H A D | ActivityManagerService.java | 424 * Packages that the user has asked to have run in screen size 494 for (int i=dest.size()-1; i>=0; i--) { 1009 for (int i = mLruProcesses.size() - 1 ; i >= 0 ; i--) { 1023 for (int i = mLruProcesses.size() - 1 ; i >= 0 ; i--) { 1046 for (int i = mLruProcesses.size() - 1 ; i >= 0 ; i--) { 1705 int i = mLruProcesses.size()-1; 1714 if (app.activities.size() > 0) { 1718 } else if (app.pubProviders.size() > 0) { 1752 if (app.connections.size() > 0) { 1762 if (app.conProviders.size() > [all...] |
/frameworks/base/core/java/android/widget/ |
H A D | ExpandableListConnector.java | 110 final int numExpGroups = egml.size(); 260 final int numExpGroups = egml.size(); 519 int egmlSize = egml.size(); 657 if (mExpGroupMetadataList.size() >= mMaxExpGroupCount) { 700 for (int i = mExpGroupMetadataList.size() - 1; i >= 0; i--) { 744 for (int i = expandedGroupMetadataList.size() - 1; i >= 0; i--) { 936 public GroupMetadata[] newArray(int size) { 937 return new GroupMetadata[size]; 997 if (sPool.size() > 0) { 1009 if (sPool.size() < MAX_POOL_SIZ [all...] |
/frameworks/base/test-runner/src/android/test/ |
H A D | TouchUtils.java | 57 final Point size = new Point(); 58 display.getSize(size); 60 final float x = size.x / 2.0f; 61 final float fromY = size.y * 0.5f; 62 final float toY = size.y * 0.75f; 87 final Point size = new Point(); 88 display.getSize(size); 90 final float x = size.x / 2.0f; 91 final float fromY = size.y * 0.5f; 92 final float toY = size [all...] |
/frameworks/base/core/java/android/preference/ |
H A D | PreferenceManager.java | 212 for (int i = activities.size() - 1; i >= 0; i--) { 589 final int N = list.size(); 639 final int N = list.size(); 689 final int N = list.size(); 757 for (int i = screensToDismiss.size() - 1; i >= 0; i--) {
|
/frameworks/base/core/java/android/view/inputmethod/ |
H A D | InputMethodInfo.java | 186 if (mSubtypes.size() == 0) { 192 final int N = additionalSubtypes.size(); 315 return mSubtypes.size(); 409 public InputMethodInfo[] newArray(int size) { 410 return new InputMethodInfo[size];
|
/frameworks/base/core/jni/android/graphics/ |
H A D | Region.cpp | 178 size_t size = p->readInt32(); local 179 region->unflatten(p->readInplace(size)); 192 size_t size = region->flatten(NULL); local 193 p->writeInt32(size); 194 region->flatten(p->writeInplace(size));
|
/frameworks/base/core/tests/coretests/src/com/android/internal/net/ |
H A D | NetworkStatsFactoryTest.java | 74 assertEquals(70, stats.size()); 86 assertEquals(6, stats.size()); 104 assertEquals(7, stats.size()); 146 assertEquals(70, stats.size()); 155 assertEquals(6, stats.size());
|
/frameworks/base/include/utils/ |
H A D | GenerationCache.h | 75 uint32_t size() const; 104 uint32_t GenerationCache<K, V>::size() const { function in class:android::GenerationCache 105 return mCache.size(); 120 for (uint32_t i = 0; i < mCache.size(); i++) { 164 if (mMaxCapacity != kUnlimitedCapacity && mCache.size() >= mMaxCapacity) {
|
/frameworks/base/libs/ui/ |
H A D | GraphicBuffer.cpp | 208 status_t GraphicBuffer::flatten(void* buffer, size_t size, argument 212 if (size < sizeNeeded) return NO_MEMORY; 238 status_t GraphicBuffer::unflatten(void const* buffer, size_t size, argument 241 if (size < 8*sizeof(int)) return NO_MEMORY; 250 if (size < sizeNeeded) return NO_MEMORY;
|
/frameworks/base/media/libstagefright/ |
H A D | AudioSource.cpp | 295 CHECK_EQ(audioBuffer.size & 1, 0u); 296 size_t bufferSize = numLostBytes + audioBuffer.size; 301 audioBuffer.i16, audioBuffer.size); 303 if (audioBuffer.size == 0) { 309 audioBuffer.i16, audioBuffer.size);
|
/frameworks/base/media/libstagefright/codecs/on2/h264dec/omxdl/arm11/api/ |
H A D | armCOMM_s.h | 194 ;// $size = the size of each entry, must be power of 2 197 M_FIELD $fname, $size, $number 198 IF (_StOff:AND:($size-1))!=0 199 _StOff SETA _StOff + ($size - (_StOff:AND:($size-1))) 203 _StOff SETA _StOff + $size*$number 205 _StOff SETA _StOff + $size 288 ;// Therefore for each alignment size we must have an area 312 ;// $name size [all...] |
/frameworks/base/media/libstagefright/codecs/on2/h264dec/omxdl/arm_neon/api/ |
H A D | armCOMM_s.h | 197 ;// $size = the size of each entry, must be power of 2 200 M_FIELD $fname, $size, $number 201 IF (_StOff:AND:($size-1))!=0 202 _StOff SETA _StOff + ($size - (_StOff:AND:($size-1))) 206 _StOff SETA _StOff + $size*$number 208 _StOff SETA _StOff + $size 291 ;// Therefore for each alignment size we must have an area 315 ;// $name size [all...] |
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/ |
H A D | MediaPlayerMetadataParserTest.java | 83 // Most tests will use a properly formed parcel with a size 85 mParcel.writeInt(-1); // Placeholder for the size 93 // There should be at least 8 bytes in the parcel, 4 for the size 106 // There should be at least 'size' bytes in the parcel. 109 final int size = 20; 111 mParcel.writeInt(size); 112 mParcel.setDataSize(size - 1); 175 assertEquals(3, mMetadata.keySet().size()); 208 assertEquals(1, mMetadata.keySet().size());
|
/frameworks/base/opengl/java/android/opengl/ |
H A D | GLES11.java | 161 // C function void glBufferData ( GLenum target, GLsizeiptr size, const GLvoid *data, GLenum usage ) 165 int size, 170 // C function void glBufferSubData ( GLenum target, GLintptr offset, GLsizeiptr size, const GLvoid *data ) 175 int size, 218 // C function void glColorPointer ( GLint size, GLenum type, GLsizei stride, GLint offset ) 221 int size, 625 // C function void glTexCoordPointer ( GLint size, GLenum type, GLsizei stride, GLint offset ) 628 int size, 718 // C function void glVertexPointer ( GLint size, GLenum type, GLsizei stride, GLint offset ) 721 int size, 163 glBufferData( int target, int size, java.nio.Buffer data, int usage ) argument 172 glBufferSubData( int target, int offset, int size, java.nio.Buffer data ) argument 220 glColorPointer( int size, int type, int stride, int offset ) argument 627 glTexCoordPointer( int size, int type, int stride, int offset ) argument 720 glVertexPointer( int size, int type, int stride, int offset ) argument [all...] |
/frameworks/base/opengl/java/javax/microedition/khronos/opengles/ |
H A D | GL11.java | 154 int size, 162 int size, 196 int size, 473 int size, 544 int size, 152 glBufferData( int target, int size, java.nio.Buffer data, int usage ) argument 159 glBufferSubData( int target, int offset, int size, java.nio.Buffer data ) argument 195 glColorPointer( int size, int type, int stride, int offset ) argument 472 glTexCoordPointer( int size, int type, int stride, int offset ) argument 543 glVertexPointer( int size, int type, int stride, int offset ) argument
|
/frameworks/base/opengl/tools/glgen/stubs/jsr239/ |
H A D | GLCHeader.cpp | 48 GL_API void GL_APIENTRY glColorPointerBounds(GLint size, GLenum type, GLsizei stride, 52 GL_API void GL_APIENTRY glTexCoordPointerBounds(GLint size, GLenum type, 54 GL_API void GL_APIENTRY glVertexPointerBounds(GLint size, GLenum type, 58 GL_API void GL_APIENTRY glMatrixIndexPointerOESBounds(GLint size, GLenum type, 60 GL_API void GL_APIENTRY glWeightPointerOESBounds(GLint size, GLenum type,
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recent/ |
H A D | RecentTasksLoader.java | 69 // get the icon size we want -- on tablets, we use bigger icons 229 int numTasks = recentTasks.size(); 254 if (descriptions.size() > 0) { 255 if (DEBUG) Log.v(TAG, "Showing " + descriptions.size() + " tasks"); 257 if (descriptions.size() > 1) { 281 for (int i=1; i<descriptions.size(); i++) {
|
/frameworks/base/cmds/keystore/ |
H A D | keystore.cpp | 97 static size_t readFully(int fd, uint8_t* data, size_t size) { argument 98 size_t remaining = size; 100 ssize_t n = TEMP_FAILURE_RETRY(read(fd, data, size)); 102 return size-remaining; 107 return size; 110 static size_t writeFully(int fd, uint8_t* data, size_t size) { argument 111 size_t remaining = size; 113 ssize_t n = TEMP_FAILURE_RETRY(write(fd, data, size)); 115 return size-remaining; 120 return size; 142 generate_random_data(uint8_t* data, size_t size) argument 785 socklen_t size = sizeof(cred); local [all...] |
/frameworks/base/core/java/com/android/internal/widget/multiwaveview/ |
H A D | MultiWaveView.java | 190 if (mTargetDrawables == null || mTargetDrawables.size() == 0) { 233 + (mTargetDrawables.size() > 0 ? (mTargetDrawables.get(0).getWidth()/2) : 0); 240 + (mTargetDrawables.size() > 0 ? (mTargetDrawables.get(0).getHeight()/2) : 0); 438 for (int i = 0; i < mTargetDrawables.size(); i++) { 447 if (mTargetAnimations.size() > 0) { 477 if (mTargetAnimations.size() > 0) { 700 boolean singleTarget = mTargetDrawables.size() == 1; 713 for (int i = 0; i < mTargetDrawables.size(); i++) { 850 for (int i = 0; i < mTargetDrawables.size(); i++) { 852 double angle = -2.0f * Math.PI * i / mTargetDrawables.size(); [all...] |
/frameworks/base/core/tests/coretests/src/android/content/pm/ |
H A D | ComponentTest.java | 167 assertEquals(0, infoList.size()); 172 assertEquals(1, infoList2.size()); 187 assertEquals(1, infoList.size()); 246 assertEquals(1, infoList.size()); 274 assertEquals(0, infoList.size()); 314 assertEquals(0, infoList.size()); 319 assertEquals(1, infoList2.size()); 334 assertEquals(1, infoList.size()); 424 assertEquals(0, infoList.size()); 429 assertEquals(1, infoList2.size()); [all...] |
/frameworks/base/media/jni/soundpool/ |
H A D | SoundPool.cpp | 514 LOGV("pointer = %p, size = %u, sampleRate = %u, numChannels = %d", 515 p->pointer(), p->size(), sampleRate, numChannels); 527 //_dumpBuffer(p->pointer(), p->size()); 528 uint8_t* q = static_cast<uint8_t*>(p->pointer()) + p->size() - 10; 532 mSize = p->size(); 587 frameCount = sample->size()/numChannels/ 592 // Ensure minimum audio buffer size in case of short looped sample 602 // wrong audio audio buffer size (mAudioBufferSize) 705 b->size = 0; 717 if (b->size [all...] |
/frameworks/base/services/java/com/android/server/ |
H A D | AlarmManagerService.java | 290 if (alarmList.size() <= 0) { 314 if (alarmList.size() <= 0) { 337 for (int i=alarmList.size()-1; i>=0; i--) { 368 Slog.v(TAG, "alarms: " + alarmList.size() + " type: " + alarm.type); 389 if (alarmList.size() > 0) { 439 if (mRtcWakeupAlarms.size() > 0 || mRtcAlarms.size() > 0) { 445 if (mRtcWakeupAlarms.size() > 0) { 448 if (mRtcAlarms.size() > 0) { 452 if (mElapsedRealtimeWakeupAlarms.size() > [all...] |
/frameworks/base/opengl/libagl/ |
H A D | texture.cpp | 287 const size_t size = src.height * src.stride * pixelFormat.size; local 288 memcpy(dst.data, src.data, size); 377 // figure out the size we need as well as the stride 380 const int32_t bpr = ((width * pixelFormat.size) + align) & ~align; 381 const size_t size = bpr * height; local 382 const int32_t stride = bpr / pixelFormat.size; 393 *outSize = size; 405 *outSize = size; 440 size_t size local 1118 int32_t size; local [all...] |
/frameworks/base/media/libstagefright/codecs/m4v_h263/enc/src/ |
H A D | mp4enc_api.cpp | 133 Int UpdateSkipNextFrame(VideoEncData *video, ULong *modTime, Int *size, PV_STATUS status); 192 Int size = 0, nTotalMB = 0; local 266 /* cannot have zero size packet with these modes */ 353 encParams->VBV_delay = encOption->vbvDelay; /* 2sec VBV buffer size */ 541 encParams->VBV_delay = (float)2.0; /* default 2sec VBV buffer size */ 545 encParams->VBV_delay = (float)0.5; /* default 0.5sec VBV buffer size */ 550 encParams->VBV_delay = (float)10.0; /* default 10sec VBV buffer size */ 616 /* Check if the video size and framerate(MBsPerSec) are vald */ 744 size = pitch * max_height; 746 video->currVop->yChan = (PIXEL *)M4VENC_MALLOC(sizeof(PIXEL) * (size 1282 PVGetVolHeader(VideoEncControls *encCtrl, UChar *volHeader, Int *size, Int layer) argument 1353 PVEncodeVideoFrame(VideoEncControls *encCtrl, VideoEncFrameIO *vid_in, VideoEncFrameIO *vid_out, ULong *nextModTime, UChar *bstream, Int *size, Int *nLayer) argument 1838 PVEncodeSlice(VideoEncControls *encCtrl, UChar *bstream, Int *size, Int *endofFrame, VideoEncFrameIO *vid_out, ULong *nextModTime) argument 2826 UpdateSkipNextFrame(VideoEncData *video, ULong *modTime, Int *size, PV_STATUS status) argument [all...] |