Home
last modified time | relevance | path

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

1234567

/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/avrcpcontroller/bip/
DBipImageFormatTest.java38 Assert.assertEquals(-1, format.getSize()); in testParseNative_requiredOnly()
51 Assert.assertEquals(1048576, format.getSize()); in testParseNative_withSize()
64 Assert.assertEquals(-1, format.getSize()); in testParseVariant_requiredOnly()
77 Assert.assertEquals(-1, format.getSize()); in testParseVariant_withMaxSize()
122 Assert.assertEquals(-1, format.getSize()); in testParseVariant_allFields()
131 Assert.assertEquals(-1, format.getSize()); in testParseVariant_allFields()
140 Assert.assertEquals(-1, format.getSize()); in testParseVariant_allFields()
154 Assert.assertEquals(-1, format.getSize()); in testCreateNative_requiredOnly()
168 Assert.assertEquals(1048576, format.getSize()); in testCreateNative_withSize()
182 Assert.assertEquals(-1, format.getSize()); in testCreateVariant_requiredOnly()
[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/exoplayer2/buffer/
DBufferManager.java77 mBufferSize += chunk.getSize();
82 mBufferSize -= chunk.getSize();
320 mSize += chunk.getSize(); in add()
330 mSize -= chunk.getSize(); in poll()
337 private long getSize() { in getSize() method in BufferManager.EvictChunkQueueMap
508 long pendingDelete = mPendingDelete.getSize(); in maybeEvictChunk()
545 earliestChunk.getSize(), in maybeEvictChunk()
554 pendingDelete = mPendingDelete.getSize(); in maybeEvictChunk()
/packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer/buffer/
DBufferManager.java76 mBufferSize += chunk.getSize();
81 mBufferSize -= chunk.getSize();
317 mSize += chunk.getSize(); in add()
327 mSize -= chunk.getSize(); in poll()
334 private long getSize() { in getSize() method in BufferManager.EvictChunkQueueMap
504 long pendingDelete = mPendingDelete.getSize(); in maybeEvictChunk()
541 earliestChunk.getSize(), in maybeEvictChunk()
550 pendingDelete = mPendingDelete.getSize(); in maybeEvictChunk()
/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/Bluetooth/src/com/android/bluetooth/avrcpcontroller/bip/
DBipAttachmentFormat.java133 public int getSize() { in getSize() method in BipAttachmentFormat
154 && a.getSize() == getSize() in equals()
DBipImageFormat.java162 public int getSize() { in getSize() method in BipImageFormat
180 && f.getSize() == getSize() in equals()
DBipImageDescriptor.java250 public int getSize() { in getSize() method in BipImageDescriptor
281 && d.getSize() == getSize() in equals()
/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/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/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/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/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/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/LegacyCamera/src/com/android/camera/
DPreviewFrameLayout.java64 int previewWidth = MeasureSpec.getSize(widthSpec); in onMeasure()
65 int previewHeight = MeasureSpec.getSize(heightSpec); 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/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/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.kt80 val parentWidth = MeasureSpec.getSize(widthMeasureSpec) in onMeasure()
82 MeasureSpec.makeMeasureSpec(MeasureSpec.getSize(widthMeasureSpec), in onMeasure()
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()

1234567