HomeSort by relevance Sort by last modified time
    Searched refs:screenWidth (Results 1 - 25 of 357) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/skia/bench/
GLBench.h 40 static GrGLuint SetupFramebuffer(const GrGLInterface*, int screenWidth, int screenHeight);
41 static void DumpImage(const GrGLInterface* gl, uint32_t screenWidth, uint32_t screenHeight,
GLBench.cpp 131 GrGLuint GLBench::SetupFramebuffer(const GrGLInterface* gl, int screenWidth, int screenHeight) {
144 screenWidth, // width
161 GR_GL_CALL(gl, Viewport(0, 0, screenWidth, screenHeight));
166 void GLBench::DumpImage(const GrGLInterface* gl, uint32_t screenWidth, uint32_t screenHeight,
169 SkAutoTArray<uint32_t> readback(screenWidth * screenHeight);
172 screenWidth, // width
180 if (!bm.tryAllocPixels(SkImageInfo::MakeN32Premul(screenWidth, screenHeight))) {
  /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));
  /frameworks/support/v17/leanback/src/android/support/v17/leanback/app/
VideoFragment.java 88 int screenWidth = getView().getWidth();
92 if (screenWidth * height > width * screenHeight) {
98 p.width = screenWidth;
99 p.height = screenWidth * height / width;
VideoSupportFragment.java 91 int screenWidth = getView().getWidth();
95 if (screenWidth * height > width * screenHeight) {
101 p.width = screenWidth;
102 p.height = screenWidth * height / width;
  /packages/apps/DocumentsUI/src/com/android/documentsui/base/
Display.java 31 public static float screenWidth(Activity activity) {
  /platform_testing/libraries/system-helpers/device-helper/src/android/system/helpers/
DeviceHelper.java 65 int screenWidth = Math.min(
69 int smallestScreenWidthDp = (Math.min(screenWidth, screenHeight)
  /external/webrtc/talk/app/webrtc/java/android/org/webrtc/
VideoRendererGui.java 68 private int screenWidth;
141 // Layout properties update lock. Guards |updateLayoutProperties|, |screenWidth|,
147 private int screenWidth;
207 (screenWidth * layoutInPercentage.left + 99) / 100,
209 (screenWidth * layoutInPercentage.right) / 100,
313 public void setScreenSize(final int screenWidth, final int screenHeight) {
315 if (screenWidth == this.screenWidth && screenHeight == this.screenHeight) {
319 screenWidth + " x " + screenHeight);
320 this.screenWidth = screenWidth
    [all...]
  /external/webrtc/webrtc/modules/video_render/external/
video_render_external_impl.cc 117 uint32_t& screenWidth,
121 screenWidth = 0;
video_render_external_impl.h 86 GetScreenResolution(uint32_t& screenWidth,
  /packages/apps/Dialer/java/com/android/contacts/common/widget/
FloatingActionButtonController.java 64 * @param screenWidth The width of the screen in pixels.
66 public void setScreenWidth(int screenWidth) {
67 mScreenWidth = screenWidth;
  /cts/tests/tests/text/src/android/text/method/cts/
TouchTest.java 112 int screenWidth = metrics.widthPixels;
116 while (textWidth < screenWidth) {
122 int dragAmount = Math.min(screenWidth, textWidth - screenWidth);
  /external/webrtc/webrtc/modules/video_render/
i_video_render.h 88 GetScreenResolution(uint32_t& screenWidth,
video_render.h 201 GetScreenResolution(uint32_t& screenWidth,
  /external/webrtc/webrtc/modules/video_render/ios/
video_render_ios_impl.mm 116 int32_t VideoRenderIosImpl::GetScreenResolution(uint32_t& screenWidth,
118 return ptr_ios_render_->GetScreenResolution(screenWidth, screenHeight);
  /external/webrtc/webrtc/modules/video_render/linux/
video_render_linux_impl.h 87 GetScreenResolution(uint32_t& screenWidth,
  /external/webrtc/webrtc/modules/video_render/mac/
video_render_mac_carbon_impl.h 89 virtual int32_t GetScreenResolution(uint32_t& screenWidth,
video_render_mac_cocoa_impl.h 89 virtual int32_t GetScreenResolution(uint32_t& screenWidth,
video_render_mac_cocoa_impl.mm 176 VideoRenderMacCocoaImpl::GetScreenResolution(uint32_t& screenWidth,
184 screenWidth = frame.size.width;
  /frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
RenderDrawable.java 121 final int screenWidth = hardwareConfig.getScreenWidth();
126 w = screenWidth;
128 } else if (w > screenWidth || h > screenHeight) {
131 // We need to find scale such that scale * w <= screenWidth, scale * h <= screenHeight
132 double scale = Math.min((double) screenWidth / w, (double) screenHeight / h);
  /packages/apps/Contacts/src/com/android/contacts/widget/
FloatingActionButtonController.java 70 * @param screenWidth The width of the screen in pixels.
72 public void setScreenWidth(int screenWidth) {
73 mScreenWidth = screenWidth;
  /external/webrtc/webrtc/modules/video_render/windows/
video_render_windows_impl.h 95 GetScreenResolution(uint32_t& screenWidth,
  /packages/apps/WallpaperPicker/src/com/android/wallpaperpicker/
CropView.java 198 float screenWidth = getWidth() / mRenderer.scale;
199 mCenterX = screenWidth / 2 + offset * (crop.width() - screenWidth) + crop.left;
  /external/webrtc/webrtc/modules/video_render/android/
video_render_android_impl.h 88 uint32_t& screenWidth,

Completed in 1100 milliseconds

1 2 3 4 5 6 7 8 91011>>