HomeSort by relevance Sort by last modified time
    Searched full:targetheight (Results 1 - 25 of 70) sorted by null

1 2 3

  /external/libgdx/gdx/src/com/badlogic/gdx/utils/
Scaling.java 51 public Vector2 apply (float sourceWidth, float sourceHeight, float targetWidth, float targetHeight) {
54 float targetRatio = targetHeight / targetWidth;
56 float scale = targetRatio > sourceRatio ? targetWidth / sourceWidth : targetHeight / sourceHeight;
62 float targetRatio = targetHeight / targetWidth;
64 float scale = targetRatio < sourceRatio ? targetWidth / sourceWidth : targetHeight / sourceHeight;
76 float scale = targetHeight / sourceHeight;
83 temp.y = targetHeight;
91 temp.y = targetHeight;
  /external/webrtc/webrtc/modules/video_processing/
spatial_resampler.h 34 virtual int32_t TargetHeight() = 0;
48 virtual int32_t TargetHeight();
  /external/glide/library/src/main/java/com/bumptech/glide/load/resource/gif/
GifFrameManager.java 31 private final int targetHeight;
43 public GifFrameManager(Context context, GifDecoder decoder, int targetWidth, int targetHeight) {
45 targetHeight);
49 int targetWidth, int targetHeight) {
54 this.targetHeight = targetHeight;
127 super(targetWidth, targetHeight);
GifDrawable.java 85 frameManager = new GifFrameManager(state.context, decoder, state.targetWidth, state.targetHeight);
319 int targetHeight;
325 Transformation<Bitmap> frameTransformation, int targetWidth, int targetHeight,
337 this.targetHeight = targetHeight;
348 targetHeight = original.targetHeight;
  /external/deqp/modules/gles2/functional/
es2fColorClearTest.cpp 107 const int targetHeight = renderTarget.getHeight();
108 const int numPixels = targetWidth * targetHeight;
112 Surface refImage (targetWidth, targetHeight);
113 Surface resImage (targetWidth, targetHeight);
114 Surface diffImage (targetWidth, targetHeight);
133 clearHeight = targetHeight;
138 clearY = (rnd.getUint32() % (2*targetHeight)) - targetHeight;
140 clearHeight = (rnd.getUint32() % targetHeight);
170 for (int y = 0; y < targetHeight; y++
    [all...]
es2fPrerequisiteTests.cpp 179 int targetHeight = renderTarget.getHeight();
195 imageHeight = targetHeight;
202 imageHeight = targetHeight / 2;
207 y = targetHeight / 2;
209 imageHeight = targetHeight - y;
213 y = deRandom_getUint32(&rnd) % (targetHeight - 1);
215 imageHeight = 1 + (deRandom_getUint32(&rnd) % (targetHeight - y - 1));
  /external/deqp/modules/gles3/functional/
es3fColorClearTest.cpp 107 const int targetHeight = renderTarget.getHeight();
108 const int numPixels = targetWidth * targetHeight;
112 Surface refImage (targetWidth, targetHeight);
113 Surface resImage (targetWidth, targetHeight);
114 Surface diffImage (targetWidth, targetHeight);
133 clearHeight = targetHeight;
138 clearY = (rnd.getUint32() % (2*targetHeight)) - targetHeight;
140 clearHeight = (rnd.getUint32() % targetHeight);
170 for (int y = 0; y < targetHeight; y++
    [all...]
es3fPrerequisiteTests.cpp 179 int targetHeight = renderTarget.getHeight();
195 imageHeight = targetHeight;
202 imageHeight = targetHeight / 2;
207 y = targetHeight / 2;
209 imageHeight = targetHeight - y;
213 y = deRandom_getUint32(&rnd) % (targetHeight - 1);
215 imageHeight = 1 + (deRandom_getUint32(&rnd) % (targetHeight - y - 1));
  /packages/apps/Camera2/src/com/android/camera/data/
FilmstripItemUtils.java 106 int targetHeight = imageHeight;
108 while (targetHeight > heightBound || targetWidth > widthBound ||
109 targetHeight > GL11.GL_MAX_TEXTURE_SIZE || targetWidth > GL11.GL_MAX_TEXTURE_SIZE ||
110 targetHeight * targetWidth > maximumPixels) {
113 targetHeight = imageWidth / sampleSize;
123 targetWidth * targetHeight < maximumPixels / 4 && sampleSize > 1) {
  /packages/apps/ContactsCommon/src/com/android/contacts/common/util/
BitmapUtil.java 121 * @param targetHeight desired output height
126 public static Bitmap getRoundedBitmap(Bitmap input, int targetWidth, int targetHeight) {
131 final Bitmap result = Bitmap.createBitmap(targetWidth, targetHeight,
137 final RectF dst = new RectF(0, 0, targetWidth, targetHeight);
150 (float) inputHeight / targetHeight);
153 final int yCropAmountHalved = (int) (scaleBy * targetHeight / 2);
  /packages/apps/Gallery/src/com/android/camera/
Util.java 153 int targetHeight,
157 int deltaY = source.getHeight() - targetHeight;
165 Bitmap b2 = Bitmap.createBitmap(targetWidth, targetHeight,
175 deltaYHalf + Math.min(targetHeight, source.getHeight()));
177 int dstY = (targetHeight - src.height()) / 2;
182 targetHeight - dstY);
193 float viewAspect = (float) targetWidth / targetHeight;
196 float scale = targetHeight / bitmapHeightF;
225 int dy1 = Math.max(0, b1.getHeight() - targetHeight);
232 targetHeight);
    [all...]
  /developers/build/prebuilts/gradle/BasicMediaDecoder/Application/src/main/java/com/example/android/common/media/
CameraHelper.java 70 int targetHeight = h;
79 if (Math.abs(size.height - targetHeight) < minDiff && previewSizes.contains(size)) {
81 minDiff = Math.abs(size.height - targetHeight);
89 if (Math.abs(size.height - targetHeight) < minDiff && previewSizes.contains(size)) {
91 minDiff = Math.abs(size.height - targetHeight);
  /developers/build/prebuilts/gradle/BasicRenderScript/Application/src/main/java/com/example/android/common/media/
CameraHelper.java 70 int targetHeight = h;
79 if (Math.abs(size.height - targetHeight) < minDiff && previewSizes.contains(size)) {
81 minDiff = Math.abs(size.height - targetHeight);
89 if (Math.abs(size.height - targetHeight) < minDiff && previewSizes.contains(size)) {
91 minDiff = Math.abs(size.height - targetHeight);
  /developers/build/prebuilts/gradle/MediaRecorder/Application/src/main/java/com/example/android/common/media/
CameraHelper.java 70 int targetHeight = h;
79 if (Math.abs(size.height - targetHeight) < minDiff && previewSizes.contains(size)) {
81 minDiff = Math.abs(size.height - targetHeight);
89 if (Math.abs(size.height - targetHeight) < minDiff && previewSizes.contains(size)) {
91 minDiff = Math.abs(size.height - targetHeight);
  /developers/samples/android/common/src/java/com/example/android/common/media/
CameraHelper.java 70 int targetHeight = h;
79 if (Math.abs(size.height - targetHeight) < minDiff && previewSizes.contains(size)) {
81 minDiff = Math.abs(size.height - targetHeight);
89 if (Math.abs(size.height - targetHeight) < minDiff && previewSizes.contains(size)) {
91 minDiff = Math.abs(size.height - targetHeight);
  /development/samples/browseable/BasicMediaDecoder/src/com.example.android.common.media/
CameraHelper.java 70 int targetHeight = h;
79 if (Math.abs(size.height - targetHeight) < minDiff && previewSizes.contains(size)) {
81 minDiff = Math.abs(size.height - targetHeight);
89 if (Math.abs(size.height - targetHeight) < minDiff && previewSizes.contains(size)) {
91 minDiff = Math.abs(size.height - targetHeight);
  /development/samples/browseable/BasicRenderScript/src/com.example.android.common.media/
CameraHelper.java 70 int targetHeight = h;
79 if (Math.abs(size.height - targetHeight) < minDiff && previewSizes.contains(size)) {
81 minDiff = Math.abs(size.height - targetHeight);
89 if (Math.abs(size.height - targetHeight) < minDiff && previewSizes.contains(size)) {
91 minDiff = Math.abs(size.height - targetHeight);
  /development/samples/browseable/MediaRecorder/src/com.example.android.common.media/
CameraHelper.java 70 int targetHeight = h;
79 if (Math.abs(size.height - targetHeight) < minDiff && previewSizes.contains(size)) {
81 minDiff = Math.abs(size.height - targetHeight);
89 if (Math.abs(size.height - targetHeight) < minDiff && previewSizes.contains(size)) {
91 minDiff = Math.abs(size.height - targetHeight);
  /external/deqp/modules/glshared/
glsInteractionTestUtil.cpp 54 void computeRandomRenderState (de::Random& rnd, RenderState& state, glu::ApiType apiType, int targetWidth, int targetHeight)
158 int minScissorH = deCeilFloatToInt32(minScissorSize * (float)targetHeight);
160 int maxScissorH = targetHeight + 2*maxScissorOutOfBounds;
165 int scissorY = rnd.getInt(-maxScissorOutOfBounds, targetHeight+maxScissorOutOfBounds-scissorH);
220 void computeRandomQuad (de::Random& rnd, gls::FragmentOpUtil::IntegerQuad& quad, int targetWidth, int targetHeight)
231 int minH = deCeilFloatToInt32(minSize * (float)targetHeight);
233 int maxH = targetHeight + 2*maxOutOfBounds;
238 int y = rnd.getInt(-maxOutOfBounds, targetHeight+maxOutOfBounds-height);
glsInteractionTestUtil.hpp 121 void computeRandomRenderState (de::Random& rnd, RenderState& state, glu::ApiType apiType, int targetWidth, int targetHeight);
122 void computeRandomQuad (de::Random& rnd, gls::FragmentOpUtil::IntegerQuad& quad, int targetWidth, int targetHeight);
  /packages/apps/Messaging/src/com/android/messaging/datamodel/media/
DecodedImageResource.java 209 final int targetHeight = (int) (bitmapHeight * targetScale);
211 if (targetScale < 1.0f && targetWidth > 0 && targetHeight > 0 &&
212 targetWidth != bitmapWidth && targetHeight != bitmapHeight) {
214 Bitmap.createScaledBitmap(bitmap, targetWidth, targetHeight, false);
  /packages/apps/TV/src/com/android/tv/ui/
KeypadChannelSwitchView.java 308 int targetHeight = mBaseViewHeight + itemListHeight;
316 mCurrentHeight = targetHeight;
317 setViewHeight(this, targetHeight);
318 } else if (mCurrentHeight != targetHeight){
319 mResizeAnimator = createResizeAnimator(targetHeight);
324 private Animator createResizeAnimator(int targetHeight) {
325 ValueAnimator animator = ValueAnimator.ofInt(mCurrentHeight, targetHeight);
  /frameworks/base/media/java/android/media/
ThumbnailUtils.java 360 int targetHeight,
366 int deltaY = source.getHeight() - targetHeight;
374 Bitmap b2 = Bitmap.createBitmap(targetWidth, targetHeight,
384 deltaYHalf + Math.min(targetHeight, source.getHeight()));
386 int dstY = (targetHeight - src.height()) / 2;
391 targetHeight - dstY);
403 float viewAspect = (float) targetWidth / targetHeight;
406 float scale = targetHeight / bitmapHeightF;
435 int dy1 = Math.max(0, b1.getHeight() - targetHeight);
442 targetHeight);
    [all...]
  /external/opencv3/modules/cudacodec/src/
video_decoder.hpp 79 unsigned long targetHeight() const { return createInfo_.ulTargetHeight; }
95 return cuda::GpuMat(targetHeight() * 3 / 2, targetWidth(), CV_8UC1, (void*) ptr, pitch);
  /frameworks/base/packages/SystemUI/src/com/android/systemui/stackdivider/
DividerHandleView.java 113 private void animateToTarget(int targetWidth, int targetHeight, boolean touching) {
117 mCurrentHeight, targetHeight);

Completed in 4589 milliseconds

1 2 3