Searched refs:getWidth (Results 1 - 25 of 412) sorted by relevance

1234567891011>>

/external/chromium_org/ui/webui/resources/js/cr/ui/table/
H A Dtable_splitter.js49 this.columnWidth_ = cm.getWidth(this.columnIndex);
50 this.nextColumnWidth_ = cm.getWidth(this.columnIndex + 1);
/external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/core/controls/flyout/
H A DIFlyoutPreferences.java57 int getWidth(); method in interface:IFlyoutPreferences
H A DMemoryFlyoutPreferences.java48 public int getWidth() { method in class:MemoryFlyoutPreferences
/external/deqp/framework/opengl/
H A DgluPixelTransfer.cpp54 TCU_CHECK_INTERNAL(dst.getRowPitch() == dst.getFormat().getPixelSize()*dst.getWidth());
56 int width = dst.getWidth();
73 TCU_CHECK_INTERNAL(src.getRowPitch() == src.getFormat().getPixelSize()*src.getWidth());
75 int width = src.getWidth();
91 TCU_CHECK_INTERNAL(src.getRowPitch() == src.getFormat().getPixelSize()*src.getWidth());
94 int width = src.getWidth();
112 TCU_CHECK_INTERNAL(src.getRowPitch() == src.getFormat().getPixelSize()*src.getWidth());
114 int width = src.getWidth();
130 TCU_CHECK_INTERNAL(src.getRowPitch() == src.getFormat().getPixelSize()*src.getWidth());
133 int width = src.getWidth();
[all...]
H A DgluTexture.cpp97 gl.texImage1D(GL_TEXTURE_1D, levelNdx, m_format, access.getWidth(), 0 /* border */, transferFormat.format, transferFormat.dataType, access.getDataPtr());
133 , m_refTexture (levels[0].getUncompressedFormat(), levels[0].getWidth(), levels[0].getHeight())
180 DE_ASSERT(access.getRowPitch() == access.getFormat().getPixelSize()*access.getWidth());
181 gl.texImage2D(GL_TEXTURE_2D, levelNdx, m_format, access.getWidth(), access.getHeight(), 0 /* border */, transferFormat.format, transferFormat.dataType, access.getDataPtr());
202 TCU_CHECK(level.getWidth() == refLevelAccess.getWidth() &&
208 level.getWidth(), level.getHeight(), 0 /* border */, level.getDataSize(), level.getData());
233 Texture2D* texture = new Texture2D(context, isRGBA ? GL_RGBA : GL_RGB, GL_UNSIGNED_BYTE, level.getWidth(), level.getHeight());
292 , m_refTexture (levels[0].getUncompressedFormat(), levels[0].getWidth())
297 TCU_CHECK_INTERNAL(levels[0].getWidth()
[all...]
/external/glide/library/src/main/java/com/bumptech/glide/request/target/
H A DDrawableImageViewTarget.java25 float viewRatio = view.getWidth() / (float) view.getHeight();
28 resource = new SquaringDrawable(resource, view.getWidth());
H A DViewTarget.java103 notifyCbs(view.getWidth(), view.getHeight());
127 cb.onSizeReady(view.getWidth(), view.getHeight());
134 final int width = display.getWidth();
141 cb.onSizeReady(display.getWidth(), display.getHeight());
151 return view.getWidth() > 0 && view.getHeight() > 0;
/external/deqp/framework/common/
H A DtcuRenderTarget.hpp46 int getWidth (void) const { return m_width; } function in class:tcu::RenderTarget
H A DtcuFuzzyImageCompare.cpp124 int w = src.getWidth();
162 DE_ASSERT(dst.getWidth() == src.getWidth() && dst.getHeight() == src.getHeight());
164 TextureLevel tmp (dst.getFormat(), dst.getHeight(), dst.getWidth());
174 for (int i = 0; i < src.getWidth(); i++)
181 deUint32 p = readUnorm8<SrcChannels>(src, de::clamp(i+kx-shiftX, 0, src.getWidth()-1), j);
193 for (int i = 0; i < src.getWidth(); i++)
200 deUint32 p = readUnorm8<DstChannels>(tmpAccess, de::clamp(j+ky-shiftY, 0, tmp.getWidth()-1), i);
238 if (!deInBounds32(dx, 0, surface.getWidth()) || !deInBounds32(dy, 0, surface.getHeight()))
274 DE_ASSERT(ref.getWidth()
[all...]
H A DtcuTextureUtil.cpp116 DE_ASSERT(de::inBounds(x, 0, access.getWidth()) && de::inRange(x+width, x, access.getWidth()));
136 DE_ASSERT(de::inBounds(x, 0, access.getWidth()) && de::inRange(x+width, x, access.getWidth()));
181 return PixelBufferAccess(access.getFormat(), access.getWidth(), access.getHeight(), access.getDepth(),
195 return ConstPixelBufferAccess(access.getFormat(), access.getWidth(), access.getHeight(), access.getDepth(),
446 int width = dst.getWidth();
475 if (access.getWidth()*access.getHeight()*access.getDepth() >= CLEAR_OPTIMIZE_THRESHOLD &&
495 for (int x = 0; x < access.getWidth(); x++)
503 if (access.getWidth()*acces
[all...]
/external/glide/library/src/main/java/com/bumptech/glide/load/resource/bitmap/
H A DTransformationUtils.java37 } else if (toCrop.getWidth() == width && toCrop.getHeight() == height) {
46 if (toCrop.getWidth() * height > width * toCrop.getHeight()) {
48 dx = (width - toCrop.getWidth() * scale) * 0.5f;
50 scale = (float) width / (float) toCrop.getWidth();
81 if (toFit.getWidth() == width && toFit.getHeight() == height) {
87 final float widthPercentage = width / (float) toFit.getWidth();
94 final int targetWidth = (int) (minPercentage * toFit.getWidth());
97 if (toFit.getWidth() == targetWidth && toFit.getHeight() == targetHeight) {
112 Log.v(TAG, "toFit: " + toFit.getWidth() + "x" + toFit.getHeight());
113 Log.v(TAG, "toReuse: " + toReuse.getWidth()
[all...]
/external/chromium_org/third_party/angle/util/
H A DOSWindow.cpp18 int OSWindow::getWidth() const function in class:OSWindow
H A DOSWindow.h25 int getWidth() const;
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
H A DBitmapFactoryTest.java24 assertEquals(100, bitmap.getWidth());
33 assertEquals(100, bitmap.getWidth());
43 assertEquals(100, bitmap.getWidth());
52 assertEquals(100, bitmap.getWidth());
62 assertEquals(123, bitmap.getWidth());
73 assertEquals(123, bitmap.getWidth());
93 assertEquals(123, bitmap.getWidth());
113 assertEquals(123, bitmap.getWidth());
124 assertEquals(123, bitmap.getWidth());
/external/skia/src/gpu/
H A DGrPath.cpp24 keyData[3] = static_cast<uint32_t>(stroke.getWidth());
/external/smali/util/src/main/java/org/jf/util/
H A DSmaliHelpFormatter.java43 super.printOptions(pw, getWidth(), debugOptions, getLeftPadding(), getDescPadding());
/external/deqp/framework/referencerenderer/
H A DrrMultisamplePixelBufferAccess.hpp48 inline int getNumSamples (void) const { return raw().getWidth(); }
76 inline int getNumSamples (void) const { return raw().getWidth(); }
H A DrrMultisamplePixelBufferAccess.cpp59 original.getWidth(),
105 original.getWidth(),
129 DE_ASSERT(dst.getWidth() == src.raw().getHeight());
136 for (int x = 0; x < dst.getWidth(); x++)
139 for (int s = 0; s < src.raw().getWidth(); s++)
/external/chromium_org/third_party/angle/samples/angle/post_sub_buffer/
H A DPostSubBuffer.cpp104 Matrix4 perspectiveMatrix = Matrix4::perspective(60.0f, float(getWindow()->getWidth()) / getWindow()->getHeight(),
121 glViewport(0, 0, getWindow()->getWidth(), getWindow()->getHeight());
144 size_t windowWidth = getWindow()->getWidth();
/external/chromium_org/third_party/angle/src/libGLESv2/
H A DFramebufferAttachment.h59 virtual GLsizei getWidth() const = 0;
89 virtual GLsizei getWidth() const;
116 virtual GLsizei getWidth() const;
H A DFramebufferAttachment.cpp103 GLsizei TextureAttachment::getWidth() const function in class:gl::TextureAttachment
105 return mTexture->getWidth(mIndex);
168 GLsizei RenderbufferAttachment::getWidth() const function in class:gl::RenderbufferAttachment
170 return mRenderbuffer->getWidth();
/external/zxing/qr_scanner/src/com/google/zxing/client/android/
H A DPlanarYUVLuminanceSource.java64 int width = getWidth();
75 int width = getWidth();
110 int width = getWidth();
/external/chromium_org/android_webview/test/shell/src/org/chromium/android_webview/test/
H A DAwTestRunnerActivity.java34 return mLinearLayout.getWidth();
/external/chromium_org/third_party/angle/samples/angle/hello_triangle/
H A DHelloTriangle.cpp73 glViewport(0, 0, getWindow()->getWidth(), getWindow()->getHeight());
/external/chromium_org/third_party/angle/src/libGLESv2/renderer/
H A DRenderTarget.h33 GLsizei getWidth() const { return mWidth; } function in class:rx::RenderTarget

Completed in 473 milliseconds

1234567891011>>