/frameworks/base/graphics/java/android/renderscript/ |
D | Allocation.java | 74 Type mType; field in Allocation 199 return mType.getElement(); in getElement() 220 return mType.getCount() * mType.getElement().getBytesSize(); in getBytesSize() 258 mType = t; in Allocation() 267 if ((mType.mElement.mType == Element.DataType.SIGNED_32) || in validateIsInt32() 268 (mType.mElement.mType == Element.DataType.UNSIGNED_32)) { in validateIsInt32() 272 "32 bit integer source does not match allocation type " + mType.mElement.mType); in validateIsInt32() 276 if ((mType.mElement.mType == Element.DataType.SIGNED_16) || in validateIsInt16() 277 (mType.mElement.mType == Element.DataType.UNSIGNED_16)) { in validateIsInt16() 281 "16 bit integer source does not match allocation type " + mType.mElement.mType); in validateIsInt16() [all …]
|
/frameworks/support/renderscript/v8/java/src/android/support/v8/renderscript/ |
D | Allocation.java | 72 Type mType; field in Allocation 159 return mType.getElement(); in getElement() 180 return mType.getCount() * mType.getElement().getBytesSize(); in getBytesSize() 202 mType = t; in Allocation() 211 if ((mType.mElement.mType == Element.DataType.SIGNED_32) || in validateIsInt32() 212 (mType.mElement.mType == Element.DataType.UNSIGNED_32)) { in validateIsInt32() 216 "32 bit integer source does not match allocation type " + mType.mElement.mType); in validateIsInt32() 220 if ((mType.mElement.mType == Element.DataType.SIGNED_16) || in validateIsInt16() 221 (mType.mElement.mType == Element.DataType.UNSIGNED_16)) { in validateIsInt16() 225 "16 bit integer source does not match allocation type " + mType.mElement.mType); in validateIsInt16() [all …]
|
/frameworks/base/core/java/android/content/ |
D | ContentProviderOperation.java | 40 private final int mType; field in ContentProviderOperation 57 mType = builder.mType; in ContentProviderOperation() 69 mType = source.readInt(); in ContentProviderOperation() 91 dest.writeInt(mType); in writeToParcel() 182 return mType; in getType() 186 return mType == TYPE_DELETE || mType == TYPE_INSERT || mType == TYPE_UPDATE; in isWriteOperation() 190 return mType == TYPE_ASSERT; in isReadOperation() 213 if (mType == TYPE_INSERT) { in apply() 222 if (mType == TYPE_DELETE) { in apply() 224 } else if (mType == TYPE_UPDATE) { in apply() [all …]
|
/frameworks/native/services/surfaceflinger/ |
D | Transform.cpp | 37 : mMatrix(other.mMatrix), mType(other.mType) { in Transform() 59 if (CC_LIKELY(mType == IDENTITY)) in operator *() 63 if (rhs.mType == IDENTITY) in operator *() 78 r.mType |= rhs.mType; in operator *() 81 r.mType &= 0xFF; in operator *() 82 r.mType |= UNKNOWN_TYPE; in operator *() 103 mType = IDENTITY; in reset() 118 mType &= ~TRANSLATE; in set() 120 mType |= TRANSLATE; in set() 130 mType = UNKNOWN_TYPE; in set() [all …]
|
D | DisplayDevice.cpp | 79 mType(type), mHwcDisplayId(-1), in DisplayDevice() 150 mScreenAcquired = (mType >= DisplayDevice::NUM_DISPLAY_TYPES); in init() 153 mHwcDisplayId = mFlinger->allocateHwcDisplayId(mType); in init() 157 switch (mType) { in init() 219 if (mType >= DisplayDevice::DISPLAY_VIRTUAL) { in swapBuffers() 225 if (hwc.hasGlesComposition(mType)) { in swapBuffers() 237 mType == DisplayDevice::DISPLAY_PRIMARY) { in swapBuffers() 247 int fd = hwc.getAndResetReleaseFenceFd(mType); in onSwapBuffersCompleted() 440 mDisplayName.string(), mType, in dump()
|
/frameworks/support/renderscript/v8/rs_support/ |
D | rsComponent.cpp | 30 mType = dt; in set() 69 switch (mType) { in set() 173 rsAssert(mType != RS_TYPE_INVALID); in set() 183 return (mType >= RS_TYPE_ELEMENT); in isReference() 237 if (mType >= RS_TYPE_ELEMENT) { in dumpLOGV() 239 … prefix, gTypeObjStrings[mType - RS_TYPE_ELEMENT], gKindStrings[mKind], mVectorSize, mBits); in dumpLOGV() 242 prefix, gTypeBasicStrings[mType], gKindStrings[mKind], mVectorSize, mBits); in dumpLOGV() 247 stream->addU8((uint8_t)mType); in serialize() 254 mType = (RsDataType)stream->loadU8(); in loadFromStream() 260 set(mType, mKind, mNormalized, mVectorSize); in loadFromStream()
|
/frameworks/rs/ |
D | rsComponent.cpp | 30 mType = dt; in set() 69 switch (mType) { in set() 173 rsAssert(mType != RS_TYPE_INVALID); in set() 183 return (mType >= RS_TYPE_ELEMENT); in isReference() 237 if (mType >= RS_TYPE_ELEMENT) { in dumpLOGV() 239 … prefix, gTypeObjStrings[mType - RS_TYPE_ELEMENT], gKindStrings[mKind], mVectorSize, mBits); in dumpLOGV() 242 prefix, gTypeBasicStrings[mType], gKindStrings[mKind], mVectorSize, mBits); in dumpLOGV() 247 stream->addU8((uint8_t)mType); in serialize() 254 mType = (RsDataType)stream->loadU8(); in loadFromStream() 260 set(mType, mKind, mNormalized, mVectorSize); in loadFromStream()
|
/frameworks/base/core/java/android/nfc/tech/ |
D | MifareClassic.java | 122 private int mType; field in MifareClassic 155 mType = TYPE_CLASSIC; in MifareClassic() 159 mType = TYPE_CLASSIC; in MifareClassic() 163 mType = TYPE_PLUS; in MifareClassic() 168 mType = TYPE_PLUS; in MifareClassic() 173 mType = TYPE_CLASSIC; in MifareClassic() 177 mType = TYPE_CLASSIC; in MifareClassic() 182 mType = TYPE_CLASSIC; in MifareClassic() 187 mType = TYPE_CLASSIC; in MifareClassic() 193 mType = TYPE_PRO; in MifareClassic() [all …]
|
D | NfcBarcode.java | 38 private int mType; field in NfcBarcode 67 mType = extras.getInt(EXTRA_BARCODE_TYPE); in NfcBarcode() 83 return mType; in getType() 94 switch (mType) { in getBarcode()
|
D | MifareUltralight.java | 80 private int mType; field in MifareUltralight 109 mType = TYPE_UNKNOWN; in MifareUltralight() 114 mType = TYPE_ULTRALIGHT_C; in MifareUltralight() 116 mType = TYPE_ULTRALIGHT; in MifareUltralight() 133 return mType; in getType()
|
/frameworks/base/location/java/android/location/ |
D | Geofence.java | 33 private final int mType; field in Geofence 54 mType = TYPE_HORIZONTAL_CIRCLE; in Geofence() 62 return mType; in getType() 124 parcel.writeInt(mType); in writeToParcel() 143 typeToString(mType), mLatitude, mLongitude, mRadius); in toString() 156 result = prime * result + mType; in hashCode() 178 if (mType != other.mType) in equals()
|
/frameworks/base/core/java/android/nfc/ |
D | NdefRecord.java | 279 private final byte[] mType; field in NdefRecord 527 mType = type; in NdefRecord() 557 mType = rs[0].mType; in NdefRecord() 581 return mType.clone(); in getType() 641 if (Arrays.equals(mType, NdefRecord.RTD_TEXT)) { in toMimeType() 646 String mimeType = new String(mType, Charsets.US_ASCII); in toMimeType() 679 if (Arrays.equals(mType, RTD_SMART_POSTER) && !inSmartPoster) { in toUri() 690 } else if (Arrays.equals(mType, RTD_URI)) { in toUri() 697 Uri uri = Uri.parse(new String(mType, Charsets.UTF_8)); in toUri() 704 return Uri.parse("vnd.android.nfc://ext/" + new String(mType, Charsets.US_ASCII)); in toUri() [all …]
|
/frameworks/base/core/java/android/net/ |
D | NetworkIdentity.java | 46 final int mType; field in NetworkIdentity 54 mType = type; in NetworkIdentity() 63 return Objects.hashCode(mType, mSubType, mSubscriberId, mNetworkId, mRoaming); in hashCode() 70 return mType == ident.mType && mSubType == ident.mSubType && mRoaming == ident.mRoaming in equals() 80 builder.append("type=").append(getNetworkTypeName(mType)); in toString() 84 } else if (ConnectivityManager.isNetworkTypeMobile(mType)) { in toString() 102 return mType; in getType()
|
D | NetworkTemplate.java | 232 if (ident.mType == TYPE_WIMAX) { in matchesMobile() 236 return ((sForceAllNetworkTypes || contains(DATA_USAGE_NETWORK_TYPES, ident.mType)) in matchesMobile() 246 if (ident.mType == TYPE_WIMAX) { in matchesMobile3gLower() 264 if (ident.mType == TYPE_WIMAX) { in matchesMobile4g() 280 switch (ident.mType) { in matchesWifi() 292 if (ident.mType == TYPE_ETHERNET) { in matchesEthernet() 299 if (ident.mType == TYPE_WIMAX) { in matchesMobileWildcard() 302 return sForceAllNetworkTypes || contains(DATA_USAGE_NETWORK_TYPES, ident.mType); in matchesMobileWildcard() 307 switch (ident.mType) { in matchesWifiWildcard()
|
/frameworks/base/core/java/android/os/ |
D | PatternMatcher.java | 49 private final int mType; field in PatternMatcher 53 mType = type; in PatternMatcher() 61 return mType; in getType() 65 return matchPattern(mPattern, str, mType); in match() 70 switch (mType) { in toString() 90 dest.writeInt(mType); in writeToParcel() 95 mType = src.readInt(); in PatternMatcher()
|
/frameworks/base/drm/java/android/drm/ |
D | DrmEvent.java | 49 private final int mType; field in DrmEvent 65 mType = type; in DrmEvent() 85 mType = type; in DrmEvent() 107 return mType; in getType()
|
/frameworks/av/media/libstagefright/foundation/ |
D | AMessage.cpp | 69 switch (item->mType) { in freeItem() 123 return item->mType == type ? item : NULL; in findItem() 134 item->mType = kType##NAME; \ 159 item->mType = kTypeString; in BASIC_TYPE() 166 item->mType = type; in setObjectInternal() 182 item->mType = kTypeMessage; in setMessage() 192 item->mType = kTypeRect; in setRect() 286 to->mType = from->mType; in dup() 288 switch (from->mType) { in dup() 367 switch (item.mType) { in debugString() [all …]
|
/frameworks/av/media/mtp/ |
D | MtpProperty.cpp | 29 mType(0), in MtpProperty() 51 mType(type), in MtpProperty() 100 if (mType == MTP_TYPE_STR) { in ~MtpProperty() 127 mType = packet.getUInt16(); in read() 129 switch (mType) { in read() 169 packet.putUInt16(mType); in write() 172 switch (mType) { in write() 228 switch (mType) { in setFormRange() 283 switch (mType) { in setFormEnum() 326 ALOGI(" type %04X", mType); in print() [all …]
|
/frameworks/av/media/libstagefright/ |
D | MetaData.cpp | 222 : mType(0), in typed_data() 231 : mType(from.mType), in typed_data() 241 mType = from.mType; in operator =() 252 mType = 0; in clear() 259 mType = type; in setData() 266 *type = mType; in getData() 294 switch(mType) { in asString() 322 out = String8::format("(unknown type %d, size %d)", mType, mSize); in asString()
|
/frameworks/av/media/libeffects/testlibs/ |
D | AudioShelvingFilter.cpp | 51 : mType(type), in AudioShelvingFilter() 66 setFrequency(mType == kLowShelf ? 0 : mNiquistFreq); in reset() 77 uint32_t log2minFreq = (mType == kLowShelf ? (32-10) : (32-2)); in setFrequency() 99 if (mType == kHighShelf) { in commit()
|
/frameworks/base/media/java/android/media/ |
D | MediaSyncEvent.java | 65 private final int mType; field in MediaSyncEvent 69 mType = eventType; in MediaSyncEvent() 100 return mType; in getType()
|
/frameworks/opt/vcard/java/com/android/vcard/ |
D | VCardEntry.java | 304 private final int mType; field in VCardEntry.PhoneData 314 mType = type; in PhoneData() 327 builder.withValue(Phone.TYPE, mType); in constructInsertOperation() 328 if (mType == Phone.TYPE_CUSTOM) { in constructInsertOperation() 352 return (mType == phoneData.mType in equals() 360 int hash = mType; in hashCode() 369 return String.format("type: %d, data: %s, label: %s, isPrimary: %s", mType, mNumber, in toString() 383 return mType; in getType() 397 private final int mType; field in VCardEntry.EmailData 403 mType = type; in EmailData() [all …]
|
/frameworks/base/media/java/android/media/videoeditor/ |
D | EffectColor.java | 63 private final int mType; field in EffectColor 122 mType = type; in EffectColor() 131 return mType; in getType()
|
/frameworks/base/core/java/android/util/ |
D | Property.java | 31 private final Class<V> mType; field in Property 63 mType = type; in Property() 104 return mType; in getType()
|
/frameworks/rs/cpp/ |
D | Allocation.cpp | 72 mType = t; in Allocation() 81 RsDataType dt = mType->getElement()->getDataType(); in validateIsInt32() 89 RsDataType dt = mType->getElement()->getDataType(); in validateIsInt16() 97 RsDataType dt = mType->getElement()->getDataType(); in validateIsInt8() 105 RsDataType dt = mType->getElement()->getDataType(); in validateIsFloat32() 113 RsDataType dt = mType->getElement()->getDataType(); in validateIsObject() 134 sp<const Type> old = mType; in updateFromNative() 138 mType = t; in updateFromNative() 238 if((count * mType->getElement()->getSizeBytes()) > dataLen) { in copy1DRangeFromUnchecked()
|