Searched refs:tw (Results 1 – 9 of 9) sorted by relevance
/frameworks/rs/tests/java_api/ImageProcessing_jb/src/com/android/rs/image/ |
D | ImageProcessingActivityJB.java | 679 int tw = mBitmapWidth; in startProcessor() local 682 if (tw > mScreenWidth || th > mScreenHeight) { in startProcessor() 683 float s1 = (float)tw / (float)mScreenWidth; in startProcessor() 687 tw /= s1; in startProcessor() 690 tw /= s2; in startProcessor() 695 android.util.Log.v("rs", "TV sizes " + tw + ", " + th); in startProcessor() 697 mDisplayView.mWidth = tw; in startProcessor()
|
/frameworks/support/v13/java/android/support/v13/app/ |
D | FragmentTabHost.java | 151 TabWidget tw = new TabWidget(context); in ensureHierarchy() local 152 tw.setId(android.R.id.tabs); in ensureHierarchy() 153 tw.setOrientation(TabWidget.HORIZONTAL); in ensureHierarchy() 154 ll.addView(tw, new LinearLayout.LayoutParams( in ensureHierarchy()
|
/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/support/fragment/java/android/support/v4/app/ |
D | FragmentTabHost.java | 163 TabWidget tw = new TabWidget(context); in ensureHierarchy() local 164 tw.setId(android.R.id.tabs); in ensureHierarchy() 165 tw.setOrientation(TabWidget.HORIZONTAL); in ensureHierarchy() 166 ll.addView(tw, new LinearLayout.LayoutParams( in ensureHierarchy()
|
/frameworks/base/cmds/bootanimation/ |
D | BootAnimation.cpp | 228 int tw = 1 << (31 - __builtin_clz(w)); in initTexture() local 230 if (tw < w) tw <<= 1; in initTexture() 235 if (!mUseNpotTextures && (tw != w || th != h)) { in initTexture() 236 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, tw, th, 0, GL_RGBA, in initTexture() 247 if (!mUseNpotTextures && (tw != w || th != h)) { in initTexture() 248 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGB, tw, th, 0, GL_RGB, in initTexture()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | StatusBarIconView.java | 440 final int tw = r.right - r.left; in placeNumber() local 443 int dw = r.left + tw + r.right; in placeNumber()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | WindowStateAnimator.java | 1428 float tw = (surfaceContentWidth - mTmpStackBounds.width()) in setSurfaceBoundariesLocked() local 1430 float th = tw; in setSurfaceBoundariesLocked() 1431 mExtraHScale = (initialWidth + tw * (finalWidth - initialWidth)) / initialWidth; in setSurfaceBoundariesLocked() 1437 mExtraVScale = (initialHeight + tw * (finalHeight - initialHeight)) in setSurfaceBoundariesLocked() 1444 posX -= (int) (tw * mExtraHScale * mTmpSourceBounds.left); in setSurfaceBoundariesLocked()
|
/frameworks/base/core/java/android/app/ |
D | ActivityManager.java | 2041 final int tw = thumbnail.getWidth(); in addAppTask() local 2043 if (tw != size.x || th != size.y) { in addAppTask() 2049 if (tw * size.x > size.y * th) { in addAppTask() 2051 dx = (size.y - tw * scale) * 0.5f; in addAppTask() 2053 scale = (float) size.y / (float) tw; in addAppTask()
|
/frameworks/native/opengl/libagl/ |
D | texture.cpp | 800 const GLuint tw = textureObject->surface.width; in drawTexiOES() local 802 if ((uint32_t(s0+x+w) > tw) || (uint32_t(t0+y+h) > th)) { in drawTexiOES()
|