Searched refs:old (Results 1 - 25 of 27) sorted by relevance

12

/frameworks/base/core/java/android/text/style/
H A DStyleSpan.java84 Typeface old = paint.getTypeface();
85 if (old == null) {
88 oldStyle = old.getStyle();
94 if (old == null) {
97 tf = Typeface.create(old, want);
H A DTypefaceSpan.java76 Typeface old = paint.getTypeface();
77 if (old == null) {
80 oldStyle = old.getStyle();
/frameworks/base/core/java/android/os/
H A DConditionVariable.java65 boolean old = mCondition;
67 if (!old) {
/frameworks/base/opengl/libagl/
H A DTextureObjectManager.cpp58 void EGLTextureObject::copyParameters(const sp<EGLTextureObject>& old) argument
60 wraps = old->wraps;
61 wrapt = old->wrapt;
62 min_filter = old->min_filter;
63 mag_filter = old->mag_filter;
64 memcpy(crop_rect, old->crop_rect, sizeof(crop_rect));
65 generate_mipmap = old->generate_mipmap;
66 direct = old->direct;
271 const sp<EGLTextureObject>& old = mTextures.valueAt(index); local
272 const uint32_t refs = old
[all...]
H A DTextureObjectManager.h62 void copyParameters(const sp<EGLTextureObject>& old);
/frameworks/base/libs/utils/
H A Dfutex_synchro.c56 int __atomic_cmpxchg(int old, int _new, volatile int *ptr) argument
58 return android_atomic_cmpxchg(old, _new, ptr);
76 int __atomic_cmpxchg(int old, int _new, volatile int *ptr);
/frameworks/base/core/java/android/text/method/
H A DPasswordTransformationMethod.java46 * be references to the old EditText in the text.
103 Visible[] old = sp.getSpans(0, sp.length(), Visible.class);
104 for (int i = 0; i < old.length; i++) {
105 sp.removeSpan(old[i]);
128 Visible[] old = sp.getSpans(0, sp.length(), Visible.class);
129 for (int i = 0; i < old.length; i++) {
130 sp.removeSpan(old[i]);
/frameworks/base/libs/audioflinger/
H A DAudioHardwareInterface.cpp150 uint32_t old = mRoutes[mode];
152 if ((mode != mMode) || (old == routes))
155 const char* oldRouteStr = strdup(displayRoutes(old));
156 LOGD("doRouting: mode=%s, old route=[%s], new route=[%s]",
187 LOGD("doRouting: old mode=%s, new mode=%s route=[%s]",
/frameworks/base/core/java/android/view/
H A DWindowManagerImpl.java160 Object[] old = mViews;
162 System.arraycopy(old, 0, mViews, 0, index-1);
163 old = mRoots;
165 System.arraycopy(old, 0, mRoots, 0, index-1);
166 old = mParams;
168 System.arraycopy(old, 0, mParams, 0, index-1);
/frameworks/base/services/java/com/android/server/
H A DNotificationManagerService.java602 NotificationRecord old = null;
608 old = mNotificationList.remove(index);
636 if (old != null && old.statusBarKey != null) {
637 r.statusBarKey = old.statusBarKey;
659 if (old != null && old.statusBarKey != null) {
662 mStatusBarService.removeIcon(old.statusBarKey);
672 && (!(old != null
721 mLights.remove(old);
[all...]
H A DKeyInputQueue.java364 * Returns a new meta state for the given keys and old state.
366 private static final int makeMetaState(int keycode, boolean down, int old) { argument
385 return old;
388 & (down ? (old | mask) : (old & ~mask));
/frameworks/base/tests/AndroidTests/src/com/android/unit_tests/
H A DTimeUtilsTest.java73 String[] old = new String[] {
77 for (String name : old) {
/frameworks/base/media/libdrm/mobile2/src/util/ustl-1.0/
H A Dmistream.h144 inline istream_iterator operator++ (int) { istream_iterator old (*this); operator++(); return (old); }
145 inline istream_iterator operator-- (int) { istream_iterator old (*this); operator--(); return (old); }
H A Dutf8.h98 inline utf8in_iterator operator++ (int) { utf8in_iterator old (*this); operator++(); return (old); }
/frameworks/base/cmds/bmgr/src/com/android/commands/bmgr/
H A DBmgr.java178 String old = mBmgr.selectBackupTransport(which);
179 if (old == null) {
183 System.out.println("Selected transport " + which + " (formerly " + old + ")");
/frameworks/base/core/java/android/text/util/
H A DLinkify.java201 URLSpan[] old = text.getSpans(0, text.length(), URLSpan.class);
203 for (int i = old.length - 1; i >= 0; i--) {
204 text.removeSpan(old[i]);
/frameworks/base/core/java/android/app/
H A DLocalActivityManager.java248 * with removing the old window if the activity has changed.
283 LocalActivityRecord old = mResumed;
287 if (old != null && old != r && mCurState == RESUMED) {
288 moveToState(old, STARTED);
H A DActivityThread.java990 ConnectionInfo old;
994 old = mActiveConnections.remove(name);
995 if (old == null || old.binder != service) {
1000 old.binder.unlinkToDeath(old.deathMonitor, 0);
1011 ConnectionInfo old;
1015 old = mActiveConnections.get(name);
1016 if (old != null && old
[all...]
/frameworks/base/media/jni/
H A Dandroid_media_MediaRecorder.cpp139 sp<MediaRecorder> old = (MediaRecorder*)env->GetIntField(thiz, fields.context); local
143 if (old != 0) {
144 old->decStrong(thiz);
147 return old;
H A Dandroid_media_MediaPlayer.cpp117 sp<MediaPlayer> old = (MediaPlayer*)env->GetIntField(thiz, fields.context); local
121 if (old != 0) {
122 old->decStrong(thiz);
125 return old;
H A Dandroid_media_MediaMetadataRetriever.cpp71 MediaMetadataRetriever *old = (MediaMetadataRetriever*) env->GetIntField(thiz, fields.context); local
/frameworks/base/tools/aidl/
H A Daidl.cpp309 Type* old = NAMES.Find(type->QualifiedName()); local
310 if (old == NULL) {
334 if (old->Kind() == Type::BUILT_IN) {
340 else if (type->Kind() != old->Kind()) {
341 const char* oldKind = kind_to_string(old->Kind());
348 old->DeclFile().c_str(), old->DeclLine(), oldKind);
518 method_type* old = methodNames[m->name.data]; local
520 filename, old->name.lineno);
/frameworks/base/libs/surfaceflinger/
H A DLayerBase.cpp126 int32_t old = setTransactionFlags(eTransactionNeeded); local
127 return ((old & eTransactionNeeded) == 0);
/frameworks/base/core/jni/
H A Dandroid_util_Binder.cpp143 int old = android_atomic_inc(&gNumRefsCreated); local
144 if (old == 200) {
149 LOGV("Now have %d binder ops", old);
/frameworks/base/services/java/com/android/server/status/
H A DStatusBarService.java735 // remove old
878 * Remove the old one and put the new one in its place.
1534 int old = mNotificationIcons.getVisibility();
1536 if (old != v) {
1637 int old = mDisabled;
1638 int diff = net ^ old;

Completed in 384 milliseconds

12