/external/subsampling-scale-image-view/library/src/main/java/com/davemorrissey/labs/subscaleview/ |
D | ImageSource.java | 28 private int sWidth; field in ImageSource 38 this.sWidth = bitmap.getWidth(); in ImageSource() 196 public ImageSource dimensions(int sWidth, int sHeight) { in dimensions() argument 198 this.sWidth = sWidth; in dimensions() 208 this.sWidth = this.sRegion.width(); in setInvariants() 230 return sWidth; in getSWidth()
|
D | SubsamplingScaleImageView.java | 208 private int sWidth; field in SubsamplingScaleImageView 436 this.sWidth = imageSource.getSWidth(); in setImage() 520 sWidth = 0; in reset() 635 if (sWidth > 0 && sHeight > 0) { in onMeasure() 637 width = sWidth(); in onMeasure() 640 height = (int)((((double)sHeight()/(double)sWidth()) * width)); in onMeasure() 642 width = (int)((((double)sWidth()/(double)sHeight()) * height)); in onMeasure() 763 …&& scale * sHeight() >= getHeight()) || (previousScale * sWidth() < getWidth() && scale * sWidth()… in onTouchEventInternal() 776 vTranslate.x = (getWidth()/2) - (scale * (sWidth()/2)); in onTouchEventInternal() 814 …&& scale * sHeight() >= getHeight()) || (previousScale * sWidth() < getWidth() && scale * sWidth()… in onTouchEventInternal() [all …]
|
/external/swiftshader/src/OpenGL/libGLESv2/ |
D | Device.cpp | 450 int sWidth = source->getWidth(); in stretchRect() local 499 sRect.x1 = (float)sWidth; in stretchRect() 524 sw::Rect srcClipRect(0, 0, sWidth, sHeight); in stretchRect() 556 …bool isOutOfBounds = (sRect.x0 < 0.0f) || (sRect.y0 < 0.0f) || (sRect.x1 > (float)sWidth) || (sRec… in stretchRect() 561 …(sRect.x1 == (float)sWidth) && (sRect.y1 == (float)sHeight) && (dRect.x1 == dWidth) && (dRect.y1 =… in stretchRect() 645 int sWidth = source->getWidth(); in stretchCube() local 652 if((sWidth == 0) || (sHeight == 0) || (sDepth == 0) || in stretchCube() 658 bool scaling = (sWidth != dWidth) || (sHeight != dHeight) || (sDepth != dDepth); in stretchCube()
|
/external/swiftshader/src/D3D9/ |
D | Direct3DVolumeTexture9.cpp | 192 int sWidth = source->getWidth(); in GenerateMipSubLevels() local 202 float w = (float)sWidth / (float)dWidth; in GenerateMipSubLevels()
|
D | Direct3DDevice9.cpp | 5441 int sWidth = sRect.right - sRect.left; in UpdateSurface() local 6214 int sWidth = source->getWidth(); in stretchRect() local 6219 sw::Rect sRect(0, 0, sWidth, sHeight); in stretchRect()
|
/external/swiftshader/src/Renderer/ |
D | Blitter.hpp | 89 int sWidth; member
|
D | Blitter.cpp | 1203 Int sWidth = *Pointer<Int>(blit + OFFSET(BlitData,sWidth)); in generate() local 1280 X = Clamp(X, 0, sWidth - 1); in generate() 1308 X = Clamp(X, 0, sWidth - 1); in generate() 1326 X = Min(Max(x, 0.5f), Float(sWidth) - 0.5f); in generate() 1338 X1 = IfThenElse(X1 >= sWidth, X0, X1); in generate() 1465 data.sWidth = source->getWidth(); in blitReactor()
|
/external/swiftshader/src/Device/ |
D | Blitter.hpp | 89 int sWidth; member
|
D | Blitter.cpp | 1443 Int sWidth = *Pointer<Int>(blit + OFFSET(BlitData,sWidth)); in generate() local 1520 X = Clamp(X, 0, sWidth - 1); in generate() 1548 X = Clamp(X, 0, sWidth - 1); in generate() 1566 X = Min(Max(x, 0.5f), Float(sWidth) - 0.5f); in generate() 1578 X1 = IfThenElse(X1 >= sWidth, X0, X1); in generate() 1705 data.sWidth = source->getWidth(); in blitReactor()
|
/external/swiftshader/src/OpenGL/libGLES_CM/ |
D | Device.cpp | 326 int sWidth = source->getWidth(); in stretchRect() local 343 sRect.x1 = sWidth; in stretchRect()
|
/external/swiftshader/src/D3D8/ |
D | Direct3DDevice8.cpp | 429 int sWidth = sourceDescription.Width; in CopyRects() local 434 RECT sRect = {0, 0, sWidth, sHeight}; in CopyRects() 4184 int sWidth = sRect.right - sRect.left; in updateSurface() local 4195 sWidth != dWidth || in updateSurface()
|