Searched refs:res (Results 176 - 200 of 1361) sorted by relevance

1234567891011>>

/frameworks/opt/datetimepicker/src/com/android/datetimepicker/time/
H A DAmPmCirclesView.java20 import android.content.res.Resources;
76 Resources res = context.getResources();
77 mUnselectedColor = res.getColor(R.color.white);
78 mSelectedColor = res.getColor(R.color.blue);
79 mAmPmTextColor = res.getColor(R.color.ampm_text_color);
81 String typefaceFamily = res.getString(R.string.sans_serif);
88 Float.parseFloat(res.getString(R.string.circle_radius_multiplier));
90 Float.parseFloat(res.getString(R.string.ampm_circle_radius_multiplier));
102 Resources res = context.getResources();
104 mUnselectedColor = res
[all...]
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/
H A Didct.cpp355 int res; local
538 res = (*pred++ + block[0+(i<<3)]);
539 CLIP_RESULT(res);
540 *dst++ = res;
541 res = (*pred++ + block[1+(i<<3)]);
542 CLIP_RESULT(res);
543 *dst++ = res;
544 res = (*pred++ + block[2+(i<<3)]);
545 CLIP_RESULT(res);
546 *dst++ = res;
[all...]
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/arm11_asm/
H A Dh264bsd_interpolate_ver_half.s41 res RN 3 label
172 LDR res, = 0x00FF00FF
175 AND res, res, tmpb, LSR #5 ;// mask and divide by 32
192 ORR res, res, tmpa
193 STR res, [mb], #16 ;// next row (mb)
216 LDR res, = 0x00FF00FF
219 AND 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/device3/
H A DCamera3IOStreamBase.cpp84 status_t res; local
88 res = disconnectLocked();
89 if (res != OK) {
90 return res;
211 status_t res; local
221 if ((res = returnBufferPreconditionCheckLocked()) != OK) {
222 return res;
226 res = returnBufferCheckedLocked(buffer, timestamp, output,
264 return res;
/frameworks/base/graphics/java/android/graphics/drawable/
H A DTransitionDrawable.java19 import android.content.res.Resources;
91 private TransitionDrawable(TransitionState state, Resources res) { argument
92 super(state, res);
100 LayerState createConstantState(LayerState state, Resources res) { argument
101 return new TransitionState((TransitionState) state, this, res);
247 TransitionState(TransitionState orig, TransitionDrawable owner, Resources res) { argument
248 super(orig, owner, res);
257 public Drawable newDrawable(Resources res) { argument
258 return new TransitionDrawable(this, res);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DKeyguardClockPositionAlgorithm.java19 import android.content.res.Resources;
75 public void loadDimens(Resources res) { argument
76 mClockNotificationsMarginMin = res.getDimensionPixelSize(
78 mClockNotificationsMarginMax = res.getDimensionPixelSize(
80 mClockYFractionMin = res.getFraction(R.fraction.keyguard_clock_y_fraction_min, 1, 1);
81 mClockYFractionMax = res.getFraction(R.fraction.keyguard_clock_y_fraction_max, 1, 1);
83 (float) res.getDimensionPixelSize(R.dimen.notification_summary_height) /
84 res.getDimensionPixelSize(R.dimen.notification_min_height);
85 mDensity = res.getDisplayMetrics().density;
/frameworks/av/services/camera/libcameraservice/common/
H A DCamera2ClientBase.cpp85 status_t res; local
88 res = TClientBase::startCameraOps();
89 if (res != OK) {
90 return res;
99 res = mDevice->initialize(module);
100 if (res != OK) {
102 __FUNCTION__, TClientBase::mCameraId, strerror(-res), res);
103 return res;
106 res
156 status_t res = mDevice->dump(fd, args); local
[all...]
/frameworks/base/tools/aapt/
H A Dprintapk.cpp99 ResTable res(resfile, size, resfile);
100 res.print();
102 size_t tableCount = res.getTableCount();
105 const ResStringPool* strings = res.getTableStringBlock(tableIndex);
115 size_t basePackageCount = res.getBasePackageCount();
118 const String16 ch = res.getBasePackageName(bpIndex);
/frameworks/base/libs/common_time/
H A Ddiag_thread.cpp75 status_t res; local
77 res = run("Diag");
79 if (res != OK)
80 ALOGE("Failed to start work thread (res = %d)", res);
82 return res;
86 status_t res; local
87 res = requestExitAndWait(); // block until thread exit.
88 if (res != OK)
89 ALOGE("Failed to stop work thread (res
132 int res; local
147 int res; local
277 status_t res = common_clock_->localToCommon(e.local_time, local
[all...]
/frameworks/base/libs/androidfw/tests/data/app/
H A Dbuild18 aapt package -v -I ../system/bundle.apk -M AndroidManifest.xml -S res -F bundle.apk -f && \
/frameworks/base/libs/androidfw/tests/data/feature/
H A Dbuild18 aapt package -M AndroidManifest.xml -S res --feature-of ../basic/bundle.apk -F bundle.apk -f && \
/frameworks/base/libs/androidfw/tests/data/lib/
H A Dbuild18 aapt package -M AndroidManifest.xml -S res -F bundle.apk -f --shared-lib && \
/frameworks/base/packages/SystemUI/src/com/android/systemui/
H A DBootReceiver.java37 ContentResolver res = context.getContentResolver();
38 if (Settings.Global.getInt(res, Settings.Global.SHOW_PROCESSES, 0) != 0) {
/frameworks/base/services/core/java/com/android/server/am/
H A DAppNotRespondingDialog.java23 import android.content.res.Resources;
46 Resources res = context.getResources();
75 ? res.getString(resid, name1.toString(), name2.toString())
76 : res.getString(resid, name1.toString()));
79 res.getText(com.android.internal.R.string.force_close),
82 res.getText(com.android.internal.R.string.wait),
87 res.getText(com.android.internal.R.string.report),
91 setTitle(res.getText(com.android.internal.R.string.anr_title));
/frameworks/opt/colorpicker/src/com/android/colorpicker/
H A DColorPickerPalette.java20 import android.content.res.Resources;
59 Resources res = getResources();
61 mSwatchLength = res.getDimensionPixelSize(R.dimen.color_swatch_large);
62 mMarginSize = res.getDimensionPixelSize(R.dimen.color_swatch_margins_large);
64 mSwatchLength = res.getDimensionPixelSize(R.dimen.color_swatch_small);
65 mMarginSize = res.getDimensionPixelSize(R.dimen.color_swatch_margins_small);
69 mDescription = res.getString(R.string.color_swatch_description);
70 mDescriptionSelected = res.getString(R.string.color_swatch_description_selected);
/frameworks/rs/java/tests/ComputePerf/src/com/example/android/rs/computeperf/
H A DMandelbrot.java19 import android.content.res.Resources;
27 Mandelbrot(RenderScript rs, Resources res) { argument
/frameworks/rs/java/tests/ImageProcessing/src/com/android/rs/image/
H A DArtistic1.java28 public void createTest(android.content.res.Resources res) { argument
H A DMirror.java34 public void createTest(android.content.res.Resources res) { argument
H A DWhiteBalance.java30 public void createTest(android.content.res.Resources res) { argument
/frameworks/rs/java/tests/ImageProcessing2/src/com/android/rs/image/
H A DColorMatrix.java35 public void createTest(android.content.res.Resources res) { argument
/frameworks/rs/java/tests/ImageProcessing_jb/src/com/android/rs/image/
H A DArtistic1.java28 public void createTest(android.content.res.Resources res) { argument
/frameworks/base/core/tests/coretests/src/android/content/res/
H A DResourceCacheActivity.java17 package android.content.res;
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/date/
H A DTextViewWithCircularIndicator.java20 import android.content.res.Resources;
47 Resources res = context.getResources();
48 mCircleColor = res.getColor(R.color.blue);
49 mRadius = res.getDimensionPixelOffset(R.dimen.month_select_circle_radius);
/frameworks/wilhelm/tests/listening/
H A DslesTest_playMuteSolo.cpp108 SLresult res = (*muteSolo)->GetNumChannels(muteSolo, &numChannels); ExitOnError(res); local
111 res = (*playItf)->GetPosition(playItf, &position); ExitOnError(res);
119 res = (*muteSolo)->GetChannelMute(muteSolo, 0, &leftMuted); ExitOnError(res);
121 res = (*muteSolo)->SetChannelMute(muteSolo, 0,
123 ExitOnError(res);
124 res = (*muteSolo)->SetChannelMute(muteSolo, 1,
126 ExitOnError(res);
[all...]

Completed in 1305 milliseconds

1234567891011>>