Searched refs:tw (Results 1 – 7 of 7) sorted by relevance
/frameworks/rs/tests/java_api/ImageProcessing_jb/src/com/android/rs/image/ |
D | ImageProcessingActivityJB.java | 678 int tw = mBitmapWidth; in startProcessor() local 681 if (tw > mScreenWidth || th > mScreenHeight) { in startProcessor() 682 float s1 = (float)tw / (float)mScreenWidth; in startProcessor() 686 tw /= s1; in startProcessor() 689 tw /= s2; in startProcessor() 694 android.util.Log.v("rs", "TV sizes " + tw + ", " + th); in startProcessor() 696 mDisplayView.mWidth = tw; in startProcessor()
|
/frameworks/rs/tests/java_api/ImageProcessing2/src/com/android/rs/image/ |
D | ImageProcessingActivity2.java | 723 int tw = mBitmapWidth; in startProcessor() local 726 if (tw > mScreenWidth || th > mScreenHeight) { in startProcessor() 727 float s1 = (float)tw / (float)mScreenWidth; in startProcessor() 731 tw /= s1; in startProcessor() 734 tw /= s2; in startProcessor() 739 android.util.Log.v("rs", "TV sizes " + tw + ", " + th); in startProcessor() 741 mDisplayViewIO.mWidth = tw; in startProcessor()
|
/frameworks/base/cmds/bootanimation/ |
D | BootAnimation.cpp | 229 int tw = 1 << (31 - __builtin_clz(w)); in initTexture() local 231 if (tw < w) tw <<= 1; in initTexture() 236 if (!mUseNpotTextures && (tw != w || th != h)) { in initTexture() 237 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, tw, th, 0, GL_RGBA, in initTexture() 248 if (!mUseNpotTextures && (tw != w || th != h)) { in initTexture() 249 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGB, tw, th, 0, GL_RGB, in initTexture()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | WindowStateAnimator.java | 917 float tw = (surfaceContentWidth - mTmpStackBounds.width()) in setSurfaceBoundariesLocked() local 919 float th = tw; in setSurfaceBoundariesLocked() 920 mExtraHScale = (initialWidth + tw * (finalWidth - initialWidth)) / initialWidth; in setSurfaceBoundariesLocked() 926 mExtraVScale = (initialHeight + tw * (finalHeight - initialHeight)) in setSurfaceBoundariesLocked() 933 posX -= (int) (tw * mExtraHScale * mTmpSourceBounds.left); in setSurfaceBoundariesLocked() 943 clipRect.set((int)((insets.left + mTmpSourceBounds.left) * tw), in setSurfaceBoundariesLocked() 946 - (tw* (surfaceWidth - mTmpSourceBounds.right))), in setSurfaceBoundariesLocked()
|
/frameworks/base/core/java/android/app/ |
D | ActivityManager.java | 1742 final int tw = thumbnail.getWidth(); in addAppTask() local 1744 if (tw != size.x || th != size.y) { in addAppTask() 1750 if (tw * size.x > size.y * th) { in addAppTask() 1752 dx = (size.y - tw * scale) * 0.5f; in addAppTask() 1754 scale = (float) size.y / (float) tw; in addAppTask()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | StatusBarIconView.java | 501 final int tw = r.right - r.left; in placeNumber() local 504 int dw = r.left + tw + r.right; in placeNumber()
|
/frameworks/native/opengl/libagl/ |
D | texture.cpp | 796 const GLuint tw = textureObject->surface.width; in drawTexiOES() local 798 if ((uint32_t(s0+x+w) > tw) || (uint32_t(t0+y+h) > th)) { in drawTexiOES()
|