Searched refs:targetWidth (Results 1 - 25 of 28) sorted by relevance

12

/external/icu/android_icu4j/src/main/java/android/icu/impl/number/
H A DPadder.java52 int targetWidth; field in class:Padder
55 public Padder(String paddingString, int targetWidth, PadPosition position) { argument
58 this.targetWidth = targetWidth;
66 public static Padder codePoints(int cp, int targetWidth, PadPosition position) { argument
68 if (targetWidth >= 0) {
70 return new Padder(paddingString, targetWidth, position);
77 return targetWidth > 0;
82 int requiredPadding = targetWidth - modLength - string.codePointCount();
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/
H A DPadder.java48 int targetWidth; field in class:Padder
51 public Padder(String paddingString, int targetWidth, PadPosition position) { argument
54 this.targetWidth = targetWidth;
62 public static Padder codePoints(int cp, int targetWidth, PadPosition position) { argument
64 if (targetWidth >= 0) {
66 return new Padder(paddingString, targetWidth, position);
73 return targetWidth > 0;
78 int requiredPadding = targetWidth - modLength - string.codePointCount();
/external/deqp/modules/gles2/functional/
H A Des2fColorClearTest.cpp106 const int targetWidth = renderTarget.getWidth(); local
108 const int numPixels = targetWidth * targetHeight;
112 Surface refImage (targetWidth, targetHeight);
113 Surface resImage (targetWidth, targetHeight);
114 Surface diffImage (targetWidth, targetHeight);
132 clearWidth = targetWidth;
137 clearX = (rnd.getUint32() % (2*targetWidth)) - targetWidth;
139 clearWidth = (rnd.getUint32() % targetWidth);
184 while (x < targetWidth)
[all...]
H A Des2fPrerequisiteTests.cpp178 int targetWidth = renderTarget.getWidth(); local
194 imageWidth = targetWidth;
201 imageWidth = targetWidth / 2;
206 x = targetWidth / 2;
208 imageWidth = targetWidth - x;
212 x = deRandom_getUint32(&rnd) % (targetWidth - 1);
214 imageWidth = 1 + (deRandom_getUint32(&rnd) % (targetWidth - x - 1));
/external/deqp/modules/gles3/functional/
H A Des3fColorClearTest.cpp106 const int targetWidth = renderTarget.getWidth(); local
108 const int numPixels = targetWidth * targetHeight;
112 Surface refImage (targetWidth, targetHeight);
113 Surface resImage (targetWidth, targetHeight);
114 Surface diffImage (targetWidth, targetHeight);
132 clearWidth = targetWidth;
137 clearX = (rnd.getUint32() % (2*targetWidth)) - targetWidth;
139 clearWidth = (rnd.getUint32() % targetWidth);
184 while (x < targetWidth)
[all...]
H A Des3fPrerequisiteTests.cpp178 int targetWidth = renderTarget.getWidth(); local
194 imageWidth = targetWidth;
201 imageWidth = targetWidth / 2;
206 x = targetWidth / 2;
208 imageWidth = targetWidth - x;
212 x = deRandom_getUint32(&rnd) % (targetWidth - 1);
214 imageWidth = 1 + (deRandom_getUint32(&rnd) % (targetWidth - x - 1));
/external/deqp/modules/glshared/
H A DglsInteractionTestUtil.hpp121 void computeRandomRenderState (de::Random& rnd, RenderState& state, glu::ApiType apiType, int targetWidth, int targetHeight);
122 void computeRandomQuad (de::Random& rnd, gls::FragmentOpUtil::IntegerQuad& quad, int targetWidth, int targetHeight);
H A DglsInteractionTestUtil.cpp54 void computeRandomRenderState (de::Random& rnd, RenderState& state, glu::ApiType apiType, int targetWidth, int targetHeight) argument
157 int minScissorW = deCeilFloatToInt32(minScissorSize * (float)targetWidth);
159 int maxScissorW = targetWidth + 2*maxScissorOutOfBounds;
164 int scissorX = rnd.getInt(-maxScissorOutOfBounds, targetWidth+maxScissorOutOfBounds-scissorW);
220 void computeRandomQuad (de::Random& rnd, gls::FragmentOpUtil::IntegerQuad& quad, int targetWidth, int targetHeight)
230 int minW = deCeilFloatToInt32(minSize * (float)targetWidth);
232 int maxW = targetWidth + 2*maxOutOfBounds;
237 int x = rnd.getInt(-maxOutOfBounds, targetWidth+maxOutOfBounds-width);
/external/glide/library/src/main/java/com/bumptech/glide/load/resource/gif/
H A DGifDrawable.java85 frameManager = new GifFrameManager(state.context, decoder, state.targetWidth, state.targetHeight);
318 int targetWidth; field in class:GifDrawable.GifState
325 Transformation<Bitmap> frameTransformation, int targetWidth, int targetHeight,
336 this.targetWidth = targetWidth;
347 targetWidth = original.targetWidth;
324 GifState(GifHeader header, byte[] data, Context context, Transformation<Bitmap> frameTransformation, int targetWidth, int targetHeight, GifDecoder.BitmapProvider provider, BitmapPool bitmapPool, Bitmap firstFrame) argument
H A DGifFrameManager.java30 private final int targetWidth; field in class:GifFrameManager
43 public GifFrameManager(Context context, GifDecoder decoder, int targetWidth, int targetHeight) { argument
44 this(context, Glide.get(context).getBitmapPool(), decoder, new Handler(Looper.getMainLooper()), targetWidth,
49 int targetWidth, int targetHeight) {
53 this.targetWidth = targetWidth;
127 super(targetWidth, targetHeight);
48 GifFrameManager(Context context, BitmapPool bitmapPool, GifDecoder decoder, Handler mainHandler, int targetWidth, int targetHeight) argument
/external/icu/icu4c/source/i18n/
H A Dnumber_padding.cpp41 Padder Padder::codePoints(UChar32 cp, int32_t targetWidth, UNumberFormatPadPosition position) { argument
43 if (targetWidth >= 0) {
44 return {cp, targetWidth, position};
H A Dmeasfmt.cpp363 UMeasureFormatWidth targetWidth = widthFromAlias(value, errorCode);
364 if (targetWidth == UMEASFMT_WIDTH_COUNT) {
370 if (cacheData.widthFallback[targetWidth] != UMEASFMT_WIDTH_COUNT) {
374 cacheData.widthFallback[sourceWidth] = targetWidth;
/external/glide/library/src/main/java/com/bumptech/glide/load/resource/bitmap/
H A DTransformationUtils.java100 final int targetWidth = (int) (minPercentage * toFit.getWidth());
103 if (toFit.getWidth() == targetWidth && toFit.getHeight() == targetHeight) {
111 Bitmap toReuse = pool.get(targetWidth, targetHeight, config);
113 toReuse = Bitmap.createBitmap(targetWidth, targetHeight, config);
H A DDownsampler.java197 int targetWidth = (int) Math.ceil(inWidth / (double) sampleSize);
200 setInBitmap(options, pool.getDirty(targetWidth, targetHeight, config));
/external/deqp/modules/egl/
H A DteglNativeCoordMappingTests.cpp229 void render (const glw::Functions& gl, deUint32 program, int targetWidth, int targetHeight, int x, int y, int width, int height) argument
233 toGLCoord(targetWidth, targetHeight, x, y),
234 toGLCoord(targetWidth, targetHeight, x+width, y),
235 toGLCoord(targetWidth, targetHeight, x+width, y+height),
237 toGLCoord(targetWidth, targetHeight, x+width, y+height),
238 toGLCoord(targetWidth, targetHeight, x, y+height),
239 toGLCoord(targetWidth, targetHeight, x, y)
250 gl.viewport(0, 0, targetWidth, targetHeight);
/external/deqp/external/openglcts/modules/gl/
H A Dgl4cShaderViewportLayerArrayTests.cpp273 const GLfloat targetWidth = (GLfloat)renderTarget.getWidth(); local
290 if (x > (targetWidth - viewportWidth))
/external/icu/android_icu4j/src/main/java/android/icu/text/
H A DMeasureFormat.java870 FormatWidth targetWidth = widthFromAlias(value);
871 if (targetWidth == null) {
877 if (cacheData.widthFallback[targetWidth.ordinal()] != null) {
881 cacheData.widthFallback[sourceWidth.ordinal()] = targetWidth;
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
H A DMeasureFormat.java899 FormatWidth targetWidth = widthFromAlias(value);
900 if (targetWidth == null) {
906 if (cacheData.widthFallback[targetWidth.ordinal()] != null) {
910 cacheData.widthFallback[sourceWidth.ordinal()] = targetWidth;
/external/icu/icu4c/source/i18n/unicode/
H A Dnumberformatter.h1228 static Padder codePoints(UChar32 cp, int32_t targetWidth, UNumberFormatPadPosition position);
/external/swiftshader/src/OpenGL/libGLES_CM/
H A DContext.cpp2810 float targetWidth = (float)renderbuffer->getWidth(); local
2812 float x0 = 2.0f * x / targetWidth - 1.0f;
2814 float x1 = 2.0f * (x + width) / targetWidth - 1.0f;
/external/deqp/external/vulkancts/modules/vulkan/memory/
H A DvktMemoryPipelineBarrierTests.cpp4180 deInt32 targetWidth,
4185 , m_targetWidth (targetWidth)
4219 deInt32 targetWidth,
4222 , m_referenceTarget (TextureFormat(TextureFormat::RGBA, TextureFormat::UNORM_INT8), targetWidth, targetHeight)
/external/doclava/res/assets/templates-sdk/assets/js/
H A Dandroid_3p-bundle.js2658 (function(a,b){a.ui=a.ui||{};var c=/left|center|right/,d=/top|center|bottom/,e="center",f={},g=a.fn.position,h=a.fn.offset;a.fn.position=function(b){if(!b||!b.of)return g.apply(this,arguments);b=a.extend({},b);var h=a(b.of),i=h[0],j=(b.collision||"flip").split(" "),k=b.offset?b.offset.split(" "):[0,0],l,m,n;return i.nodeType===9?(l=h.width(),m=h.height(),n={top:0,left:0}):i.setTimeout?(l=h.width(),m=h.height(),n={top:h.scrollTop(),left:h.scrollLeft()}):i.preventDefault?(b.at="left top",l=m=0,n={top:b.of.pageY,left:b.of.pageX}):(l=h.outerWidth(),m=h.outerHeight(),n=h.offset()),a.each(["my","at"],function(){var a=(b[this]||"").split(" ");a.length===1&&(a=c.test(a[0])?a.concat([e]):d.test(a[0])?[e].concat(a):[e,e]),a[0]=c.test(a[0])?a[0]:e,a[1]=d.test(a[1])?a[1]:e,b[this]=a}),j.length===1&&(j[1]=j[0]),k[0]=parseInt(k[0],10)||0,k.length===1&&(k[1]=k[0]),k[1]=parseInt(k[1],10)||0,b.at[0]==="right"?n.left+=l:b.at[0]===e&&(n.left+=l/2),b.at[1]==="bottom"?n.top+=m:b.at[1]===e&&(n.top+=m/2),n.left+=k[0],n.top+=k[1],this.each(function(){var c=a(this),d=c.outerWidth(),g=c.outerHeight(),h=parseInt(a.curCSS(this,"marginLeft",!0))||0,i=parseInt(a.curCSS(this,"marginTop",!0))||0,o=d+h+(parseInt(a.curCSS(this,"marginRight",!0))||0),p=g+i+(parseInt(a.curCSS(this,"marginBottom",!0))||0),q=a.extend({},n),r;b.my[0]==="right"?q.left-=d:b.my[0]===e&&(q.left-=d/2),b.my[1]==="bottom"?q.top-=g:b.my[1]===e&&(q.top-=g/2),f.fractions||(q.left=Math.round(q.left),q.top=Math.round(q.top)),r={left:q.left-h,top:q.top-i},a.each(["left","top"],function(c,e){a.ui.position[j[c]]&&a.ui.position[j[c]][e](q,{targetWidth:l,targetHeight:m,elemWidth:d,elemHeight:g,collisionPosition:r,collisionWidth:o,collisionHeight:p,offset:k,my:b.my,at:b.at})}),a.fn.bgiframe&&c.bgiframe(),c.offset(a.extend(q,{using:b.using}))})},a.ui.position={fit:{left:function(b,c){var d=a(window),e=c.collisionPosition.left+c.collisionWidth-d.width()-d.scrollLeft();b.left=e>0?b.left-e:Math.max(b.left-c.collisionPosition.left,b.left)},top:function(b,c){var d=a(window),e=c.collisionPosition.top+c.collisionHeight-d.height()-d.scrollTop();b.top=e>0?b.top-e:Math.max(b.top-c.collisionPosition.top,b.top)}},flip:{left:function(b,c){if(c.at[0]===e)return;var d=a(window),f=c.collisionPosition.left+c.collisionWidth-d.width()-d.scrollLeft(),g=c.my[0]==="left"?-c.elemWidth:c.my[0]==="right"?c.elemWidth:0,h=c.at[0]==="left"?c.targetWidth:-c.targetWidth,i=-2*c.offset[0];b.left+=c.collisionPosition.left<0?g+h+i:f>0?g+h+i:0},top:function(b,c){if(c.at[1]===e)return;var d=a(window),f=c.collisionPosition.top+c.collisionHeight-d.height()-d.scrollTop(),g=c.my[1]==="top"?-c.elemHeight:c.my[1]==="bottom"?c.elemHeight:0,h=c.at[1]==="top"?c.targetHeight:-c.targetHeight,i=-2*c.offset[1];b.top+=c.collisionPosition.top<0?g+h+i:f>0?g+h+i:0}}},a.offset.setOffset||(a.offset.setOffset=function(b,c){/static/.test(a.curCSS(b,"position"))&&(b.style.position="relative");var d=a(b),e=d.offset(),f=parseInt(a.curCSS(b,"top",!0),10)||0,g=parseInt(a.curCSS(b,"left",!0),10)||0,h={top:c.top-e.top+f,left:c.left-e.left+g};"using"in c?c.using.call(b,h):d.css(h)},a.fn.offset=function(b){var c=this[0];return!c||!c.ownerDocument?null:b?a.isFunction(b)?this.each(function(c){a(this).offset(b.call(this,c,a(this).offset()))}):this.each(function(){a.offset.setOffset(this,b)}):h.call(this)}),a.curCSS||(a.curCSS=a.css),function(){var b=document.getElementsByTagName("body")[0],c=document.createElement("div"),d,e,g,h,i;d=document.createElement(b?"div":"body"),g={visibility:"hidden",width:0,height:0,border:0,margin:0,background:"none"},b&&a.extend(g,{position:"absolute",left:"-1000px",top:"-1000px"});for(var j in g)d.style[j]=g[j];d.appendChild(c),e=b||document.documentElement,e.insertBefore(d,e.firstChild),c.style.cssText="position: absolute; left: 10.7432222px; top: 10.432325px; height: 30px; width: 201px;",h=a(c).offset(function(a,b){return b}).offset(),d.innerHTML="",e.removeChild(d),i=h.top+h.left+(b?2e3:0),f.fractions=i>21&&i<22}()})(jQuery);;/*! jQuery UI - v1.8.23 - 2012-08-15
/external/robolectric/v3/runtime/
H A Dandroid-all-5.0.0_r2-robolectric-1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/android/ com/google/android/collect/ ...
H A Dandroid-all-5.1.1_r9-robolectric-1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/android/ com/google/android/collect/ ...
H A Dandroid-all-4.1.2_r1-robolectric-0.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/accessibilityservice/AccessibilityService$1.class ...

Completed in 559 milliseconds

12