Home
last modified time | relevance | path

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

123456

/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/usbtuner/src/com/android/usbtuner/exoplayer/cache/
DCacheManager.java73 mCacheSize += cache.getSize();
79 mCacheSize -= cache.getSize();
275 public synchronized long getSize() { in getSize() method in CacheManager.CacheSet
278 size += cache.getSize(); in getSize()
390 long pendingDelete = mPendingDelete.getSize(); in maybeEvictCache()
422 mCacheSize, pendingDelete, earliestCache.getSize(), earliestCacheId, in maybeEvictCache()
430 pendingDelete = mPendingDelete.getSize(); in maybeEvictCache()
DSampleCache.java101 public long getSize() { in getSize() method in SampleCache.CacheState
398 public long getSize() { in getSize() method in SampleCache
399 return mCacheState.getSize(); in getSize()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/
DRecycleBitmapPool.java58 public static int getSize(Bitmap bitmap) { in getSize() method in RecycleBitmapPool
74 private static int getSize(int width, int height) { in getSize() method in RecycleBitmapPool
89 int key = getSize(bitmap); in addRecycledBitmap()
108 int key = getSize(width, height); in getRecycledBitmap()
/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/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/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/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/PackageInstaller/src/com/android/packageinstaller/permission/ui/
DManualLayoutFrame.java43 newWidth = Math.min(mWidth, MeasureSpec.getSize(widthMeasureSpec)); in onMeasure()
46 newWidth = MeasureSpec.getSize(widthMeasureSpec); in onMeasure()
DPreferenceImageView.java49 final int widthSize = MeasureSpec.getSize(widthMeasureSpec); in onMeasure()
59 final int heightSize = 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/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()
/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/Camera2/src/com/android/camera/ui/
DMainActivityLayout.java152 MeasureSpec.getSize(widthMeasureSpec), MeasureSpec.getSize(heightMeasureSpec), in onMeasure()
/packages/apps/Launcher2/src/com/android/launcher2/
DPagedViewCellLayoutChildren.java80 int widthSpecSize = MeasureSpec.getSize(widthMeasureSpec); in onMeasure()
83 int heightSpecSize = MeasureSpec.getSize(heightMeasureSpec); in onMeasure()
DShortcutAndWidgetContainer.java99 int widthSpecSize = MeasureSpec.getSize(widthMeasureSpec); in onMeasure()
100 int heightSpecSize = MeasureSpec.getSize(heightMeasureSpec); in onMeasure()
/packages/apps/Email/tests/src/com/android/email/mail/store/
DPop3StoreUnitTests.java538 assertEquals(PER_MESSAGE_SIZE, messages[0].getSize()); in testCatchClosed2()
586 assertEquals(PER_MESSAGE_SIZE, messages[0].getSize()); in testCatchClosed2a()
633 assertEquals(PER_MESSAGE_SIZE, messages[0].getSize()); in testCatchClosed3()
795 assertEquals(PER_MESSAGE_SIZE, messages[0].getSize()); in checkOneUnread()
/packages/apps/UnifiedEmail/src/com/android/mail/browse/
DSubjectAndFolderView.java92 mMaxSpanWidth = MeasureSpec.getSize(widthMeasureSpec) - getTotalPaddingLeft() in onMeasure()
119 public int getSize(Paint paint, CharSequence text, int start, int end, in setFolders()
/packages/apps/Launcher3/src/com/android/launcher3/
DShortcutAndWidgetContainer.java103 int widthSpecSize = MeasureSpec.getSize(widthMeasureSpec); in onMeasure()
104 int heightSpecSize = MeasureSpec.getSize(heightMeasureSpec); in onMeasure()
/packages/apps/Settings/src/com/android/settings/widget/
DDotsPageIndicator.java285 height = MeasureSpec.getSize(heightMeasureSpec); in onMeasure()
288 height = Math.min(desiredHeight, MeasureSpec.getSize(heightMeasureSpec)); in onMeasure()
298 width = MeasureSpec.getSize(widthMeasureSpec); in onMeasure()
301 width = Math.min(desiredWidth, MeasureSpec.getSize(widthMeasureSpec)); in onMeasure()
/packages/inputmethods/LatinIME/native/jni/src/dictionary/interface/
Ddictionary_header_structure_policy.h39 virtual int getSize() const = 0;

123456