Home
last modified time | relevance | path

Searched refs:getSize (Results 1 – 25 of 159) sorted by relevance

1234567

/packages/apps/Email/tests/src/com/android/email/service/
DAttachmentServiceTests.java50 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/
Ddic_nodes_cache.h68 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()
Ddic_node_priority_queue.h40 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/
DBufferManager.java73 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/
DSwipeHelper.java141 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/
DRecycleBitmapPool.java61 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/
DIndicatorControlWheelContainer.java134 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()
DControlPanelLayout.java41 int widthSpecSize = MeasureSpec.getSize(widthSpec); in onMeasure()
42 int heightSpecSize = MeasureSpec.getSize(heightSpec); in onMeasure()
/packages/apps/Settings/src/com/android/settings/biometrics/face/
DFaceSquareTextureView.java43 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/
DFaceSquareTextureView.java43 int width = MeasureSpec.getSize(widthMeasureSpec); in onMeasure()
44 int height = MeasureSpec.getSize(heightMeasureSpec); in onMeasure()
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/archives/
DArchiveHandleTest.java78 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/
DSquareImageView.java43 int width = MeasureSpec.getSize(widthMeasureSpec); in onMeasure()
46 height = Math.min(height, MeasureSpec.getSize(heightMeasureSpec)); in onMeasure()
/packages/apps/DeskClock/src/com/android/deskclock/
DTimerCircleFrameLayout.java58 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/
DCenteredLinearLayout.java39 int parentWidth = MeasureSpec.getSize(widthMeasureSpec); in onMeasure()
40 int parentHeight = MeasureSpec.getSize(heightMeasureSpec); in onMeasure()
/packages/apps/Launcher3/src/com/android/launcher3/graphics/
DTintedDrawableSpan.java41 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/
DPreferenceImageView.java49 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/
DFixedAspectSurfaceView.java69 int width = MeasureSpec.getSize(widthMeasureSpec); in onMeasure()
70 int height = MeasureSpec.getSize(heightMeasureSpec); in onMeasure()
/packages/apps/LegacyCamera/src/com/android/camera/
DPreviewFrameLayout.java64 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/
DStorageSizeBasePreferenceController.java58 protected abstract long getSize(); in getSize() method in StorageSizeBasePreferenceController
81 preference.setDetailText(getSizeStr(getSize())); in updateState()
/packages/apps/DeskClock/src/com/android/deskclock/widget/
DEllipsizeLayout.java71 final int parentWidth = MeasureSpec.getSize(widthMeasureSpec); in onMeasure()
73 makeMeasureSpec(MeasureSpec.getSize(widthMeasureSpec), MeasureSpec.UNSPECIFIED); in onMeasure()
DTextSizeHelper.java58 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/
DRecentsRootView.java57 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/
DGalleryBitmapPool.java113 public int getSize() { in getSize() method in GalleryBitmapPool
119 total += p.getSize(); in getSize()
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/
DCameraPreview.java71 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/
DCameraPreview.java94 final int width = View.MeasureSpec.getSize(widthMeasureSpec); in getWidthMeasureSpec()
104 final int width = View.MeasureSpec.getSize(widthMeasureSpec); in getHeightMeasureSpec()

1234567