Home
last modified time | relevance | path

Searched refs:targetSize (Results 1 – 25 of 36) sorted by relevance

12

/frameworks/av/media/libstagefright/
DDataConverter.cpp36 size_t size = targetSize(source->size()); in convert()
56 size_t DataConverter::sourceSize(size_t targetSize) { in sourceSize() argument
57 return targetSize; in sourceSize()
60 size_t DataConverter::targetSize(size_t sourceSize) { in targetSize() function in android::DataConverter
67 size_t SampleConverterBase::sourceSize(size_t targetSize) { in sourceSize() argument
68 size_t numSamples = targetSize / mTargetSampleSize; in sourceSize()
71 targetSize, mSourceSampleSize, mTargetSampleSize); in sourceSize()
77 size_t SampleConverterBase::targetSize(size_t sourceSize) { in targetSize() function in android::SampleConverterBase
/frameworks/base/packages/SystemUI/compose/scene/src/com/android/compose/animation/scene/
DUserActionDistanceScopeImpl.kt25 override fun ElementKey.targetSize(scene: SceneKey): IntSize? { in targetSize() method in com.android.compose.animation.scene.ElementStateScopeImpl
26 return layoutImpl.elements[this]?.sceneStates?.get(scene)?.targetSize.takeIf { in targetSize()
37 override fun SceneKey.targetSize(): IntSize? { in targetSize() method in com.android.compose.animation.scene.ElementStateScopeImpl
38 return layoutImpl.scenes[this]?.targetSize.takeIf { it != IntSize.Zero } in targetSize()
DSceneTransitionLayoutImpl.kt251 scenes.values.forEach { it.targetSize = size } in <lambda>()
286 val fromSize = layoutImpl.scene(transition.fromScene).targetSize in approachMeasure()
287 val toSize = layoutImpl.scene(transition.toScene).targetSize in approachMeasure()
DScene.kt48 var targetSize by mutableStateOf(IntSize.Zero) in <lambda>() variable
78 targetSize = lookaheadSize in <lambda>()
DMovableElement.kt209 val targetValueInScene = element.sceneStates.getValue(scene).targetSize in placeholderContentSize()
223 val targetValueInOtherScene = element.sceneStates[otherScene]?.targetSize in placeholderContentSize()
DSceneTransitionLayout.kt152 fun ElementKey.targetSize(scene: SceneKey): IntSize? in scene() method
164 fun SceneKey.targetSize(): IntSize? in scene() method
DElement.kt85 var targetSize by mutableStateOf(SizeUnspecified) in <lambda>() variable in com.android.compose.animation.scene.Element.SceneState
266 sceneState.targetSize = size() in measure()
874 val targetSize = in measure() constant
880 sceneValue = { it.targetSize }, in measure()
899 value = targetSize, in measure()
/frameworks/av/media/libstagefright/include/
DDataConverter.h31 virtual size_t sourceSize(size_t targetSize); // will clamp to SIZE_MAX
32 virtual size_t targetSize(size_t sourceSize); // will clamp to SIZE_MAX
44 virtual size_t sourceSize(size_t targetSize);
45 virtual size_t targetSize(size_t sourceSize);
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/bubbles/
DDismissView.kt128 val targetSize: Int = resources.getDimensionPixelSize(config.targetSizeResId) in setup() constant
129 circle.layoutParams = LayoutParams(targetSize, targetSize, in setup()
189 val targetSize = resources.getDimensionPixelSize(config.targetSizeResId) in updateResources() constant
190 circle.layoutParams.width = targetSize in updateResources()
191 circle.layoutParams.height = targetSize in updateResources()
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/udfps/
DBoundingBoxOverlapDetector.kt26 class BoundingBoxOverlapDetector(private val targetSize: Float) : OverlapDetector { constant in com.android.systemui.biometrics.udfps.BoundingBoxOverlapDetector
35 val scaledRadius = (nativeSensorBounds.width() / 2) * targetSize in isGoodOverlap()
DEllipseOverlapDetector.kt106 return if (disSquared <= (r * params.targetSize) * (r * params.targetSize)) { in isPartOfSensorArea()
/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/floatingmenu/
DDragToInteractView.kt241 val targetSize = resources.getDimensionPixelSize(config.targetSizeResId) in updateResources() constant
246 circle.layoutParams.width = targetSize in updateResources()
247 circle.layoutParams.height = targetSize in updateResources()
311 val targetSize = resources.getDimensionPixelSize(config.targetSizeResId) in addCircle() constant
312 val circleLayoutParams = LinearLayout.LayoutParams(targetSize, targetSize, 0f) in addCircle()
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/common/magnetictarget/
DMagnetizedObjectTest.kt58 private val targetSize = 200 in <lambda>() constant in com.android.wm.shell.common.magnetictarget.MagnetizedObjectTest
101 `when`(targetView.width).thenReturn(targetSize) // width = 200 in <lambda>()
102 `when`(targetView.height).thenReturn(targetSize) // height = 200 in <lambda>()
106 location[0] = targetCenterX - targetSize / 2 // x = 400 in <lambda>()
107 location[1] = targetCenterY - targetSize / 2 // y = 800 in <lambda>()
488 `when`(secondTargetView.width).thenReturn(targetSize) // width = 200 in <lambda>()
489 `when`(secondTargetView.height).thenReturn(targetSize) // height = 200 in <lambda>()
497 location[0] = secondTargetCenterX - targetSize / 2 // x = 0 in <lambda>()
498 location[1] = secondTargetCenterY - targetSize / 2 // y = 800 in <lambda>()
/frameworks/base/core/java/android/view/animation/
DScaleAnimation.java261 float targetSize; in resolveScale() local
263 targetSize = TypedValue.complexToFraction(data, size, psize); in resolveScale()
265 targetSize = TypedValue.complexToDimension(data, mResources.getDisplayMetrics()); in resolveScale()
274 return targetSize/(float)size; in resolveScale()
/frameworks/base/packages/SystemUI/animation/src/com/android/systemui/surfaceeffects/ripple/
DRippleShader.kt426 val targetSize = sizes[targetIndex] in update() constant
429 val subProgress = subProgress(prevSize.t, targetSize.t, progress) in update()
431 currentWidth = targetSize.width * subProgress + prevSize.width in update()
432 currentHeight = targetSize.height * subProgress + prevSize.height in update()
/frameworks/base/packages/SystemUI/compose/scene/src/com/android/compose/animation/scene/transformation/
DEdgeTranslate.kt41 val sceneSize = layoutImpl.scene(scene).targetSize in transform()
42 val elementSize = sceneState.targetSize in transform()
DAnchoredSize.kt44 layoutImpl.elements[anchor]?.sceneStates?.get(scene)?.targetSize?.takeIf { in transform()
/frameworks/av/media/libstagefright/rtsp/
DARTPWriter.cpp397 uint32_t targetSize; in SpsPpsParser() local
404 targetSize = i - SPCSize + 1; in SpsPpsParser()
405 target = MediaBufferBase::Create(targetSize); in SpsPpsParser()
408 targetSize); in SpsPpsParser()
409 buffer->set_range(buffer->range_offset() + targetSize + SPCSize, in SpsPpsParser()
410 buffer->range_length() - targetSize - SPCSize); in SpsPpsParser()
412 targetSize = bufferSize; in SpsPpsParser()
413 target = MediaBufferBase::Create(targetSize); in SpsPpsParser()
416 targetSize); in SpsPpsParser()
459 uint32_t targetSize; in VpsSpsPpsParser() local
[all …]
/frameworks/base/libs/hwui/hwui/
DImageDecoder.cpp92 const SkISize& targetSize) { in requires_matrix_scaling() argument
93 return (swapWidthHeight && decodeSize != swapped(targetSize)) in requires_matrix_scaling()
94 || (!swapWidthHeight && decodeSize != targetSize); in requires_matrix_scaling()
126 const SkISize targetSize = { width, height }; in setTargetSize() local
127 SkISize decodeSize = swap ? SkISize { height, width } : targetSize; in setTargetSize()
132 if (requires_matrix_scaling(swap, decodeSize, targetSize)) { in setTargetSize()
137 mTargetSize = targetSize; in setTargetSize()
/frameworks/opt/bitmap/src/com/android/bitmap/
DUnrefedPooledCache.java59 public UnrefedPooledCache(int targetSize, float nonPooledFraction) { in UnrefedPooledCache() argument
62 final int nonPooledSize = Math.round(targetSize * nonPooledFraction); in UnrefedPooledCache()
68 mTargetSize = targetSize - nonPooledSize; in UnrefedPooledCache()
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/
DEllipseOverlapDetectorParams.kt13 class EllipseOverlapDetectorParams(val minOverlap: Float, val targetSize: Float, val stepSize: Int) constant in com.android.systemui.biometrics.EllipseOverlapDetectorParams
/frameworks/base/ravenwood/runtime-helper-src/framework/com/android/platform/test/ravenwood/nativesubstitution/
DParcel_host.java113 private void ensureCapacity(int targetSize) { in ensureCapacity() argument
114 if (targetSize <= getCapacity()) { in ensureCapacity()
118 if (newSize < targetSize) { in ensureCapacity()
119 newSize = targetSize; in ensureCapacity()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DSmartReplyStateInflater.kt304 targetSize: Int, in inflateActionButton()
314 decoder.setTargetSize(targetSize, targetSize) in inflateActionButton()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/biometrics/udfps/
DEllipseOverlapDetectorTest.kt35 EllipseOverlapDetectorParams(minOverlap = .4f, targetSize = .2f, stepSize = 1) in <lambda>()
/frameworks/base/media/jni/
Dandroid_media_MediaMetadataRetriever.cpp437 JNIEnv *env, jobject thiz, jint index, jobject params, jint targetSize, jint maxPixels) in android_media_MediaMetadataRetriever_getThumbnailImageAtIndex() argument
468 if (thumbWidth >= targetSize || thumbHeight >= targetSize in android_media_MediaMetadataRetriever_getThumbnailImageAtIndex()

12