/external/jmonkeyengine/engine/src/core/com/jme3/scene/control/ |
AreaUtils.java | 56 * @param screenWidth The width of the screen. 59 public static float calcScreenArea(BoundingVolume bound, float distance, float screenWidth) { 61 return calcScreenArea((BoundingSphere) bound, distance, screenWidth); 63 return calcScreenArea((BoundingBox) bound, distance, screenWidth); 68 private static float calcScreenArea(BoundingSphere bound, float distance, float screenWidth) { 74 float radius = (bound.getRadius() * screenWidth) / (distance * 2); 78 private static float calcScreenArea(BoundingBox bound, float distance, float screenWidth) { 83 return ((radiusSquare * screenWidth * screenWidth) / (distance * distance * 4)) * FastMath.PI;
|
/sdk/layoutlib_api/src/com/android/ide/common/rendering/api/ |
DrawableParams.java | 35 * @param screenWidth the screen width 59 int screenWidth, int screenHeight, 65 super(projectKey, screenWidth, screenHeight, density, xdpi, ydpi,
|
SessionParams.java | 65 * @param screenWidth the screen width 90 int screenWidth, int screenHeight, 96 super(projectKey, screenWidth, screenHeight, density, xdpi, ydpi,
|
RenderParams.java | 58 * @param screenWidth the screen width 81 int screenWidth, int screenHeight, 88 mScreenWidth = screenWidth;
|
/frameworks/base/core/java/com/android/internal/widget/ |
WeightedLinearLayout.java | 59 final int screenWidth = metrics.widthPixels; 60 final boolean isPortrait = screenWidth < metrics.heightPixels; 74 final int weightedMin = (int) (screenWidth * widthWeightMin); 75 final int weightedMax = (int) (screenWidth * widthWeightMin);
|
/frameworks/base/core/tests/coretests/src/android/view/ |
BigCache.java | 46 final int screenWidth = display.getWidth(); 52 tiny.setLayoutParams(new LinearLayout.LayoutParams(screenWidth, screenHeight)); 58 final int height = 2 * (cacheSize / 2) / screenWidth; 59 large.setLayoutParams(new LinearLayout.LayoutParams(screenWidth, height));
|
/sdk/layoutlib_api/src/com/android/layoutlib/api/ |
ILayoutBridge.java | 86 * @param screenWidth the screen width 89 * layout. This size is never smaller than <var>screenWidth</var> x <var>screenHeight</var>. 113 int screenWidth, int screenHeight, boolean renderFullSize, 125 * @param screenWidth the screen width 150 int screenWidth, int screenHeight, int density, float xdpi, float ydpi, 161 * @param screenWidth the screen width 183 int screenWidth, int screenHeight, String themeName, boolean isProjectTheme, 193 * @param screenWidth 215 int screenWidth, int screenHeight, String themeName,
|
/packages/apps/Contacts/src/com/android/contacts/detail/ |
ContactDetailFragmentCarousel.java | 102 int screenWidth = MeasureSpec.getSize(widthMeasureSpec); 108 mMinFragmentWidth = (int) (FRAGMENT_WIDTH_SCREEN_WIDTH_FRACTION * screenWidth); 110 screenWidth; 111 mLowerThreshold = (screenWidth - mMinFragmentWidth) / MAX_FRAGMENT_VIEW_COUNT; 126 child.measure(MeasureSpec.makeMeasureSpec(screenWidth, MeasureSpec.EXACTLY), 132 resolveSize(screenWidth, widthMeasureSpec),
|
ContactDetailTabCarousel.java | 158 int screenWidth = MeasureSpec.getSize(widthMeasureSpec); 160 int tabWidth = Math.round(mTabWidthScreenWidthFraction * screenWidth); 164 mAllowedHorizontalScrollLength = tabWidth * TAB_COUNT - screenWidth; 177 mScrollScaleFactor = screenWidth / mAllowedHorizontalScrollLength; 180 int tabHeight = Math.round(screenWidth * mTabHeightScreenWidthFraction) + mTabShadowHeight; 200 resolveSize(screenWidth, widthMeasureSpec),
|
/external/jmonkeyengine/engine/src/core-effects/com/jme3/post/filters/ |
BloomFilter.java | 92 private int screenWidth; 113 screenWidth = (int) Math.max(1, (w / downSamplingFactor)); 115 // System.out.println(screenWidth + " " + screenHeight); 118 preGlowPass.init(renderManager.getRenderer(), screenWidth, screenHeight, Format.RGBA8, Format.Depth); 142 extractPass.init(renderManager.getRenderer(), screenWidth, screenHeight, Format.RGBA8, Format.Depth, 1, extractMat); 152 hBlurMat.setFloat("Size", screenWidth); 157 horizontalBlur.init(renderManager.getRenderer(), screenWidth, screenHeight, Format.RGBA8, Format.Depth, 1, hBlurMat); 172 verticalalBlur.init(renderManager.getRenderer(), screenWidth, screenHeight, Format.RGBA8, Format.Depth, 1, vBlurMat);
|
/cts/tests/tests/text/src/android/text/method/cts/ |
TouchTest.java | 108 int screenWidth = metrics.widthPixels; 112 while (textWidth < screenWidth) { 118 int dragAmount = Math.min(screenWidth, textWidth - screenWidth);
|
/external/jmonkeyengine/engine/src/core-effects/com/jme3/post/ssao/ |
SSAOFilter.java | 124 int screenWidth = w; 129 normalPass.init(renderManager.getRenderer(), (int) (screenWidth / downSampleFactor), (int) (screenHeight / downSampleFactor), Format.RGBA8, Format.Depth); 135 float farX = farY * ((float) screenWidth / (float) screenHeight); 159 ssaoPass.init(renderManager.getRenderer(), (int) (screenWidth / downSampleFactor), (int) (screenHeight / downSampleFactor), Format.RGBA8, Format.Depth, 1, ssaoMat);
|
/packages/inputmethods/PinyinIME/src/com/android/inputmethod/pinyin/ |
SkbContainer.java | 263 int screenWidth = mEnvironment.getScreenWidth(); 279 R.xml.skb_qwerty, screenWidth, skbHeight, mContext); 284 screenWidth, skbHeight, mContext); 289 screenWidth, skbHeight, mContext); 294 R.xml.skb_smiley, screenWidth, skbHeight, mContext); 299 R.xml.skb_phone, screenWidth, skbHeight, mContext);
|
/packages/apps/Calendar/src/com/android/calendar/agenda/ |
AgendaFragment.java | 138 int screenWidth = mActivity.getResources().getDisplayMetrics().widthPixels; 190 params.width = screenWidth; 194 listParams.width = screenWidth * 4 / 10; 197 detailsParams.width = screenWidth - listParams.width;
|
/frameworks/base/core/java/com/android/internal/view/menu/ |
ActionMenuItemView.java | 207 final int screenWidth = context.getResources().getDisplayMetrics().widthPixels; 213 screenWidth - screenPos[0] - width / 2, height);
|
/frameworks/base/libs/androidfw/ |
ResourceTypes.cpp | [all...] |
/external/webkit/Source/WebKit/android/WebCoreSupport/ |
PlatformBridge.cpp | 149 return webViewCore->screenWidth();
|
/external/webkit/Source/WebKit/android/jni/ |
WebViewCore.h | 310 void setSizeScreenWidthAndScale(int width, int height, int screenWidth, 557 int screenWidth() const { return m_screenWidth; } [all...] |
WebViewCore.cpp | [all...] |
/cts/tests/tests/view/src/android/view/cts/ |
ViewGroupTest.java | 527 int screenWidth = metrics.widthPixels; 529 vg.setFrame(0, 0, screenWidth, screenHeight); 530 vg.setLayoutParams(new ViewGroup.LayoutParams(screenWidth, screenHeight)); 544 vg.addView(textView, new LayoutParams(screenWidth, screenHeight)); 549 screenWidth / 2, screenHeight / 2, 0); 554 textView.setFrame(0, 0, screenWidth, screenHeight); [all...] |
WindowTest.java | 268 int screenWidth = dm.widthPixels; 270 assertEquals(screenWidth, decor.getWidth()); [all...] |
/external/webkit/Tools/DumpRenderTree/chromium/ |
WebViewHost.cpp | 71 static const int screenWidth = 1920; 682 info.rect = WebRect(0, 0, screenWidth, screenHeight); 685 screenWidth - screenUnavailableBorder * 2, [all...] |
/frameworks/base/core/java/android/content/res/ |
AssetManager.java | 654 int keyboardHidden, int navigation, int screenWidth, int screenHeight,
|
/frameworks/base/services/java/com/android/server/wm/ |
WindowState.java | 807 boolean isFullscreen(int screenWidth, int screenHeight) { 809 mFrame.right >= screenWidth && mFrame.bottom >= screenHeight; [all...] |
/frameworks/base/core/jni/ |
android_util_AssetManager.cpp | 512 jint screenWidth, jint screenHeight, 536 config.screenWidth = (uint16_t)screenWidth; [all...] |