/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/pip/ |
D | PipTaskOrganizerTest.java | 134 final Size minSize = new Size(400, 320); in startSwipePipToHome_updatesOverrideMinSize() local 136 mSpiedPipTaskOrganizer.startSwipePipToHome(mComponent1, createActivityInfo(minSize), in startSwipePipToHome_updatesOverrideMinSize() 139 assertEquals(minSize, mPipBoundsState.getOverrideMinSize()); in startSwipePipToHome_updatesOverrideMinSize() 162 final Size minSize = new Size(400, 320); in onTaskAppeared_updatesOverrideMinSize() local 165 createTaskInfo(mComponent1, createPipParams(null), minSize), in onTaskAppeared_updatesOverrideMinSize() 168 assertEquals(minSize, mPipBoundsState.getOverrideMinSize()); in onTaskAppeared_updatesOverrideMinSize() 220 final Size minSize = new Size(400, 320); in onTaskInfoChanged_inPip_updatesOverrideMinSize() local 222 createPipParams(null), minSize)); in onTaskInfoChanged_inPip_updatesOverrideMinSize() 224 assertEquals(minSize, mPipBoundsState.getOverrideMinSize()); in onTaskInfoChanged_inPip_updatesOverrideMinSize() 252 ComponentName componentName, PictureInPictureParams params, Size minSize) { in createTaskInfo() argument [all …]
|
D | PipBoundsAlgorithmTest.java | 325 final Size minSize = new Size(currentBounds.width() / 2, currentBounds.height() / 2); in getAdjustedDestinationBounds_ignoreMinBounds() local 328 mPipBoundsState.setOverrideMinSize(minSize); in getAdjustedDestinationBounds_ignoreMinBounds() 333 destinationBounds.width() > minSize.getWidth() in getAdjustedDestinationBounds_ignoreMinBounds() 334 && destinationBounds.height() > minSize.getHeight()); in getAdjustedDestinationBounds_ignoreMinBounds()
|
/frameworks/av/media/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/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/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/libs/WindowManager/Shell/src/com/android/wm/shell/pip/phone/ |
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()
|
/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/native/libs/ui/ |
D | HdrCapabilities.cpp | 53 size_t minSize = sizeof(mMaxLuminance) + in unflatten() local 58 if (size < minSize) { in unflatten() 66 if (size < minSize + itemCount * sizeof(int32_t)) { in unflatten()
|
/frameworks/av/media/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/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/libs/WindowManager/Shell/src/com/android/wm/shell/pip/ |
D | PipBoundsAlgorithm.java | 408 final int minSize = (int) Math.max(minEdgeSize, smallestDisplaySize * mDefaultSizePercent); in getSizeForAspectRatio() local 416 width = minSize; in getSizeForAspectRatio() 420 height = minSize; in getSizeForAspectRatio() 426 final float widthAtMaxAspectRatioForMinSize = mMaxAspectRatioForMinSize * minSize; in getSizeForAspectRatio() 427 final float radius = PointF.length(widthAtMaxAspectRatioForMinSize, minSize); in getSizeForAspectRatio() 441 final int minSize = (int) Math.max(minEdgeSize, smallestSize); in getSizeForAspectRatio() local 447 width = minSize; in getSizeForAspectRatio() 451 height = minSize; in getSizeForAspectRatio()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/ |
D | LightSourceDrawable.kt | 53 var minSize: Float, variable in com.android.systemui.media.RippleData 129 val radius = lerp(rippleData.minSize, rippleData.maxSize, rippleData.progress) in draw() 159 rippleData.minSize = a.getDimension(R.styleable.IlluminationDrawable_rippleMinSize, 0f) in updateStateFromTypedArray() 253 val radius = lerp(rippleData.minSize, rippleData.maxSize, rippleData.progress) in getDirtyBounds()
|
/frameworks/av/media/libstagefright/ |
D | MediaCodecListOverrides.cpp | 55 AString minSize; in getMeasureSize() local 57 if (!splitString(sizeRange, "-", &minSize, &maxSize)) { in getMeasureSize() 62 if (!splitString(minSize, "x", &sWidth, &sHeight)) { in getMeasureSize() 63 if (!splitString(minSize, "*", &sWidth, &sHeight)) { in getMeasureSize()
|
D | MediaCodecList.cpp | 444 AString minSize,maxSize; in codecHandlesFormat() local 448 || !splitString(sizeRange, "-", &minSize, &maxSize)) { in codecHandlesFormat() 452 if (!splitString(minSize, "x", &minWidth, &minHeight)) { in codecHandlesFormat() 453 if (!splitString(minSize, "*", &minWidth, &minHeight)) { in codecHandlesFormat()
|
/frameworks/base/core/java/android/service/autofill/ |
D | InlineSuggestionRenderService.java | 106 private Size measuredSize(@NonNull View view, int width, int height, @NonNull Size minSize, in measuredSize() argument 127 return new Size(Math.max(view.getMeasuredWidth(), minSize.getWidth()), in measuredSize() 128 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 | 399 size_t minSize = info.computeByteSize(stride); in AImageDecoder_decodeImage() local 400 if (SkImageInfo::ByteSizeOverflowed(minSize) || size < minSize || !info.validRowBytes(stride)) { in AImageDecoder_decodeImage()
|
/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 | 506 size_t minSize, in initialize() argument 518 ALOGV("[%s] converted %zu buffers to array mode of %zu", mName, mBuffers.size(), minSize); in initialize() 519 for (size_t i = impl.mBuffers.size(); i < minSize; ++i) { in initialize() 652 size_t minSize, in initialize() argument 655 mImpl.initialize(impl, minSize, allocate); in initialize() 1053 size_t minSize, in initialize() argument 1056 mImpl.initialize(impl, minSize, allocate); in initialize()
|
D | CCodecBuffers.h | 626 size_t minSize, 743 size_t minSize, 994 size_t minSize,
|
/frameworks/base/core/jni/ |
D | android_view_MotionEvent.cpp | 237 static jfloatArray obtainPackedAxisValuesArray(JNIEnv* env, uint32_t minSize, in obtainPackedAxisValuesArray() argument 243 if (minSize <= size) { in obtainPackedAxisValuesArray() 249 while (size < minSize) { in obtainPackedAxisValuesArray()
|
/frameworks/base/core/jni/android/opengl/ |
D | util.cpp | 235 ArrayHelper(JNIEnv* env, JArray ref, jint offset, jint minSize) { in ArrayHelper() argument 239 mMinSize = minSize; in ArrayHelper()
|
/frameworks/base/core/java/android/widget/ |
D | NumberPicker.java | 1798 int minSize, int measuredSize, int measureSpec) { in resolveSizeAndStateRespectingMinSize() argument 1799 if (minSize != SIZE_UNSPECIFIED) { in resolveSizeAndStateRespectingMinSize() 1800 final int desiredWidth = Math.max(minSize, measuredSize); in resolveSizeAndStateRespectingMinSize()
|
/frameworks/base/core/java/android/content/res/ |
D | Configuration.java | 2068 final int minSize = Math.min(this.mLocaleList.size(), that.mLocaleList.size()); in compareTo() local 2069 for (int i = 0; i < minSize; ++i) { in compareTo()
|