/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/apps/TV/src/com/android/tv/tuner/exoplayer/buffer/ |
D | BufferManager.java | 73 mBufferSize += chunk.getSize(); 78 mBufferSize -= chunk.getSize(); 323 mSize += chunk.getSize(); in add() 333 mSize -= chunk.getSize(); in poll() 340 private long getSize() { in getSize() method in BufferManager.EvictChunkQueueMap 491 long pendingDelete = mPendingDelete.getSize(); in maybeEvictChunk() 523 mBufferSize, pendingDelete, earliestChunk.getSize(), earliestChunkId, in maybeEvictChunk() 531 pendingDelete = mPendingDelete.getSize(); in maybeEvictChunk()
|
/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/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/ExactCalculator/src/com/android/calculator2/ |
D | CalculatorScrollView.java | 46 final int size = Math.max(0, MeasureSpec.getSize(spec) - padding); in getChildMeasureSpecCompat() 57 MeasureSpec.getSize(parentWidthMeasureSpec), UNSPECIFIED); in measureChild() 73 MeasureSpec.getSize(parentWidthMeasureSpec), UNSPECIFIED); in measureChildWithMargins()
|
/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/TvSettings/Settings/src/com/android/tv/settings/widget/ |
D | ScrollAdapterView.java | 584 if (hasScrollPosition(centerMain, getSize(view), scrollCenter) 1156 int widthSize = MeasureSpec.getSize(widthMeasureSpec); 1157 int heightSize = MeasureSpec.getSize(heightMeasureSpec); 1829 info.mainPos = (float)(scrollCenter - center) / getSize(view); 1842 info.mainPos = (float) (scrollCenter - center) / getSize(view); 1928 deltaMain = (int) (getSize(view) * scrollPosition); 2093 private int getSize(View v) { 2610 nextCenter = center + (getSize(view) + getSize(nextView)) / 2; 2613 nextCenter = center + getSize(view); 2616 nextCenter = center + getSize(nextView);
|
/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/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/PackageInstaller/src/com/android/packageinstaller/permission/ui/ |
D | ManualLayoutFrame.java | 43 newWidth = Math.min(mWidth, MeasureSpec.getSize(widthMeasureSpec)); in onMeasure() 46 newWidth = MeasureSpec.getSize(widthMeasureSpec); in onMeasure()
|
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/Email/tests/src/com/android/email/mail/store/ |
D | Pop3StoreUnitTests.java | 538 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/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/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/Settings/src/com/android/settings/widget/ |
D | DotsPageIndicator.java | 285 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/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()
|