/prebuilts/gradle-plugin/com/android/tools/build/builder-test-api/0.9.3/ |
builder-test-api-0.9.3.jar | |
/sdk/emulator/opengl/host/libs/libOpenglRender/ |
WindowSurface.cpp | 102 unsigned int cbWidth = m_attachedColorBuffer->getWidth(); 145 if (m_attachedColorBuffer->getWidth() != m_width ||
|
/external/deqp/framework/common/ |
tcuTestLog.cpp | 169 int width = access.getWidth(); 198 for (int x = 0; x < logImage.getWidth(); x++) 201 float xf = ((float)x + 0.5f) / (float)logImage.getWidth(); 209 logImageAccess.getWidth(), logImageAccess.getHeight(), logImageAccess.getRowPitch(), 277 logImageAccess.getWidth(), logImageAccess.getHeight(), logImageAccess.getRowPitch(),
|
tcuImageCompare.cpp | 92 const int width = reference.getWidth(); 97 TCU_CHECK_INTERNAL(result.getWidth() == width && result.getHeight() == height && result.getDepth() == depth); 212 TextureLevel errorMask (TextureFormat(TextureFormat::RGB, TextureFormat::UNORM_INT8), reference.getWidth(), reference.getHeight()); 286 DE_ASSERT(ref.getWidth() == cmp.getWidth() && ref.getWidth() == diffMask.getWidth()); 293 for (int x = 0; x < cmp.getWidth(); x++) 329 TextureLevel diffMask (TextureFormat(TextureFormat::RGB, TextureFormat::UNORM_INT8), reference.getWidth(), reference.getHeight()); 412 int width = reference.getWidth(); [all...] |
tcuTexture.hpp | 252 int getWidth (void) const { return m_width; } 335 int getWidth (void) const { return m_width; } 417 int getWidth (void) const { return m_numLevels > 0 ? m_levels[0].getWidth() : 0; } 467 int getWidth (void) const { return m_numLevels > 0 ? m_levels[0].getWidth() : 0; } 565 int getWidth (void) const { return m_width; } 609 int getWidth (void) const { return m_width; } 680 int getSize (void) const { return m_numLevels > 0 ? m_levels[0][0].getWidth() : 0; } 764 int getWidth (void) const { return m_numLevels > 0 ? m_levels[0].getWidth() : 0; [all...] |
/external/deqp/modules/gles3/functional/ |
es3fRasterizerDiscardTests.cpp | 158 int width = m_context.getRenderTarget().getWidth(); 285 glScissor(0, 0, renderTarget.getWidth(), renderTarget.getHeight()); 286 log << TestLog::Message << "Scissor test enabled: glScissor(0, 0, " << renderTarget.getWidth() << ", " << renderTarget.getHeight() << ")" << TestLog::EndMessage; 374 tcu::Surface pixels(renderTarget.getWidth(), renderTarget.getHeight()); 378 int width = pixels.getWidth();
|
es3fFboRenderTest.cpp | 432 int width = deMin32(renderTarget.getWidth(), 128); 434 int xMax = renderTarget.getWidth()-width+1; 593 context.viewport(0, 0, context.getWidth(), context.getHeight()); 598 context.readPixels(dst, 0, 0, context.getWidth(), context.getHeight()); 726 context.viewport(0, 0, context.getWidth(), context.getHeight()); 728 context.readPixels(dst, 0, 0, context.getWidth(), context.getHeight()); 829 context.viewport(0, 0, context.getWidth(), context.getHeight()); 831 context.readPixels(dst, 0, 0, context.getWidth(), context.getHeight()); 953 context.viewport(0, 0, context.getWidth(), context.getHeight()); 959 context.readPixels(dst, 0, 0, context.getWidth(), context.getHeight()) [all...] |
es3fFramebufferBlitTests.cpp | 179 DE_ASSERT(reference.getWidth() == result.getWidth()); 190 const tcu::IVec4 destinationArea = tcu::IVec4(de::clamp(de::min(m_dstRect.x(), m_dstRect.z()), 0, result.getWidth()), 192 de::clamp(de::max(m_dstRect.x(), m_dstRect.z()), 0, result.getWidth()), 198 tcu::Surface errorMask (result.getWidth(), result.getHeight()); 668 glBlitFramebuffer(0, 0, getWidth(), getHeight(), 0, 0, texW, texH, GL_COLOR_BUFFER_BIT, m_filter); 677 glBlitFramebuffer(0, 0, texW, texH, getWidth()/2, 0, getWidth(), getHeight(), GL_COLOR_BUFFER_BIT, m_filter); 680 readPixels(dst, 0, 0, getWidth(), getHeight()); 731 if (m_context.getRenderTarget().getWidth() < minViewportSize || m_context.getRenderTarget().getHeight() < minViewportSize [all...] |
/frameworks/support/v4/java/android/support/v4/widget/ |
DrawerLayout.java | 746 final int width = drawerView.getWidth(); [all...] |
/packages/apps/Mms/src/com/android/mms/util/ |
ThumbnailManager.java | 291 " width: " + resultBitmap.getWidth() + " height: " + 394 int srcWidth = bitmap.getWidth(); 404 int width = Math.round(bitmap.getWidth() * scale); 406 if (width == bitmap.getWidth() 521 int srcWidth = bitmap.getWidth();
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
BitmapTest.java | 164 Bitmap bitmap = Bitmap.createBitmap(mBitmap.getWidth(), mBitmap.getHeight(), 186 assertEquals(10, ret.getWidth()); 259 assertEquals(100, ret.getWidth()); 305 assertEquals(10, ret.getWidth()); 314 assertEquals(50, ret.getWidth()); 468 assertEquals(31, mBitmap.getWidth()); 470 assertEquals(100, mBitmap.getWidth()); [all...] |
/external/llvm/include/llvm/Support/ |
ScaledNumber.h | 44 template <class DigitsT> inline int getWidth() { return sizeof(DigitsT) * 8; } 61 return std::make_pair(DigitsT(1) << (getWidth<DigitsT>() - 1), Scale + 1); 85 const int Width = getWidth<DigitsT>(); 119 if (getWidth<DigitsT>() <= 32 || (LHS <= UINT32_MAX && RHS <= UINT32_MAX)) 166 if (getWidth<DigitsT>() == 64) 302 if (ScaleDiff >= 2 * getWidth<DigitsT>()) { 310 assert(ShiftL < getWidth<DigitsT>() && "can't shift more than width"); 313 if (ShiftR >= getWidth<DigitsT>()) { 352 DigitsT HighBit = DigitsT(1) << (getWidth<DigitsT>() - 1); 393 if (!compare(LDigits, LScale, DigitsT(1), RLgFloor + getWidth<DigitsT>()) [all...] |
/external/deqp/modules/glshared/ |
glsRasterizationTestUtil.cpp | 618 const tcu::IVec2 viewportSize = tcu::IVec2(surface.getWidth(), surface.getHeight()); 623 tcu::Surface errorMask (surface.getWidth(), surface.getHeight()); 650 for (int x = 0; x < surface.getWidth(); ++x) [all...] |
/cts/tests/tests/hardware/src/android/hardware/camera2/cts/ |
DngCreatorTest.java | 364 Bitmap rawBitmap = Bitmap.createBitmap(raw.getWidth(), raw.getHeight(), 371 RawConverter.convertToSRGB(RenderScriptSingleton.getRS(), raw.getWidth(), 382 Rect jpegDimens = new Rect(0, 0, fullSizeJpegBmap.getWidth(), 421 Size rawBitmapSize = new Size(rawBitmap.getWidth(), rawBitmap.getHeight()); 427 RectF rawRect = new RectF(0, 0, rawBitmap.getWidth(), rawBitmap.getHeight()); 429 jpegDimens.width()), jpegDimens.height()), rawBitmap.getWidth()), 570 /*CameraTestUtils.validateImage(captureImage, s.getWidth(), s.getHeight(),
|
/frameworks/base/core/java/android/hardware/camera2/ |
DngCreator.java | 158 int width = pixels.getWidth(); 198 int width = pixels.getWidth(); 308 int width = size.getWidth(); 360 int width = size.getWidth(); 402 writeByteBuffer(pixels.getWidth(), pixels.getHeight(), buf, dngOutput, 508 int width = yuvImage.getWidth(); 567 int width = argbBitmap.getWidth();
|
/frameworks/base/core/java/android/view/ |
TextureView.java | 328 mSurface.setDefaultBufferSize(getWidth(), getHeight()); 331 mListener.onSurfaceTextureSizeChanged(mSurface, getWidth(), getHeight()); 364 mSurface.setDefaultBufferSize(getWidth(), getHeight()); 370 mListener.onSurfaceTextureAvailable(mSurface, getWidth(), getHeight()); 387 mSurface.setDefaultBufferSize(getWidth(), getHeight()); 441 mLayer.prepare(getWidth(), getHeight(), mOpaque); 521 return getBitmap(getWidth(), getHeight());
|
/frameworks/base/core/java/android/widget/ |
SlidingDrawer.java | 371 mHandleWidth = handle.getWidth(); 536 (position > (mVertical ? getHeight() : getWidth()) / 2 && 570 (mVertical ? getHeight() - mHandleHeight : getWidth() - mHandleWidth); 615 region.union(0, frame.bottom - deltaY, getWidth(), 646 frame.right - deltaX + mContent.getWidth(), getHeight()); 670 final int childWidth = mHandle.getWidth(); 704 if (mAnimationPosition >= mBottomOffset + (mVertical ? getHeight() : getWidth()) - 1) { [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
ActivatableNotificationView.java | 265 int widthHalf = mBackgroundNormal.getWidth()/2; 409 background.setPivotX(mBackgroundDimmed.getWidth() / 2f); 503 setPivotX(getWidth() / 2); 627 float left = (getWidth() * (0.5f - HORIZONTAL_COLLAPSED_REST_PARTIAL / 2.0f) * 629 float right = getWidth() - left; 703 if (getWidth() == 0 || getActualHeight() == 0) { 708 Bitmap bitmap = Bitmap.createBitmap(getWidth(), getActualHeight(),
|
/frameworks/base/packages/WallpaperCropper/src/com/android/wallpapercropper/ |
WallpaperCropActivity.java | 377 float cropScale = mCropView.getWidth() / (float) cropRect.width(); 682 scaleDownSampleSize = bounds.x / fullSize.getWidth(); 690 if (roundedTrueCrop.width() > fullSize.getWidth()) { 692 roundedTrueCrop.right = roundedTrueCrop.left + fullSize.getWidth(); 694 if (roundedTrueCrop.right > fullSize.getWidth()) { 725 float[] dimsAfter = new float[] { crop.getWidth(), crop.getHeight() }; 743 m1.setTranslate(-crop.getWidth() / 2f, -crop.getHeight() / 2f); [all...] |
/frameworks/base/services/core/java/com/android/server/ |
AssetAtlasService.java | 160 if (b1.getWidth() == b2.getWidth()) { 163 return b2.getWidth() - b1.getWidth(); 262 final Canvas canvas = acquireCanvas(buffer.getWidth(), buffer.getHeight()); 278 if (atlas.pack(bitmap.getWidth(), bitmap.getHeight(), entry) != null) { 730 if (atlas.pack(bitmap.getWidth(), bitmap.getHeight(), entry) != null) {
|
/packages/apps/Gallery/src/com/android/camera/ |
CropImage.java | 437 int width = mBitmap.getWidth(); 472 int width = mBitmap.getWidth(); 505 if (mBitmap.getWidth() > 256) { 506 mScale = 256.0F / mBitmap.getWidth(); 511 .getWidth(), mBitmap.getHeight(), matrix, true); 521 FaceDetector detector = new FaceDetector(faceBitmap.getWidth(), 762 float thisWidth = getWidth();
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
WidgetPreviewLoader.java | 214 unusedBitmap.getWidth() != mPreviewBitmapWidth || 445 (preview.getWidth() != mPreviewBitmapWidth || 559 int x = (preview.getWidth() - previewWidth) / 2; 568 src.set(0, 0, defaultPreview.getWidth(), defaultPreview.getHeight()); 583 final int previewBitmapWidth = preview.getWidth(); 624 tempBitmap.getWidth() != maxWidth || 649 (preview.getWidth() != maxWidth || preview.getHeight() != maxHeight)) {
|
/packages/apps/Launcher3/WallpaperPicker/src/com/android/launcher3/ |
WallpaperCropActivity.java | 381 float cropScale = mCropView.getWidth() / (float) cropRect.width(); 689 scaleDownSampleSize = bounds.x / fullSize.getWidth(); 697 if (roundedTrueCrop.width() > fullSize.getWidth()) { 699 roundedTrueCrop.right = roundedTrueCrop.left + fullSize.getWidth(); 701 if (roundedTrueCrop.right > fullSize.getWidth()) { 732 float[] dimsAfter = new float[] { crop.getWidth(), crop.getHeight() }; 750 m1.setTranslate(-crop.getWidth() / 2f, -crop.getHeight() / 2f); [all...] |
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
TwoPaneLayout.java | 158 final int leftEdgeCoord = (int) mListView.getX() + mListView.getWidth(); 224 final int leftEdgeCoord = (int) mListView.getX() + mListView.getWidth(); 507 invalidate((int) mListView.getX() + mListView.getWidth(), 0, 508 (int) mFoldersView.getX() + mFoldersView.getWidth(), getBottom()); 572 right = mIsRtl ? mListView.getX() + mListView.getWidth() : 573 mConversationFrame.getX() + mConversationFrame.getWidth(); 576 right = left + mListView.getWidth(); [all...] |
/frameworks/base/libs/hwui/ |
RenderNode.cpp | 153 info.damageAccumulator->dirty(0, 0, properties().getWidth(), properties().getHeight()); 191 mLayer = LayerRenderer::createRenderLayer(info.renderState, getWidth(), getHeight()); 195 } else if (mLayer->layer.getWidth() != getWidth() || mLayer->layer.getHeight() != getHeight()) { 196 if (!LayerRenderer::resizeLayer(mLayer, getWidth(), getHeight())) { 224 if (dirty.intersect(0, 0, getWidth(), getHeight())) { 424 Rect layerBounds(0, 0, getWidth(), getHeight()); 434 (int)layerBounds.getWidth(), (int)layerBounds.getHeight()); [all...] |