Searched refs:sHeight (Results 1 – 8 of 8) sorted by relevance
/external/subsampling-scale-image-view/library/src/main/java/com/davemorrissey/labs/subscaleview/ |
D | ImageSource.java | 29 private int sHeight; field in ImageSource 39 this.sHeight = bitmap.getHeight(); in ImageSource() 196 public ImageSource dimensions(int sWidth, int sHeight) { in dimensions() argument 199 this.sHeight = sHeight; in dimensions() 209 this.sHeight = this.sRegion.height(); in setInvariants() 234 return sHeight; in getSHeight()
|
D | SubsamplingScaleImageView.java | 209 private int sHeight; field in SubsamplingScaleImageView 437 this.sHeight = imageSource.getSHeight(); in setImage() 521 sHeight = 0; in reset() 635 if (sWidth > 0 && sHeight > 0) { in onMeasure() 638 height = sHeight(); in onMeasure() 640 height = (int)((((double)sHeight()/(double)sWidth()) * width)); in onMeasure() 642 width = (int)((((double)sWidth()/(double)sHeight()) * height)); in onMeasure() 763 …if ((previousScale * sHeight() < getHeight() && scale * sHeight() >= getHeight()) || (previousScal… in onTouchEventInternal() 777 vTranslate.y = (getHeight()/2) - (scale * (sHeight()/2)); in onTouchEventInternal() 814 …if ((previousScale * sHeight() < getHeight() && scale * sHeight() >= getHeight()) || (previousScal… in onTouchEventInternal() [all …]
|
/external/swiftshader/src/OpenGL/libGLESv2/ |
D | Device.cpp | 451 int sHeight = source->getHeight(); in stretchRect() local 506 sRect.y1 = (float)sHeight; in stretchRect() 532 sw::Rect srcClipRect(0, 0, sWidth, sHeight); in stretchRect() 571 …sRect.x0 < 0.0f) || (sRect.y0 < 0.0f) || (sRect.x1 > (float)sWidth) || (sRect.y1 > (float)sHeight); in stretchRect() 576 …(sRect.x1 == (float)sWidth) && (sRect.y1 == (float)sHeight) && (dRect.x1 == dWidth) && (dRect.y1 =… in stretchRect() 661 int sHeight = source->getHeight(); in stretchCube() local 667 if((sWidth == 0) || (sHeight == 0) || (sDepth == 0) || in stretchCube() 673 bool scaling = (sWidth != dWidth) || (sHeight != dHeight) || (sDepth != dDepth); in stretchCube()
|
/external/swiftshader/src/Device/ |
D | Blitter.hpp | 127 int sHeight; member 181 Int &sWidth, Int &sHeight, Int &sDepth,
|
D | Blitter.cpp | 1429 Int &sWidth, Int &sHeight, Int &sDepth, in sample() argument 1447 Y = Clamp(Y, 0, sHeight - 1); in sample() 1487 Y = Min(Max(y, 0.5f), Float(sHeight) - 0.5f); in sample() 1502 Y1 = IfThenElse(Y1 >= sHeight, Y0, Y1); in sample() 1507 Z1 = IfThenElse(Z1 >= sHeight, Z0, Z1); in sample() 1618 Int sHeight = *Pointer<Int>(blit + OFFSET(BlitData, sHeight)); in generate() local 1689 Y = Clamp(Y, 0, sHeight - 1); in generate() 1706 Float4 color = sample(source, x, y, z, sWidth, sHeight, sDepth, sSliceB, sPitchB, state); in generate()
|
/external/swiftshader/src/Renderer/ |
D | Blitter.hpp | 91 int sHeight; member
|
D | Blitter.cpp | 1204 Int sHeight = *Pointer<Int>(blit + OFFSET(BlitData,sHeight)); in generate() local 1281 Y = Clamp(Y, 0, sHeight - 1); in generate() 1309 Y = Clamp(Y, 0, sHeight - 1); in generate() 1327 Y = Min(Max(y, 0.5f), Float(sHeight) - 0.5f); in generate() 1339 Y1 = IfThenElse(Y1 >= sHeight, Y0, Y1); in generate() 1466 data.sHeight = source->getHeight(); in blitReactor()
|
/external/swiftshader/src/OpenGL/libGLES_CM/ |
D | Device.cpp | 327 int sHeight = source->getHeight(); in stretchRect() local 342 sRect.y1 = sHeight; in stretchRect()
|