HomeSort by relevance Sort by last modified time
    Searched defs:targetWidth (Results 1 - 25 of 29) sorted by null

1 2

  /development/samples/training/threadsample/src/com/example/android/threadsample/
PhotoDecodeRunnable.java 149 int targetWidth = mPhotoTask.getTargetWidth();
178 int wScale = bitmapOptions.outWidth / targetWidth;
  /external/deqp/modules/gles2/functional/
es2fPrerequisiteTests.cpp 178 int targetWidth = renderTarget.getWidth();
194 imageWidth = targetWidth;
201 imageWidth = targetWidth / 2;
206 x = targetWidth / 2;
208 imageWidth = targetWidth - x;
212 x = deRandom_getUint32(&rnd) % (targetWidth - 1);
214 imageWidth = 1 + (deRandom_getUint32(&rnd) % (targetWidth - x - 1));
es2fColorClearTest.cpp 106 const int targetWidth = renderTarget.getWidth();
108 const int numPixels = targetWidth * targetHeight;
112 Surface refImage (targetWidth, targetHeight);
113 Surface resImage (targetWidth, targetHeight);
114 Surface diffImage (targetWidth, targetHeight);
132 clearWidth = targetWidth;
137 clearX = (rnd.getUint32() % (2*targetWidth)) - targetWidth;
139 clearWidth = (rnd.getUint32() % targetWidth);
184 while (x < targetWidth)
    [all...]
  /external/deqp/modules/gles3/functional/
es3fPrerequisiteTests.cpp 178 int targetWidth = renderTarget.getWidth();
194 imageWidth = targetWidth;
201 imageWidth = targetWidth / 2;
206 x = targetWidth / 2;
208 imageWidth = targetWidth - x;
212 x = deRandom_getUint32(&rnd) % (targetWidth - 1);
214 imageWidth = 1 + (deRandom_getUint32(&rnd) % (targetWidth - x - 1));
es3fColorClearTest.cpp 106 const int targetWidth = renderTarget.getWidth();
108 const int numPixels = targetWidth * targetHeight;
112 Surface refImage (targetWidth, targetHeight);
113 Surface resImage (targetWidth, targetHeight);
114 Surface diffImage (targetWidth, targetHeight);
132 clearWidth = targetWidth;
137 clearX = (rnd.getUint32() % (2*targetWidth)) - targetWidth;
139 clearWidth = (rnd.getUint32() % targetWidth);
184 while (x < targetWidth)
    [all...]
  /external/glide/library/src/main/java/com/bumptech/glide/load/resource/gif/
GifData.java 20 private final int targetWidth;
26 int targetWidth, int targetHeight) {
31 this.targetWidth = targetWidth;
61 targetWidth, targetHeight);
GifFrameManager.java 40 private final int targetWidth;
50 public GifFrameManager(Context context, GifDecoder decoder, Transformation<Bitmap> transformation, int targetWidth,
53 targetWidth, targetHeight);
57 Transformation<Bitmap> transformation, int targetWidth, int targetHeight) {
62 this.targetWidth = targetWidth;
133 super(targetWidth, targetHeight);
  /packages/apps/Camera2/src/com/android/camera/data/
LocalDataUtil.java 130 int targetWidth = imageWidth;
133 while (targetHeight > heightBound || targetWidth > widthBound ||
134 targetHeight > GL11.GL_MAX_TEXTURE_SIZE || targetWidth > GL11.GL_MAX_TEXTURE_SIZE ||
135 targetHeight * targetWidth > maximumPixels) {
137 targetWidth = imageWidth / sampleSize;
148 targetWidth * targetHeight < maximumPixels / 4 && sampleSize > 1) {
  /external/glide/library/src/main/java/com/bumptech/glide/load/resource/bitmap/
TransformationUtils.java 94 final int targetWidth = (int) (minPercentage * toFit.getWidth());
97 if (toFit.getWidth() == targetWidth && toFit.getHeight() == targetHeight) {
105 Bitmap toReuse = pool.get(targetWidth, targetHeight, config);
107 toReuse = Bitmap.createBitmap(targetWidth, targetHeight, config);
  /frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
CropFilter.java 106 float targetWidth = croppedDims[0] / (float)extDims[0];
108 Quad targetQuad = Quad.fromRect(0f, 0f, targetWidth, targetHeight);
  /frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/testapp/
FullscreenBlur.java 52 static int targetWidth;
58 targetWidth = w/8;
61 Type renderType = b.setX(targetWidth).setY(targetHeight).create();
69 renderType = b.setX(targetWidth).setY(targetHeight).create();
134 addOffsets(quad, 1.0f / (float)targetWidth);
  /packages/apps/Settings/src/com/android/settings/widget/
ChartView.java 89 final int targetWidth = (int) (mOptimalWidth + (slack * mOptimalWidthWeight));
90 widthMeasureSpec = MeasureSpec.makeMeasureSpec(targetWidth, MeasureSpec.EXACTLY);
ChartSweepView.java 187 final float targetWidth = mSweep.getIntrinsicWidth() - mSweepPadding.left
189 return mSweepPadding.left + (targetWidth / 2) + mSweepOffset.x;
659 final int targetWidth = mSweep.getIntrinsicWidth() - mSweepPadding.left
661 mMargins.left = -(mSweepPadding.left + (targetWidth / 2));
  /packages/apps/Gallery2/src/com/android/photos/views/
HeaderGridView.java 198 int targetWidth = HeaderGridView.this.getMeasuredWidth()
201 widthMeasureSpec = MeasureSpec.makeMeasureSpec(targetWidth,
  /frameworks/base/core/java/com/android/internal/view/menu/
ActionMenuItemView.java 298 final int targetWidth = widthMode == MeasureSpec.AT_MOST ? Math.min(widthSize, mMinWidth)
301 if (widthMode != MeasureSpec.EXACTLY && mMinWidth > 0 && oldMeasuredWidth < targetWidth) {
303 super.onMeasure(MeasureSpec.makeMeasureSpec(targetWidth, MeasureSpec.EXACTLY),
  /frameworks/support/v7/appcompat/src/android/support/v7/internal/view/menu/
ActionMenuItemView.java 281 final int targetWidth = widthMode == MeasureSpec.AT_MOST ? Math.min(widthSize, mMinWidth)
284 if (widthMode != MeasureSpec.EXACTLY && mMinWidth > 0 && oldMeasuredWidth < targetWidth) {
286 super.onMeasure(MeasureSpec.makeMeasureSpec(targetWidth, MeasureSpec.EXACTLY),
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/orientation/
CameraOrientationActivity.java 389 int targetWidth = w;
401 Math.abs(size.width - targetWidth);
404 && size.width <= targetWidth) {
  /external/qemu/distrib/sdl-1.2.15/src/video/symbian/EKA2/
dsa_new.cpp 745 const TInt targetWidth = iScanLineWidth >> 2;
820 const TInt targetWidth = iScanLineWidth >> 2;
828 targetPtr += targetWidth * (height - 1);
834 targetPtr -= targetWidth;
845 targetPtr += targetWidth;
dsa_old.cpp 528 const TInt targetWidth = HwRect().Size().iWidth;
536 targetPtr += targetWidth * (height - 1);
542 targetPtr -= targetWidth;
553 targetPtr += targetWidth;
  /frameworks/base/core/java/android/widget/
ActionMenuView.java 418 final int targetWidth = cellsUsed * cellSize;
419 child.measure(MeasureSpec.makeMeasureSpec(targetWidth, MeasureSpec.EXACTLY),
FastScroller.java     [all...]
GridLayout.java     [all...]
  /frameworks/base/core/java/com/android/internal/widget/
SlidingTab.java 347 final int targetWidth = targetDrawable.getIntrinsicWidth();
352 final int leftTarget = (int) (THRESHOLD * parentWidth) - targetWidth + handleWidth / 2;
367 target.layout(leftTarget, targetTop, leftTarget + targetWidth, targetBottom);
372 target.layout(rightTarget, targetTop, rightTarget + targetWidth, targetBottom);
378 final int targetLeft = (parentWidth - targetWidth) / 2;
379 final int targetRight = (parentWidth + targetWidth) / 2;
    [all...]
  /frameworks/support/v7/appcompat/src/android/support/v7/widget/
ActionMenuView.java 428 final int targetWidth = cellsUsed * cellSize;
429 child.measure(MeasureSpec.makeMeasureSpec(targetWidth, MeasureSpec.EXACTLY),
  /frameworks/support/v7/gridlayout/src/android/support/v7/widget/
GridLayout.java     [all...]

Completed in 976 milliseconds

1 2