Searched defs:other (Results 51 - 75 of 87) sorted by relevance

1234

/frameworks/native/libs/gui/
H A DSurface.cpp352 status_t Surface::lock(SurfaceInfo* other, Region* inOutDirtyRegion) { argument
365 other->w = uint32_t(outBuffer.width);
366 other->h = uint32_t(outBuffer.height);
367 other->s = uint32_t(outBuffer.stride);
368 other->usage = GRALLOC_USAGE_SW_READ_OFTEN | GRALLOC_USAGE_SW_WRITE_OFTEN;
369 other->format = uint32_t(outBuffer.format);
370 other->bits = outBuffer.bits;
/frameworks/native/libs/utils/
H A DString8.cpp221 void String8::setTo(const String8& other) argument
223 SharedBuffer::bufferFromData(other.mString)->acquire();
225 mString = other.mString;
228 status_t String8::setTo(const char* other) argument
230 const char *newString = allocFromUTF8(other, strlen(other));
239 status_t String8::setTo(const char* other, size_t len) argument
241 const char *newString = allocFromUTF8(other, len);
250 status_t String8::setTo(const char16_t* other, size_t len) argument
252 const char *newString = allocFromUTF16(other, le
261 setTo(const char32_t* other, size_t len) argument
272 append(const String8& other) argument
285 append(const char* other) argument
290 append(const char* other, size_t otherLen) argument
328 real_append(const char* other, size_t otherLen) argument
379 find(const char* other, size_t start) const argument
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/
H A DCatService.java51 RilMessage(RilMessage other) { argument
52 this.mId = other.mId;
53 this.mData = other.mData;
54 this.mResCode = other.mResCode;
/frameworks/support/volley/src/com/android/volley/
H A DRequest.java417 public int compareTo(Request<T> other) { argument
419 Priority right = other.getPriority();
424 this.mSequence - other.mSequence :
/frameworks/base/packages/SystemUI/src/com/android/systemui/
H A DBeanBag.java235 public float overlap(Bean other) { argument
236 final float dx = (x - other.x);
237 final float dy = (y - other.y);
238 return mag(dx, dy) - r - other.r;
/frameworks/base/core/java/android/text/format/
H A DTime.java189 * @param other
191 public Time(Time other) { argument
192 set(other);
225 * the other fields. Requires that it be normalized for MONTH_DAY and
524 * field. On the other hand, if you are adding
750 * hour at 12am on April 25, 2008 and there are a few other places that
/frameworks/base/core/java/android/view/
H A DViewTreeObserver.java226 InternalInsetsInfo other = (InternalInsetsInfo)o;
227 return mTouchableInsets == other.mTouchableInsets &&
228 contentInsets.equals(other.contentInsets) &&
229 visibleInsets.equals(other.visibleInsets) &&
230 touchableRegion.equals(other.touchableRegion);
233 void set(InternalInsetsInfo other) { argument
234 contentInsets.set(other.contentInsets);
235 visibleInsets.set(other.visibleInsets);
236 touchableRegion.set(other.touchableRegion);
237 mTouchableInsets = other
[all...]
H A DSurface.java109 * be disabled, but other measures can take place, for instance the
130 * composited on top of each-other into the surface. A pre-multiplied
273 private native void nativeCopyFrom(Surface other); argument
274 private native void nativeTransferFrom(Surface other); argument
325 + "Set the other properties and make the surface visible within "
674 public void copyFrom(Surface other) { argument
675 if (other == null) {
676 throw new IllegalArgumentException("other must not be null");
678 if (other != this) {
679 nativeCopyFrom(other);
691 transferFrom(Surface other) argument
766 PhysicalDisplayInfo(PhysicalDisplayInfo other) argument
775 equals(PhysicalDisplayInfo other) argument
791 copyFrom(PhysicalDisplayInfo other) argument
[all...]
/frameworks/base/core/jni/android/graphics/
H A DMatrix.cpp59 static void set(JNIEnv* env, jobject clazz, SkMatrix* obj, SkMatrix* other) { argument
60 *obj = *other;
173 static jboolean preConcat(JNIEnv* env, jobject clazz, SkMatrix* obj, SkMatrix* other) { argument
174 return obj->preConcat(*other);
223 static jboolean postConcat(JNIEnv* env, jobject clazz, SkMatrix* matrix, SkMatrix* other) { argument
224 return matrix->postConcat(*other);
H A DTextLayoutCache.cpp245 TextLayoutCacheKey::TextLayoutCacheKey(const TextLayoutCacheKey& other) : argument
246 textCopy(other.textCopy),
247 start(other.start),
248 count(other.count),
249 contextCount(other.contextCount),
250 dirFlags(other.dirFlags),
251 typeface(other.typeface),
252 textSize(other.textSize),
253 textSkewX(other.textSkewX),
254 textScaleX(other
[all...]
/frameworks/base/libs/androidfw/
H A DInput.cpp245 bool PointerCoords::operator==(const PointerCoords& other) const {
246 if (bits != other.bits) {
251 if (values[i] != other.values[i]) {
258 void PointerCoords::copyFrom(const PointerCoords& other) { argument
259 bits = other.bits;
262 values[i] = other.values[i];
269 bool PointerProperties::operator==(const PointerProperties& other) const {
270 return id == other.id
271 && toolType == other.toolType;
274 void PointerProperties::copyFrom(const PointerProperties& other) { argument
317 copyFrom(const MotionEvent* other, bool keepHistory) argument
[all...]
H A DInputTransport.cpp704 const History* other; local
711 other = &future;
722 // So other->eventTime <= current->eventTime <= sampleTime.
723 other = touchState.getHistory(1);
724 nsecs_t delta = current->eventTime - other->eventTime;
757 if (other->idBits.hasBit(id)
759 const PointerCoords& otherCoords = other->getPointerById(id);
767 "other (%0.3f, %0.3f), alpha %0.3f",
H A DKeyCharacterMap.cpp92 KeyCharacterMap::KeyCharacterMap(const KeyCharacterMap& other) : argument
93 RefBase(), mType(other.mType), mKeysByScanCode(other.mKeysByScanCode),
94 mKeysByUsageCode(other.mKeysByUsageCode) {
95 for (size_t i = 0; i < other.mKeys.size(); i++) {
96 mKeys.add(other.mKeys.keyAt(i), new Key(*other.mKeys.valueAt(i)));
638 KeyCharacterMap::Key::Key(const Key& other) : argument
639 label(other.label), number(other
659 Behavior(const Behavior& other) argument
[all...]
/frameworks/base/services/java/com/android/server/
H A DTwilightService.java47 * Used by the UI mode manager and other components to adjust night mode
231 public boolean equals(TwilightState other) { argument
232 return other != null
233 && mIsNight == other.mIsNight
234 && mYesterdaySunset == other.mYesterdaySunset
235 && mTodaySunrise == other.mTodaySunrise
236 && mTodaySunset == other.mTodaySunset
237 && mTomorrowSunrise == other.mTomorrowSunrise;
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DMatrix_Delegate.java226 /*package*/ static void native_set(int native_object, int other) { argument
232 Matrix_Delegate src = sManager.getDelegate(other);
476 Matrix_Delegate other = sManager.getDelegate(other_matrix);
477 if (other == null) {
481 d.preTransform(other.mValues);
572 Matrix_Delegate other = sManager.getDelegate(other_matrix);
573 if (other == null) {
577 d.postTransform(other.mValues);
/frameworks/compile/mclinker/include/mcld/LD/
H A DResolveInfo.h171 uint8_t other() const function in class:mcld::ResolveInfo
/frameworks/native/opengl/libagl/
H A Dlight.cpp767 GLfixed* other=0; local
775 other = c->lighting.front.diffuse.v;
789 if (other) {
790 other[0] = what[0];
791 other[1] = what[1];
792 other[2] = what[2];
793 other[3] = what[3];
807 GLfixed* other=0; local
815 other = c->lighting.front.diffuse.v;
829 if (other) {
[all...]
/frameworks/base/core/java/android/content/res/
H A DConfiguration.java1001 * @hide Return true if the sequence of 'other' is better than this. Assumes
1002 * that 'this' is your current sequence and 'other' is a new one you have
1005 public boolean isOtherSeqNewer(Configuration other) { argument
1006 if (other == null) {
1010 if (other.seq == 0) {
1011 // If the other sequence is not specified, then we must assume
1017 // other is better. Yes we have a preference for other. Sue us.
1020 int diff = other.seq - seq;
H A DResources.java213 * some other type of CharSequence if it is styled.
295 default: return "other";
399 * some other type of CharSequence if it is styled.
605 * @param base The base value of this fraction. In other words, a
607 * @param pbase The parent base value of this fraction. In other
1072 * In other words, a Theme is a set of values for resource attributes;
1109 * <var>other</var>. If both of these themes are from the same
1114 * @param other The existing Theme to copy from.
1116 public void setTo(Theme other) { argument
1117 AssetManager.copyTheme(mTheme, other
[all...]
/frameworks/base/core/java/android/net/
H A DUri.java64 because the internal fields are final and the memory model guarantees other
66 that some threads will immediately see changes from other threads on
102 matching. In other words, the authority component wins."
323 * default port explicitly and the other leaves it implicit, they will not
331 Uri other = (Uri) o;
333 return toString().equals(other.toString());
348 public int compareTo(Uri other) { argument
349 return toString().compareTo(other.toString());
360 * to logs and other places where PII should be avoided.
1799 * all other character
[all...]
/frameworks/base/graphics/java/android/graphics/
H A DBitmap.java194 * it simply allows it to be garbage collected if there are no other references.
1351 * If other is null, return false.
1353 public boolean sameAs(Bitmap other) { argument
1354 return this == other || (other != null && nativeSameAs(mNativeBitmap, other.mNativeBitmap));
H A DMatrix.java150 public boolean preConcat(Matrix other) {
198 public boolean postConcat(Matrix other) {
415 * M' = M * other
417 public boolean preConcat(Matrix other) { argument
418 return native_preConcat(native_instance, other.native_instance);
479 * M' = other * M
481 public boolean postConcat(Matrix other) { argument
482 return native_postConcat(native_instance, other.native_instance);
798 private static native void native_set(int native_object, int other); argument
/frameworks/base/services/java/com/android/server/wm/
H A DWindowStateAnimator.java38 public WinAnimatorList(WinAnimatorList other) { argument
39 super(other);
882 // aligned with each other to slightly separate, allowing you
1454 * to show the surface, then we will try to get rid of other surfaces
1497 * then the animation will be app_starting_exit. Any other value loads the animation from
/frameworks/ex/widget/java/com/android/ex/widget/
H A DStaggeredGridView.java71 * currently attached to the grid as children. All other adapter positions do not have
82 * Whenever layout parameters for a known LayoutRecord change, other LayoutRecords before
84 * of columns it spans changes, all bets for other items in the same direction are off
474 // There may be other offscreen views, but we need to maintain
491 // There may be other offscreen views, but we need to maintain
1444 public LayoutParams(ViewGroup.LayoutParams other) { argument
1445 super(other);
/frameworks/native/include/media/openmax/
H A DOMX_Component.h99 OMX_OTHER_PORTDEFINITIONTYPE other; member in union:OMX_PARAM_PORTDEFINITIONTYPE::__anon1371

Completed in 441 milliseconds

1234