Searched refs:width (Results 201 - 225 of 715) sorted by relevance

1234567891011>>

/frameworks/base/media/java/android/media/
H A DThumbnailUtils.java180 int width = bitmap.getWidth();
182 int max = Math.max(width, height);
185 int w = Math.round(scale * width);
202 * @param width targeted width
206 Bitmap source, int width, int height) {
207 return extractThumbnail(source, width, height, OPTIONS_NONE);
214 * @param width targeted width
219 Bitmap source, int width, in
205 extractThumbnail( Bitmap source, int width, int height) argument
218 extractThumbnail( Bitmap source, int width, int height, int options) argument
[all...]
/frameworks/support/v4/java/android/support/v4/view/
H A DViewPager.java532 final int width = getWidth();
533 destX = (int) (width * Math.max(mFirstOffset,
680 final int width = getWidth();
681 recomputeScrollPosition(width, width, marginPixels, oldMargin);
777 final int width = getWidth();
778 final int halfWidth = width / 2;
779 final float distanceRatio = Math.min(1f, 1.0f * Math.abs(dx) / width);
788 final float pageWidth = width * mAdapter.getPageWidth(mCurItem);
933 // Fill 3x the available width o
1397 recomputeScrollPosition(int width, int oldWidth, int margin, int oldMargin) argument
[all...]
/frameworks/av/libvideoeditor/vss/inc/
H A DM4VSS3GPP_Extended_API.h133 /**< Text plane width. Used only if VideoEffectType == text */
149 M4OSA_UInt32 width; /*width of the ARGB8888 clip . member in struct:__anon240
166 /*To support ARGB8888 : get the width and height */
167 M4OSA_UInt32 width; member in struct:__anon241
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/
H A Dchvr_filter.cpp25 int width,
51 /* Calculate the width and height of the area in blocks (divide by 8) */
52 pp_w = (width >> 3);
56 w1 = width; /* Offset to next row in pixels */
57 w2 = width << 1; /* Offset to two rows in pixels */
60 incr = width - BLKSIZE; /* Offset to next row after processing block */
458 DeringAdaptiveSmoothMMX(ptr, width, thres, max_diff);
467 AdaptiveSmooth_NoMMX(rec, v0, h0, v0 + 1, h0 + 1, thres, width, max_diff);
546 AdaptiveSmooth_NoMMX(rec, v0, h0, v0 - 3, h0 - 3, thres, width, max_diff);
23 CombinedHorzVertRingFilter( uint8 *rec, int width, int height, int16 *QP_store, int chr, uint8 *pp_mod) argument
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/arm11_asm/
H A Dh264bsd_interpolate_hor_half.s44 width RN 4 label
96 LDR width, [sp,#0x218] ;// width
97 CMP tmp4, width
98 BHI do_fill ;// (x0+partW)>width
117 LDR width, [sp,#0x218] ;// width
118 STR width, [sp,#0] ;// sp+0 = width
126 STR tmp4, [sp,#0x218] ;// width
[all...]
/frameworks/av/services/camera/libcameraservice/camera2/
H A DBurstCapture.cpp85 imgEncoded->width = imgBuffer->width;
/frameworks/base/core/java/com/android/internal/widget/
H A DPasswordEntryKeyboardHelper.java104 if (mUsingScreenWidth || lp.width == ViewGroup.LayoutParams.MATCH_PARENT) {
107 createKeyboardsWithSpecificSize(lp.width, lp.height);
119 private void createKeyboardsWithSpecificSize(int width, int height) { argument
120 mNumericKeyboard = new PasswordEntryKeyboard(mContext, mLayouts[NUMERIC], width, height);
122 width, height);
126 R.id.mode_normal, width, height);
130 mSymbolsKeyboard = new PasswordEntryKeyboard(mContext, mLayouts[SYMBOLS], width, height);
134 width, height);
H A DPasswordEntryKeyboard.java59 public PasswordEntryKeyboard(Context context, int xmlLayoutResId, int width, int height) { argument
60 this(context, xmlLayoutResId, 0, width, height);
69 int width, int height) {
70 super(context, xmlLayoutResId, mode, width, height);
260 if (code == KEYCODE_SHIFT) x += width / 6;
261 if (code == KEYCODE_DELETE) x -= width / 6;
68 PasswordEntryKeyboard(Context context, int xmlLayoutResId, int mode, int width, int height) argument
/frameworks/base/core/tests/coretests/src/android/view/
H A DViewStubTest.java80 assertEquals("Both stub and inflated should same width",
81 stub.getLayoutParams().width, swapped.getLayoutParams().width);
/frameworks/base/graphics/java/android/graphics/
H A DPicture.java62 public Canvas beginRecording(int width, int height) { argument
63 int ni = nativeBeginRecording(mNativePicture, width, height);
82 * Get the width of the picture as passed to beginRecording. This
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A DGetBitmapActivity.java81 public void onSurfaceTextureAvailable(SurfaceTexture surface, int width, int height) { argument
94 public void onSurfaceTextureSizeChanged(SurfaceTexture surface, int width, int height) { argument
/frameworks/base/tests/RenderScriptTests/ImageProcessing/src/com/android/rs/image/
H A DGrain.java59 int width = mInPixelsAllocation.getType().getX();
62 int noiseW = findHighBit(width);
H A DMandelbrot.java83 int width = mOutPixelsAllocation.getType().getX();
87 mScript.set_gDimX(width);
/frameworks/base/tests/RenderScriptTests/ImageProcessing2/src/com/android/rs/image/
H A DGrain.java54 int width = mInPixelsAllocation.getType().getX();
57 int noiseW = findHighBit(width);
H A DMandelbrot.java78 int width = mOutPixelsAllocation.getType().getX();
82 mScript.set_gDimX(width);
/frameworks/base/tests/RenderScriptTests/LivePreview/src/com/android/rs/livepreview/
H A DRsYuv.java47 RsYuv(RenderScript rs, Resources res, int width, int height) { argument
49 mWidth = width;
/frameworks/native/opengl/tests/hwc/
H A DhwcColorEquiv.cpp130 static EGLint width, height; variable
299 unsigned int refWidth = width - refPosX;
306 unsigned int equivWidth = width - equivPosX;
318 testPrintE(" width %u height: %u format: %u %s", refWidth, refHeight,
323 testPrintI("refFrame width: %u height: %u format: %u %s",
332 testPrintE(" width %u height: %u format: %u %s", refWidth, refHeight,
337 testPrintI("equivFrame width: %u height: %u format: %u %s",
361 layer->sourceCrop.right = width;
365 layer->displayFrame.right = width;
375 layer->sourceCrop.right = width;
[all...]
/frameworks/native/opengl/tests/testFramerate/src/com/android/testframerate/
H A DTestFramerateView.java83 public void onSurfaceChanged(GL10 gl, int width, int height) { argument
84 GLES20.glViewport(0, 0, width, height);
/frameworks/base/media/mca/effect/java/android/media/effect/
H A DFilterGraphEffect.java87 public void apply(int inputTexId, int width, int height, int outputTexId) { argument
92 src.setInputValue("width", width);
/frameworks/base/core/jni/android/graphics/
H A DBitmapRegionDecoder.cpp75 int width, height; local
85 if (!decoder->buildTileIndex(stream, &width, &height)) {
93 SkBitmapRegionDecoder *bm = new SkBitmapRegionDecoder(decoder, stream, width, height);
184 int start_x, int start_y, int width, int height, jobject options) {
222 region.fRight = start_x + width;
242 env->SetIntField(options, gOptions_widthFieldID, bitmap->width());
183 nativeDecodeRegion(JNIEnv* env, jobject, SkBitmapRegionDecoder *brd, int start_x, int start_y, int width, int height, jobject options) argument
/frameworks/base/services/java/com/android/server/display/
H A DLogicalDisplay.java195 mBaseDisplayInfo.appWidth = deviceInfo.width;
197 mBaseDisplayInfo.logicalWidth = deviceInfo.width;
204 mBaseDisplayInfo.smallestNominalAppWidth = deviceInfo.width;
206 mBaseDisplayInfo.largestNominalAppWidth = deviceInfo.width;
263 int physWidth = rotated ? displayDeviceInfo.height : displayDeviceInfo.width;
264 int physHeight = rotated ? displayDeviceInfo.width : displayDeviceInfo.height;
266 // Determine whether the width or height is more constrained to be scaled.
/frameworks/native/opengl/tests/gl_jni/jni/
H A Dgl_code.cpp83 void init_scene(int width, int height) argument
93 float ratio = width / height;
94 glViewport(0, 0, width, height);
138 JNIEXPORT void JNICALL Java_com_android_gljni_GLJNILib_init(JNIEnv * env, jobject obj, jint width, jint height);
143 JNIEXPORT void JNICALL Java_com_android_gljni_GLJNILib_init(JNIEnv * env, jobject obj, jint width, jint height) argument
145 init_scene(width, height);
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/
H A DIconLoader.java238 int width = data[valueIndex++] & 0xFF;
240 int numOfPixels = width*height;
259 return Bitmap.createBitmap(pixels, width, height, Bitmap.Config.ARGB_8888);
289 int width = data[valueIndex++] & 0xFF;
298 int numOfPixels = width * height;
321 return Bitmap.createBitmap(pixels, width, height,
/frameworks/wilhelm/src/itf/
H A DI3DMacroscopic.c23 SLmillimeter width, SLmillimeter height, SLmillimeter depth)
27 if (!((0 <= width) && (width <= SL_MILLIMETER_MAX) &&
34 thiz->mSize.mWidth = width;
55 SLmillimeter width = thiz->mSize.mWidth; local
59 *pWidth = width;
22 I3DMacroscopic_SetSize(SL3DMacroscopicItf self, SLmillimeter width, SLmillimeter height, SLmillimeter depth) argument
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
H A DShaderProgram.java184 public void setSourceRect(float x, float y, float width, float height) { argument
185 setSourceRegion(x, y, x + width, y, x, y + height, x + width, y + height);
188 public void setTargetRect(float x, float y, float width, float height) { argument
189 setTargetRegion(x, y, x + width, y, x, y + height, x + width, y + height);

Completed in 453 milliseconds

1234567891011>>