/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/pip/ |
D | PipTaskOrganizerTest.java | 158 final Size minSize = new Size(400, 320); in startSwipePipToHome_updatesOverrideMinSize() local 160 mPipTaskOrganizer.startSwipePipToHome(mComponent1, createActivityInfo(minSize), in startSwipePipToHome_updatesOverrideMinSize() 163 assertEquals(minSize, mPipBoundsState.getOverrideMinSize()); in startSwipePipToHome_updatesOverrideMinSize() 186 final Size minSize = new Size(400, 320); in onTaskAppeared_updatesOverrideMinSize() local 189 createTaskInfo(mComponent1, createPipParams(null), minSize), in onTaskAppeared_updatesOverrideMinSize() 192 assertEquals(minSize, mPipBoundsState.getOverrideMinSize()); in onTaskAppeared_updatesOverrideMinSize() 246 final Size minSize = new Size(400, 320); in onTaskInfoChanged_inPip_updatesOverrideMinSize() local 248 createPipParams(null), minSize)); in onTaskInfoChanged_inPip_updatesOverrideMinSize() 250 assertEquals(minSize, mPipBoundsState.getOverrideMinSize()); in onTaskInfoChanged_inPip_updatesOverrideMinSize() 301 ComponentName componentName, PictureInPictureParams params, Size minSize) { in createTaskInfo() argument [all …]
|
D | PipBoundsAlgorithmTest.java | 344 final Size minSize = new Size(currentBounds.width() / 2, currentBounds.height() / 2); in getAdjustedDestinationBounds_ignoreMinBounds() local 347 mPipBoundsState.setOverrideMinSize(minSize); in getAdjustedDestinationBounds_ignoreMinBounds() 352 destinationBounds.width() > minSize.getWidth() in getAdjustedDestinationBounds_ignoreMinBounds() 353 && destinationBounds.height() > minSize.getHeight()); in getAdjustedDestinationBounds_ignoreMinBounds()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/pip/ |
D | LegacySizeSpecSource.kt | 94 val minSize = Math.max(getMinEdgeSize().toFloat(), in getDefaultSize() constant 103 width = minSize in getDefaultSize() 107 height = minSize in getDefaultSize() 113 val widthAtMaxAspectRatioForMinSize: Float = mMaxAspectRatioForMinSize * minSize in getDefaultSize() 114 val radius = PointF.length(widthAtMaxAspectRatioForMinSize, minSize.toFloat()) in getDefaultSize() 144 val minSize = Math.max(getMinEdgeSize(), smallestSize) in getSizeForAspectRatio() constant 149 width = minSize in getSizeForAspectRatio() 153 height = minSize in getSizeForAspectRatio()
|
D | PipPinchResizingAlgorithm.java | 42 PointF lastPoint, PointF lastSecondPoint, Point minSize, Point maxSize, in calculateBoundsAndAngle() argument 48 float minScale = getMinScale(initialBounds, minSize); in calculateBoundsAndAngle() 75 private float getMinScale(Rect bounds, Point minSize) { in getMinScale() argument 76 return Math.max((float) minSize.x / bounds.width(), (float) minSize.y / bounds.height()); in getMinScale()
|
D | PhoneSizeSpecSource.kt | 176 val minSize = getMinSize(aspectRatio) in getDefaultSize() constant 178 return minSize in getDefaultSize() 182 minSize.width) in getDefaultSize()
|
D | PipBoundsState.java | 234 final Size minSize = mSizeSpecSource.getMinSize(aspectRatio); in updateMinMaxSize() local 235 mMinSize.set(minSize.getWidth(), minSize.getHeight()); in updateMinMaxSize()
|
/frameworks/av/media/module/codecs/amrnb/fuzzer/ |
D | amrnb_dec_fuzzer.cpp | 70 int32_t minSize = std::min((int32_t)size, frameSize); in decodeFrames() local 71 memcpy(inputBuf, data, minSize); in decodeFrames() 77 data += minSize; in decodeFrames() 78 size -= minSize; in decodeFrames()
|
/frameworks/av/media/module/codecs/amrnb/enc/fuzzer/ |
D | amrnb_enc_fuzzer.cpp | 80 int32_t minSize = std::min(size, sizeof(inputBuf)); in encodeFrames() local 83 memcpy(inputBuf, data, minSize); in encodeFrames() 87 data += minSize; in encodeFrames() 88 size -= minSize; in encodeFrames()
|
/frameworks/av/media/module/codecs/amrwb/dec/fuzzer/ |
D | amrwb_dec_fuzzer.cpp | 81 int32_t minSize = std::min((int32_t)size, frameSize); in decodeFrames() local 82 memcpy(inputBuf, data, minSize); in decodeFrames() 91 data += minSize; in decodeFrames() 92 size -= minSize; in decodeFrames()
|
/frameworks/base/core/java/android/widget/inline/ |
D | InlinePresentationSpec.java | 98 @NonNull Size minSize, in InlinePresentationSpec() 101 this.mMinSize = minSize; in InlinePresentationSpec() 213 Size minSize = (Size) in.readSize(); in InlinePresentationSpec() local 217 this.mMinSize = minSize; in InlinePresentationSpec() 266 @NonNull Size minSize, in Builder() 268 mMinSize = minSize; in Builder()
|
/frameworks/av/media/module/codecs/amrwb/enc/fuzzer/ |
D | amrwb_enc_fuzzer.cpp | 111 int32_t minSize = std::min((int32_t)size, kInputBufferSize); in encodeFrames() local 117 inData.Length = minSize; in encodeFrames() 121 data += minSize; in encodeFrames() 122 size -= minSize; in encodeFrames()
|
/frameworks/base/packages/CredentialManager/src/com/android/credentialmanager/common/ui/ |
D | InlinePresentationFactory.kt | 33 return InlinePresentationSpec.Builder(Size(originalSpec.minSize.width, originalSpec in modifyInlinePresentationSpec() 34 .minSize.height), in modifyInlinePresentationSpec()
|
/frameworks/av/services/camera/libcameraservice/api2/ |
D | HeicEncoderInfoManager.cpp | 185 std::pair<int32_t, int32_t>* minSize, in getCodecSizeRange() argument 188 if (codecName == nullptr || minSize == nullptr || maxSize == nullptr || in getCodecSizeRange() 204 minSize->first = stoi(match[1]); in getCodecSizeRange() 205 minSize->second = stoi(match[2]); in getCodecSizeRange() 208 if (minSize->first > maxSize->first || in getCodecSizeRange() 209 minSize->second > maxSize->second) { in getCodecSizeRange()
|
D | HeicEncoderInfoManager.h | 60 std::pair<int32_t, int32_t>* minSize, std::pair<int32_t, int32_t>* maxSize,
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/ui/drawable/ |
D | LightSourceDrawable.kt | 53 var minSize: Float, variable in com.android.systemui.media.controls.ui.drawable.RippleData 126 val radius = lerp(rippleData.minSize, rippleData.maxSize, rippleData.progress) in draw() 163 rippleData.minSize = a.getDimension(R.styleable.IlluminationDrawable_rippleMinSize, 0f) in updateStateFromTypedArray() 261 val radius = lerp(rippleData.minSize, rippleData.maxSize, rippleData.progress) in getDirtyBounds()
|
/frameworks/av/media/libstagefright/ |
D | MediaCodecListOverrides.cpp | 54 AString minSize; in getMeasureSize() local 56 if (!splitString(sizeRange, "-", &minSize, &maxSize)) { in getMeasureSize() 61 if (!splitString(minSize, "x", &sWidth, &sHeight)) { in getMeasureSize() 62 if (!splitString(minSize, "*", &sWidth, &sHeight)) { in getMeasureSize()
|
D | MediaCodecList.cpp | 456 AString minSize,maxSize; in codecHandlesFormat() local 460 || !splitString(sizeRange, "-", &minSize, &maxSize)) { in codecHandlesFormat() 464 if (!splitString(minSize, "x", &minWidth, &minHeight)) { in codecHandlesFormat() 465 if (!splitString(minSize, "*", &minWidth, &minHeight)) { in codecHandlesFormat()
|
/frameworks/base/core/java/android/service/autofill/ |
D | InlineSuggestionRenderService.java | 107 private Size measuredSize(@NonNull View view, int width, int height, @NonNull Size minSize, in measuredSize() argument 128 return new Size(Math.max(view.getMeasuredWidth(), minSize.getWidth()), in measuredSize() 129 Math.max(view.getMeasuredHeight(), minSize.getHeight())); in measuredSize()
|
/frameworks/base/core/java/android/view/inputmethod/ |
D | InlineSuggestion.java | 143 final Size minSize = mInfo.getInlinePresentationSpec().getMinSize(); in inflate() local 145 if (!isValid(size.getWidth(), minSize.getWidth(), maxSize.getWidth()) in inflate() 146 || !isValid(size.getHeight(), minSize.getHeight(), maxSize.getHeight())) { in inflate() 148 "size is neither between min:" + minSize + " and max:" + maxSize in inflate()
|
/frameworks/base/native/graphics/jni/ |
D | imagedecoder.cpp | 413 size_t minSize = info.computeByteSize(stride); in AImageDecoder_decodeImage() local 414 if (SkImageInfo::ByteSizeOverflowed(minSize) || size < minSize || !info.validRowBytes(stride)) { in AImageDecoder_decodeImage()
|
/frameworks/base/packages/SystemUI/compose/core/src/com/android/compose/animation/ |
D | Expandable.kt | 185 val minSize = 40.dp in Expandable() constant 187 Modifier.defaultMinSize(minWidth = minSize, minHeight = minSize), in Expandable()
|
/frameworks/native/services/sensorservice/ |
D | vec.h | 51 const size_t minSize = min(SIZE, S); in doAssign() local 53 for (size_t i=0 ; i<minSize ; i++) in doAssign() 55 for (size_t i=minSize ; i<maxSize ; i++) in doAssign()
|
/frameworks/av/media/codec2/sfplugin/ |
D | CCodecBuffers.cpp | 754 size_t minSize, in initialize() argument 766 ALOGV("[%s] converted %zu buffers to array mode of %zu", mName, mBuffers.size(), minSize); in initialize() 767 for (size_t i = impl.mBuffers.size(); i < minSize; ++i) { in initialize() 900 size_t minSize, in initialize() argument 903 mImpl.initialize(impl, minSize, allocate); in initialize() 1312 size_t minSize, in initialize() argument 1315 mImpl.initialize(impl, minSize, allocate); in initialize()
|
D | CCodecBuffers.h | 658 size_t minSize, 774 size_t minSize, 1030 size_t minSize,
|
/frameworks/base/core/jni/ |
D | android_view_MotionEvent.cpp | 254 static jfloatArray obtainPackedAxisValuesArray(JNIEnv* env, uint32_t minSize, in obtainPackedAxisValuesArray() argument 260 if (minSize <= size) { in obtainPackedAxisValuesArray() 266 while (size < minSize) { in obtainPackedAxisValuesArray()
|