/packages/apps/Email/tests/src/com/android/email/service/ |
D | AttachmentServiceTests.java | 50 assertEquals(0, dq.getSize()); in testDownloadQueueEmptyQueue() 60 assertEquals(1, dq.getSize()); in testDownloadQueueAddRequest() 73 assertEquals(0, dq.getSize()); in testDownloadQueueAddRequestNull() 83 assertEquals(1, dq.getSize()); in testDownloadQueueAddRequestExisting() 89 assertEquals(1, dq.getSize()); in testDownloadQueueAddRequestExisting() 99 assertEquals(1, dq.getSize()); in testDownloadQueueRemoveRequest() 107 assertEquals(0, dq.getSize()); in testDownloadQueueRemoveRequest() 117 assertEquals(dq.getSize(), 1); in testDownloadQueueRemoveRequestNull() 125 assertEquals(1, dq.getSize()); in testDownloadQueueRemoveRequestNull() 135 assertEquals(1, dq.getSize()); in testDownloadQueueRemoveRequestDoesNotExist() [all …]
|
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/dicnode/ |
D | dic_nodes_cache.h | 68 AKLOGI("Advance active %d nodes.", mNextActiveDicNodes->getSize()); in advanceActiveDicNodes() 77 int activeSize() const { return mActiveDicNodes->getSize(); } in activeSize() 78 int terminalSize() const { return mTerminalDicNodes->getSize(); } in terminalSize() 114 && mCachedDicNodesForContinuousSuggestion->getSize() > 0; in hasCachedDicNodesForContinuousSuggestion() 136 mCachedDicNodesForContinuousSuggestion->getSize(), mLastCachedInputIndex); in restoreActiveDicNodesFromCache()
|
D | dic_node_priority_queue.h | 40 AK_FORCE_INLINE int getSize() const { in getSize() function 69 if (getSize() < mMaxSize) { in copyPush()
|
/packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer/buffer/ |
D | BufferManager.java | 73 mBufferSize += chunk.getSize(); 78 mBufferSize -= chunk.getSize(); 314 mSize += chunk.getSize(); in add() 324 mSize -= chunk.getSize(); in poll() 331 private long getSize() { in getSize() method in BufferManager.EvictChunkQueueMap 501 long pendingDelete = mPendingDelete.getSize(); in maybeEvictChunk() 538 earliestChunk.getSize(), in maybeEvictChunk() 547 pendingDelete = mPendingDelete.getSize(); in maybeEvictChunk()
|
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
D | SwipeHelper.java | 141 private float getSize(View v) { in getSize() method in SwipeHelper 147 float viewSize = getSize(view); in getAlphaForOffset() 161 float viewSize = getSize(view); in getTextAlphaForOffset() 311 newPos = -getSize(animView); in determinePos() 313 newPos = getSize(animView); in determinePos() 379 float size = getSize(mCurrAnimView); in onTouchEvent() 413 float currAnimViewSize = getSize(mCurrAnimView); in onTouchEvent()
|
/packages/apps/Car/libs/car-apps-common/src/com/android/car/apps/common/ |
D | RecycleBitmapPool.java | 61 public static int getSize(Bitmap bitmap) { in getSize() method in RecycleBitmapPool 77 private static int getSize(int width, int height) { in getSize() method in RecycleBitmapPool 92 int key = getSize(bitmap); in addRecycledBitmap() 111 int key = getSize(width, height); in getRecycledBitmap()
|
/packages/apps/LegacyCamera/src/com/android/camera/ui/ |
D | IndicatorControlWheelContainer.java | 134 measuredWidth = Math.min(desiredWidth, MeasureSpec.getSize(widthSpec)); in onMeasure() 136 measuredWidth = MeasureSpec.getSize(widthSpec); in onMeasure() 141 measuredHeight = Math.min(desiredHeight, MeasureSpec.getSize(heightSpec)); in onMeasure() 143 measuredHeight = MeasureSpec.getSize(heightSpec); in onMeasure()
|
D | ControlPanelLayout.java | 41 int widthSpecSize = MeasureSpec.getSize(widthSpec); in onMeasure() 42 int heightSpecSize = MeasureSpec.getSize(heightSpec); in onMeasure()
|
/packages/apps/Settings/src/com/android/settings/biometrics/face/ |
D | FaceSquareTextureView.java | 43 int width = MeasureSpec.getSize(widthMeasureSpec); in onMeasure() 44 int height = MeasureSpec.getSize(heightMeasureSpec); in onMeasure()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/biometrics/face/ |
D | FaceSquareTextureView.java | 43 int width = MeasureSpec.getSize(widthMeasureSpec); in onMeasure() 44 int height = MeasureSpec.getSize(heightMeasureSpec); in onMeasure()
|
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/archives/ |
D | ArchiveHandleTest.java | 78 this(archiveEntry.getName(), archiveEntry.getSize(), archiveEntry.isDirectory()); in ArchiveEntryRecord() 109 public long getSize() { in getSize() method in ArchiveHandleTest.ArchiveEntryRecord 424 when(archiveEntry.getSize()).thenReturn(0L); in getInputStream_zeroSizeEntry_shouldFail() 441 when(archiveEntry.getSize()).thenReturn(14L); in getInputStream_emptyStringEntry_shouldFail()
|
/packages/apps/Gallery2/src/com/android/photos/views/ |
D | SquareImageView.java | 43 int width = MeasureSpec.getSize(widthMeasureSpec); in onMeasure() 46 height = Math.min(height, MeasureSpec.getSize(heightMeasureSpec)); in onMeasure()
|
/packages/apps/DeskClock/src/com/android/deskclock/ |
D | TimerCircleFrameLayout.java | 58 final int width = MeasureSpec.getSize(widthMeasureSpec) - paddingLeft - paddingRight; in onMeasure() 59 final int height = MeasureSpec.getSize(heightMeasureSpec) - paddingTop - paddingBottom; in onMeasure()
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/ |
D | CenteredLinearLayout.java | 39 int parentWidth = MeasureSpec.getSize(widthMeasureSpec); in onMeasure() 40 int parentHeight = MeasureSpec.getSize(heightMeasureSpec); in onMeasure()
|
/packages/apps/Launcher3/src/com/android/launcher3/graphics/ |
D | TintedDrawableSpan.java | 41 public int getSize(Paint paint, CharSequence text, int start, int end, FontMetricsInt fm) { in getSize() method in TintedDrawableSpan 45 return super.getSize(paint, text, start, end, fm); in getSize()
|
/packages/apps/PermissionController/src/com/android/packageinstaller/permission/ui/ |
D | PreferenceImageView.java | 49 final int widthSize = MeasureSpec.getSize(widthMeasureSpec); in onMeasure() 59 final int heightSize = MeasureSpec.getSize(heightMeasureSpec); in onMeasure()
|
/packages/apps/Dialer/java/com/android/incallui/answer/impl/ |
D | FixedAspectSurfaceView.java | 69 int width = MeasureSpec.getSize(widthMeasureSpec); in onMeasure() 70 int height = MeasureSpec.getSize(heightMeasureSpec); in onMeasure()
|
/packages/apps/LegacyCamera/src/com/android/camera/ |
D | PreviewFrameLayout.java | 64 int previewWidth = MeasureSpec.getSize(widthSpec); in onMeasure() 65 int previewHeight = MeasureSpec.getSize(heightSpec); in onMeasure()
|
/packages/apps/Car/Settings/src/com/android/car/settings/storage/ |
D | StorageSizeBasePreferenceController.java | 58 protected abstract long getSize(); in getSize() method in StorageSizeBasePreferenceController 81 preference.setDetailText(getSizeStr(getSize())); in updateState()
|
/packages/apps/DeskClock/src/com/android/deskclock/widget/ |
D | EllipsizeLayout.java | 71 final int parentWidth = MeasureSpec.getSize(widthMeasureSpec); in onMeasure() 73 makeMeasureSpec(MeasureSpec.getSize(widthMeasureSpec), MeasureSpec.UNSPECIFIED); in onMeasure()
|
D | TextSizeHelper.java | 58 widthConstraint = View.MeasureSpec.getSize(widthMeasureSpec) in onMeasure() 64 heightConstraint = View.MeasureSpec.getSize(heightMeasureSpec) in onMeasure()
|
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/fallback/ |
D | RecentsRootView.java | 57 int width = Math.max(MIN_SIZE, MeasureSpec.getSize(widthMeasureSpec)); in onMeasure() 58 int height = Math.max(MIN_SIZE, MeasureSpec.getSize(heightMeasureSpec)); in onMeasure()
|
/packages/apps/Gallery2/src/com/android/photos/data/ |
D | GalleryBitmapPool.java | 113 public int getSize() { in getSize() method in GalleryBitmapPool 119 total += p.getSize(); in getSize()
|
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/ |
D | CameraPreview.java | 71 final int width = View.MeasureSpec.getSize(widthMeasureSpec); in getWidthMeasureSpec() 81 final int width = View.MeasureSpec.getSize(widthMeasureSpec); in getHeightMeasureSpec()
|
/packages/apps/Dialer/java/com/android/dialer/callcomposer/camera/ |
D | CameraPreview.java | 94 final int width = View.MeasureSpec.getSize(widthMeasureSpec); in getWidthMeasureSpec() 104 final int width = View.MeasureSpec.getSize(widthMeasureSpec); in getHeightMeasureSpec()
|