Searched defs:res (Results 276 - 300 of 612) sorted by relevance

<<11121314151617181920>>

/frameworks/support/v7/appcompat/src/android/support/v7/content/res/
H A DAppCompatResources.java17 package android.support.v7.content.res;
20 import android.content.res.ColorStateList;
21 import android.content.res.Configuration;
22 import android.content.res.Resources;
/frameworks/webview/chromium/plat_support/
H A Dgraphics_utils.cpp108 int res = env->RegisterNatives(clazz, kJniMethods, NELEM(kJniMethods)); local
109 LOG_ALWAYS_FATAL_IF(res < 0, "register native methods failed: res=%d", res);
/frameworks/base/core/java/android/content/res/
H A DColorStateList.java17 package android.content.res;
23 import android.content.res.Resources.Theme;
50 * {@link android.content.res.ColorStateList}s are created from XML resource files defined in the
54 * &lt;selector xmlns:android="http://schemas.android.com/apk/res/android"&gt;
695 public ColorStateList newInstance(Resources res, Theme theme) { argument
H A DGradientColor.java17 package android.content.res;
24 import android.content.res.Resources.Theme;
49 * {@link android.content.res.GradientColor}s are created from XML resource files defined in the
53 * &lt;gradient xmlns:android="http://schemas.android.com/apk/res/android"&gt;
521 public GradientColor newInstance(Resources res, Theme theme) { argument
H A DResourcesKey.java17 package android.content.res;
/frameworks/base/tools/layoutlib/bridge/src/android/content/res/
H A DBridgeTypedArray.java17 package android.content.res;
32 import android.content.res.Resources.NotFoundException;
33 import android.content.res.Resources.Theme;
275 * {@link android.content.res.ColorStateList}, then the default color from
488 final int res = (int)(f+0.5f);
489 if (res != 0) return res;
911 RenderResources res = mContext.getRenderResources();
912 ResourceValue attr = res.getProjectResource(ResourceType.ATTR, mNames[index]);
988 static TypedArray obtain(Resources res, in argument
[all...]
/frameworks/av/camera/
H A DICameraClient.cpp166 status_t res = data.readInt64(&timestamp); local
167 if (res != OK) {
168 ALOGE("%s: Failed to read timestamp: %s (%d)", __FUNCTION__, strerror(-res), res);
185 status_t res = data.readUint32(&n); local
186 if (res != OK) {
187 ALOGE("%s: Failed to read batch size: %s (%d)", __FUNCTION__, strerror(-res), res);
195 res = data.readInt64(&timestamps[i]);
196 if (res !
[all...]
/frameworks/av/media/libstagefright/codecs/aacenc/basic_op/
H A Doper_32b.c352 Word32 res; local
360 res = pow2Table[(POW2_TABLE_SIZE*fPart)/y] >> iPart;
362 return(res);
/frameworks/av/media/libstagefright/codecs/amrnb/enc/
H A DSoftAMRNBEncoder.cpp383 int res = AMREncode( local
387 CHECK_GE(res, 0);
388 CHECK_LE((size_t)res, outAvailable);
393 outHeader->nFilledLen = res;
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/
H A Dcalc_en.cpp93 res = LP residual, buffer type Word16
124 frac_en[0]*2^exp_en[0] = <res res> LP residual energy
128 (lres = res - gain_pit*exc)
146 Word16 res[], // i : LP residual, Q0
163 s = L_mac((Word32) 0, res[0], res[0]);
165 s = L_mac(s, res[i], res[i]);
204 tmp = sub(res[
264 calc_unfilt_energies( Word16 res[], Word16 exc[], Word16 code[], Word16 gain_pit, Word16 L_subfr, Word16 frac_en[], Word16 exp_en[], Word16 *ltpg, Flag *pOverflow ) argument
[all...]
H A Dgain_q.cpp386 res -- Word16 array -- LP residual, Q0
470 Word16 res[], /* i : LP residual, Q0 */
694 res,
467 gainQuant( gainQuantState *st, enum Mode mode, Word16 res[], Word16 exc[], Word16 code[], Word16 xn[], Word16 xn2[], Word16 y1[], Word16 Y2[], Word16 g_coeff[], Word16 even_subframe, Word16 gp_limit, Word16 *sf0_gain_pit, Word16 *sf0_gain_cod, Word16 *gain_pit, Word16 *gain_cod, Word16 **anap, Flag *pOverflow ) argument
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/
H A Didct_vca.cpp46 int res, res2; local
60 res = tmp + (pred_word & 0xFF);
61 CLIP_RESULT(res);
64 dst_word = (res2 << 8) | res;
65 res = tmp + ((pred_word >> 16) & 0xFF);
66 CLIP_RESULT(res);
67 dst_word |= (res << 16);
68 res = tmp + ((pred_word >> 24) & 0xFF);
69 CLIP_RESULT(res);
70 dst_word |= (res << 2
102 int res, res2; local
190 int res, res2; local
299 int res, res2; local
[all...]
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/arm11_asm/
H A Dh264bsd_interpolate_hor_ver_quarter.s44 res RN 3 label
337 LDR res, = 0x00FF00FF
340 AND res, res, tmpb, LSR #5 ;// mask and divide by 32
357 ORR res, res, tmpa
360 UHSUB8 res, res, tmp1 ;// bilinear interpolation
362 EOR res, res, tmp
[all...]
/frameworks/av/services/camera/libcameraservice/api1/client2/
H A DJpegCompressor.cpp54 status_t res; local
55 res = run("JpegCompressor");
56 if (res != OK) {
58 __FUNCTION__, strerror(-res), res);
61 return res;
162 status_t res = OK; local
164 res = mDone.waitRelative(mBusyMutex, timeout);
166 return (res == OK);
/frameworks/av/services/camera/libcameraservice/common/
H A DFrameProcessorBase.cpp101 status_t res; local
109 res = device->waitForNextFrame(kWaitDuration);
110 if (res == OK) {
112 } else if (res != TIMED_OUT) {
114 "frames: %s (%d)", strerror(-res), res);
121 status_t res; local
127 while ( (res = device->getNextResult(&result)) == OK) {
150 if (res != NOT_ENOUGH_DATA) {
152 __FUNCTION__, device->getId().string(), strerror(-res), re
[all...]
/frameworks/av/services/camera/libcameraservice/device3/
H A DCamera3SharedOutputStream.cpp40 status_t res = OK; local
47 res = mStreamSplitter->connect(mSurfaces, usage, camera3_stream::max_buffers, &mConsumer);
48 if (res != OK) {
50 __FUNCTION__, strerror(-res), res);
51 return res;
54 return res;
59 status_t res = OK; local
63 res = mStreamSplitter->notifyBufferReleased(buffer);
66 return res;
108 status_t res; local
145 status_t res = consumer->queueBuffer(consumer.get(), buffer, anwReleaseFence); local
162 status_t res; local
184 status_t res; local
196 status_t res = OK; local
[all...]
H A DStatusTracker.cpp136 status_t res; local
142 res = mPendingChangeSignal.waitRelative(mPendingLock,
145 if (res != OK) {
146 if (res != TIMED_OUT) {
148 __FUNCTION__, strerror(-res), res);
/frameworks/base/core/java/android/view/animation/
H A DAnimationUtils.java22 import android.content.res.Resources;
23 import android.content.res.Resources.NotFoundException;
24 import android.content.res.Resources.Theme;
25 import android.content.res.XmlResourceParser;
328 * @param res The resources
334 public static Interpolator loadInterpolator(Resources res, Theme theme, int id) throws NotFoundException { argument
337 parser = res.getAnimation(id);
338 return createInterpolatorFromXml(res, theme, parser);
356 private static Interpolator createInterpolatorFromXml(Resources res, Theme theme, XmlPullParser parser) argument
379 interpolator = new AccelerateInterpolator(res, them
[all...]
H A DPathInterpolator.java19 import android.content.res.Resources;
20 import android.content.res.Resources.Theme;
21 import android.content.res.TypedArray;
97 public PathInterpolator(Resources res, Theme theme, AttributeSet attrs) { argument
102 a = res.obtainAttributes(attrs, R.styleable.PathInterpolator);
/frameworks/base/core/java/com/android/internal/graphics/drawable/
H A DAnimationScaleListDrawable.java22 import android.content.res.Resources;
23 import android.content.res.Resources.Theme;
24 import android.content.res.TypedArray;
57 @Nullable Resources res) {
59 final AnimationScaleListState newState = new AnimationScaleListState(state, this, res);
183 Resources res) {
184 super(orig, owner, res);
221 public Drawable newDrawable(Resources res) { argument
222 return new AnimationScaleListDrawable(this, res);
56 AnimationScaleListDrawable(@ullable AnimationScaleListState state, @Nullable Resources res) argument
182 AnimationScaleListState(AnimationScaleListState orig, AnimationScaleListDrawable owner, Resources res) argument
/frameworks/base/core/jni/
H A Dandroid_util_Log.cpp95 int res = __android_log_buf_write(bufID, (android_LogPriority)priority, tag, msg); local
101 return res;
H A Dandroid_view_DisplayEventReceiver.cpp171 int res = RegisterMethodsOrDie(env, "android/view/DisplayEventReceiver", gMethods, local
182 return res;
/frameworks/base/graphics/java/android/graphics/drawable/
H A DClipDrawable.java26 import android.content.res.Resources;
27 import android.content.res.TypedArray;
28 import android.content.res.Resources.Theme;
219 ClipState(ClipState orig, Resources res) { argument
220 super(orig, res);
229 public Drawable newDrawable(Resources res) { argument
230 return new ClipDrawable(this, res);
234 private ClipDrawable(ClipState state, Resources res) { argument
235 super(state, res);
H A DLevelListDrawable.java25 import android.content.res.Resources;
26 import android.content.res.TypedArray;
27 import android.content.res.Resources.Theme;
42 * &lt;level-list xmlns:android="http://schemas.android.com/apk/res/android">
49 * <p>With this XML saved into the res/drawable/ folder of the project, it can be referenced as
179 LevelListState(LevelListState orig, LevelListDrawable owner, Resources res) { argument
180 super(orig, owner, res);
221 public Drawable newDrawable(Resources res) { argument
222 return new LevelListDrawable(this, res);
246 private LevelListDrawable(LevelListState state, Resources res) { argument
[all...]
H A DTransitionDrawable.java20 import android.content.res.Resources;
92 private TransitionDrawable(TransitionState state, Resources res) { argument
93 super(state, res);
101 LayerState createConstantState(LayerState state, Resources res) { argument
102 return new TransitionState((TransitionState) state, this, res);
248 TransitionState(TransitionState orig, TransitionDrawable owner, Resources res) { argument
249 super(orig, owner, res);
258 public Drawable newDrawable(Resources res) { argument
259 return new TransitionDrawable(this, res);

Completed in 285 milliseconds

<<11121314151617181920>>