Home
last modified time | relevance | path

Searched refs:targetWidth (Results 1 – 25 of 27) sorted by relevance

12

/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/number/
DPadder.java54 int targetWidth; field in Padder
57 public Padder(String paddingString, int targetWidth, PadPosition position) { in Padder() argument
60 this.targetWidth = targetWidth; in Padder()
68 public static Padder codePoints(int cp, int targetWidth, PadPosition position) { in codePoints() argument
70 if (targetWidth >= 0) { in codePoints()
72 return new Padder(paddingString, targetWidth, position); in codePoints()
85 return targetWidth > 0; in isValid()
95 int requiredPadding = targetWidth - modLength - string.codePointCount(); in padAndApply()
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/
DPadder.java47 int targetWidth; field in Padder
50 public Padder(String paddingString, int targetWidth, PadPosition position) { in Padder() argument
53 this.targetWidth = targetWidth; in Padder()
61 public static Padder codePoints(int cp, int targetWidth, PadPosition position) { in codePoints() argument
63 if (targetWidth >= 0) { in codePoints()
65 return new Padder(paddingString, targetWidth, position); in codePoints()
78 return targetWidth > 0; in isValid()
88 int requiredPadding = targetWidth - modLength - string.codePointCount(); in padAndApply()
/third_party/vk-gl-cts/modules/gles2/functional/
Des2fColorClearTest.cpp106 const int targetWidth = renderTarget.getWidth(); in iterate() local
108 const int numPixels = targetWidth * targetHeight; in iterate()
112 Surface refImage (targetWidth, targetHeight); in iterate()
113 Surface resImage (targetWidth, targetHeight); in iterate()
114 Surface diffImage (targetWidth, targetHeight); in iterate()
132 clearWidth = targetWidth; in iterate()
137 clearX = (rnd.getUint32() % (2*targetWidth)) - targetWidth; in iterate()
139 clearWidth = (rnd.getUint32() % targetWidth); in iterate()
184 while (x < targetWidth) in iterate()
188 int spanLength = (targetWidth - x); in iterate()
[all …]
Des2fPrerequisiteTests.cpp178 int targetWidth = renderTarget.getWidth(); in iterate() local
194 imageWidth = targetWidth; in iterate()
201 imageWidth = targetWidth / 2; in iterate()
206 x = targetWidth / 2; in iterate()
208 imageWidth = targetWidth - x; in iterate()
212 x = deRandom_getUint32(&rnd) % (targetWidth - 1); in iterate()
214 imageWidth = 1 + (deRandom_getUint32(&rnd) % (targetWidth - x - 1)); in iterate()
/third_party/vk-gl-cts/modules/gles3/functional/
Des3fColorClearTest.cpp106 const int targetWidth = renderTarget.getWidth(); in iterate() local
108 const int numPixels = targetWidth * targetHeight; in iterate()
112 Surface refImage (targetWidth, targetHeight); in iterate()
113 Surface resImage (targetWidth, targetHeight); in iterate()
114 Surface diffImage (targetWidth, targetHeight); in iterate()
132 clearWidth = targetWidth; in iterate()
137 clearX = (rnd.getUint32() % (2*targetWidth)) - targetWidth; in iterate()
139 clearWidth = (rnd.getUint32() % targetWidth); in iterate()
184 while (x < targetWidth) in iterate()
188 int spanLength = (targetWidth - x); in iterate()
[all …]
Des3fPrerequisiteTests.cpp178 int targetWidth = renderTarget.getWidth(); in iterate() local
194 imageWidth = targetWidth; in iterate()
201 imageWidth = targetWidth / 2; in iterate()
206 x = targetWidth / 2; in iterate()
208 imageWidth = targetWidth - x; in iterate()
212 x = deRandom_getUint32(&rnd) % (targetWidth - 1); in iterate()
214 imageWidth = 1 + (deRandom_getUint32(&rnd) % (targetWidth - x - 1)); in iterate()
/third_party/flutter/engine/flutter/testing/dart/
Dimage_resize_test.dart36 final Codec codec = await instantiateImageCodec(bytes, targetWidth: 1);
46 final Codec codec = await instantiateImageCodec(bytes, targetWidth: 10);
57 await instantiateImageCodec(bytes, targetWidth: 10, targetHeight: 1);
81 final Image resized = await blackSquare.resize(targetWidth: 1);
88 final Image resized = await blackSquare.resize(targetWidth: 10);
96 await blackSquare.resize(targetHeight: 1, targetWidth: 10);
111 Future<Image> resize({int targetWidth, int targetHeight}) async {
115 targetHeight: targetHeight, targetWidth: targetWidth);
/third_party/vk-gl-cts/modules/glshared/
DglsInteractionTestUtil.cpp54 …rState (de::Random& rnd, RenderState& state, glu::ApiType apiType, int targetWidth, int targetHeig… in computeRandomRenderState() argument
157 int minScissorW = deCeilFloatToInt32(minScissorSize * (float)targetWidth); in computeRandomRenderState()
159 int maxScissorW = targetWidth + 2*maxScissorOutOfBounds; in computeRandomRenderState()
164 int scissorX = rnd.getInt(-maxScissorOutOfBounds, targetWidth+maxScissorOutOfBounds-scissorW); in computeRandomRenderState()
220 void computeRandomQuad (de::Random& rnd, gls::FragmentOpUtil::IntegerQuad& quad, int targetWidth, i… in computeRandomQuad() argument
230 int minW = deCeilFloatToInt32(minSize * (float)targetWidth); in computeRandomQuad()
232 int maxW = targetWidth + 2*maxOutOfBounds; in computeRandomQuad()
237 int x = rnd.getInt(-maxOutOfBounds, targetWidth+maxOutOfBounds-width); in computeRandomQuad()
DglsInteractionTestUtil.hpp121 …State (de::Random& rnd, RenderState& state, glu::ApiType apiType, int targetWidth, int targetHeig…
122 …mQuad (de::Random& rnd, gls::FragmentOpUtil::IntegerQuad& quad, int targetWidth, int targetHeig…
/third_party/node/deps/icu-small/source/i18n/
Dnumber_padding.cpp43 Padder Padder::codePoints(UChar32 cp, int32_t targetWidth, UNumberFormatPadPosition position) { in codePoints() argument
45 if (targetWidth >= 0) { in codePoints()
46 return {cp, targetWidth, position}; in codePoints()
/third_party/skia/third_party/externals/icu/source/i18n/
Dnumber_padding.cpp43 Padder Padder::codePoints(UChar32 cp, int32_t targetWidth, UNumberFormatPadPosition position) { in codePoints() argument
45 if (targetWidth >= 0) { in codePoints()
46 return {cp, targetWidth, position}; in codePoints()
/third_party/flutter/skia/third_party/externals/icu/source/i18n/
Dnumber_padding.cpp43 Padder Padder::codePoints(UChar32 cp, int32_t targetWidth, UNumberFormatPadPosition position) { in codePoints() argument
45 if (targetWidth >= 0) { in codePoints()
46 return {cp, targetWidth, position}; in codePoints()
Dmeasfmt.cpp363 UMeasureFormatWidth targetWidth = widthFromAlias(value, errorCode); in consumeAlias() local
364 if (targetWidth == UMEASFMT_WIDTH_COUNT) { in consumeAlias()
370 if (cacheData.widthFallback[targetWidth] != UMEASFMT_WIDTH_COUNT) { in consumeAlias()
374 cacheData.widthFallback[sourceWidth] = targetWidth; in consumeAlias()
/third_party/icu/icu4c/source/i18n/
Dnumber_padding.cpp43 Padder Padder::codePoints(UChar32 cp, int32_t targetWidth, UNumberFormatPadPosition position) { in codePoints() argument
45 if (targetWidth >= 0) { in codePoints()
46 return {cp, targetWidth, position}; in codePoints()
/third_party/vk-gl-cts/modules/egl/
DteglNativeCoordMappingTests.cpp229 void render (const glw::Functions& gl, deUint32 program, int targetWidth, int targetHeight, int x, … in render() argument
233 toGLCoord(targetWidth, targetHeight, x, y), in render()
234 toGLCoord(targetWidth, targetHeight, x+width, y), in render()
235 toGLCoord(targetWidth, targetHeight, x+width, y+height), in render()
237 toGLCoord(targetWidth, targetHeight, x+width, y+height), in render()
238 toGLCoord(targetWidth, targetHeight, x, y+height), in render()
239 toGLCoord(targetWidth, targetHeight, x, y) in render()
250 gl.viewport(0, 0, targetWidth, targetHeight); in render()
/third_party/flutter/engine/flutter/lib/ui/painting/
Dcodec.cc191 const int targetWidth = in InstantiateImageCodec() local
215 if (targetWidth != kDoNotResizeDimension) { in InstantiateImageCodec()
216 descriptor.target_width = targetWidth; in InstantiateImageCodec()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/image/
DvktImageMismatchedWriteOpTests.cpp427 bool comparePixels (const tcu::Vector<T,N>& res, const tcu::Vector<T,N>& ref, const int targetWidth in comparePixels() argument
431 for (int i = 0; ok && i < targetWidth; ++i)
958 const int targetWidth = getNumUsedChannels(texFormat.order); in compare() local
969 …doContinue = ut::comparePixels(result.getPixelInt(x,y), reference.getPixelInt(x,y), targetWidth ); in compare()
972 …oContinue = ut::comparePixels(result.getPixelUint(x,y), reference.getPixelUint(x,y), targetWidth ); in compare()
975 …ue = ut::comparePixels(result.getPixel(x,y), reference.getPixel(x,y), targetWidth, 0.0005f); in compare()
/third_party/vk-gl-cts/external/openglcts/modules/gl/
Dgl4cShaderViewportLayerArrayTests.cpp273 const GLfloat targetWidth = (GLfloat)renderTarget.getWidth(); in createMaxViewports() local
290 if (x > (targetWidth - viewportWidth)) in createMaxViewports()
/third_party/flutter/flutter/packages/flutter/lib/src/rendering/
Dtable.dart862 double targetWidth;
864 targetWidth = maxWidthConstraint;
866 targetWidth = minWidthConstraint;
868 if (tableWidth < targetWidth) {
869 final double remainingWidth = targetWidth - unflexedTableWidth;
884 assert(tableWidth + precisionErrorTolerance >= targetWidth);
/third_party/vk-gl-cts/external/openglcts/modules/common/
DglcCompressedFormatTests.cpp1242 const auto targetWidth = image[0].width / compressedInfo->blockSize[0]; in __anon399be5113e02() local
1248 …<< " to " << getTextureFormatStr(uncompressedFormat).toString() << " " << targetWidth << "x" << ta… in __anon399be5113e02()
1252 …gl.texImage2D(GL_TEXTURE_2D, 0, uncompressedFormat, targetWidth, targetHeight, 0, unsizedInfo.form… in __anon399be5113e02()
/third_party/flutter/skia/third_party/externals/icu/source/i18n/unicode/
Dnumberformatter.h1351 static Padder codePoints(UChar32 cp, int32_t targetWidth, UNumberFormatPadPosition position);
/third_party/skia/third_party/externals/icu/source/i18n/unicode/
Dnumberformatter.h1425 static Padder codePoints(UChar32 cp, int32_t targetWidth, UNumberFormatPadPosition position);
/third_party/icu/icu4c/source/i18n/unicode/
Dnumberformatter.h1425 static Padder codePoints(UChar32 cp, int32_t targetWidth, UNumberFormatPadPosition position);
/third_party/node/deps/icu-small/source/i18n/unicode/
Dnumberformatter.h1425 static Padder codePoints(UChar32 cp, int32_t targetWidth, UNumberFormatPadPosition position);
/third_party/flutter/engine/flutter/lib/ui/
Dpainting.dart1656 /// The [targetWidth] and [targetHeight] arguments specify the size of the output
1666 int targetWidth,
1670 …(_Callback<Codec> callback) => _instantiateImageCodec(list, callback, null, targetWidth ?? _kDoNot…
1676 /// The [targetWidth] and [targetHeight] arguments specify the size of the output
1678 /// If [targetWidth] and [targetHeight] are not equal to the intrinsic dimensions of the
1685 …c(Uint8List list, _Callback<Codec> callback, _ImageInfo imageInfo, int targetWidth, int targetHeig…
1711 /// The [targetWidth] and [targetHeight] arguments specify the size of the output
1723 {int rowBytes, int targetWidth, int targetHeight}
1727 …(_Callback<Codec> callback) => _instantiateImageCodec(pixels, callback, imageInfo, targetWidth ?? …

12