/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 498 sRect.y1 = (float)sHeight; in stretchRect() 524 sw::Rect srcClipRect(0, 0, sWidth, sHeight); in stretchRect() 556 …sRect.x0 < 0.0f) || (sRect.y0 < 0.0f) || (sRect.x1 > (float)sWidth) || (sRect.y1 > (float)sHeight); in stretchRect() 561 …(sRect.x1 == (float)sWidth) && (sRect.y1 == (float)sHeight) && (dRect.x1 == dWidth) && (dRect.y1 =… in stretchRect() 646 int sHeight = source->getHeight(); 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 | 193 int sHeight = source->getHeight(); in GenerateMipSubLevels() local 203 float h = (float)sHeight / (float)dHeight; in GenerateMipSubLevels()
|
D | Direct3DDevice9.cpp | 5442 int sHeight = sRect.bottom - sRect.top; in UpdateSurface() local 6215 int sHeight = source->getHeight(); in stretchRect() local 6219 sw::Rect sRect(0, 0, sWidth, sHeight); in stretchRect()
|
/external/swiftshader/src/Renderer/ |
D | Blitter.hpp | 90 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/Device/ |
D | Blitter.hpp | 90 int sHeight; member
|
D | Blitter.cpp | 1444 Int sHeight = *Pointer<Int>(blit + OFFSET(BlitData,sHeight)); in generate() local 1521 Y = Clamp(Y, 0, sHeight - 1); in generate() 1549 Y = Clamp(Y, 0, sHeight - 1); in generate() 1567 Y = Min(Max(y, 0.5f), Float(sHeight) - 0.5f); in generate() 1579 Y1 = IfThenElse(Y1 >= sHeight, Y0, Y1); in generate() 1706 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()
|
/external/swiftshader/src/D3D8/ |
D | Direct3DDevice8.cpp | 430 int sHeight = sourceDescription.Height; in CopyRects() local 434 RECT sRect = {0, 0, sWidth, sHeight}; in CopyRects() 4185 int sHeight = sRect.bottom - sRect.top; in updateSurface() local 4196 sHeight != dHeight) in updateSurface()
|