Home
last modified time | relevance | path

Searched refs:mType (Results 1 – 25 of 177) sorted by relevance

12345678

/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/
DAllocation.java61 Type mType; field in Allocation
97 return mType.mElement.mType; in validateObjectIsPrimitiveArray()
105 return mType.mElement.mType; in validateObjectIsPrimitiveArray()
113 return mType.mElement.mType; in validateObjectIsPrimitiveArray()
121 return mType.mElement.mType; in validateObjectIsPrimitiveArray()
254 return mType.getElement(); in getElement()
284 if (mType.mDimYuv != 0) { in getBytesSize()
285 return (int)Math.ceil(mType.getCount() * mType.getElement().getBytesSize() * 1.5); in getBytesSize()
287 return mType.getCount() * mType.getElement().getBytesSize(); in getBytesSize()
327 mType = t; in Allocation()
[all …]
/frameworks/base/core/java/android/content/
DContentProviderOperation.java46 private final int mType; field in ContentProviderOperation
63 mType = builder.mType; in ContentProviderOperation()
75 mType = source.readInt(); in ContentProviderOperation()
98 mType = cpo.mType; in ContentProviderOperation()
122 dest.writeInt(mType); in writeToParcel()
222 return mType; in getType()
231 return mType == TYPE_INSERT; in isInsert()
240 return mType == TYPE_DELETE; in isDelete()
249 return mType == TYPE_UPDATE; in isUpdate()
258 return mType == TYPE_ASSERT; in isAssertQuery()
[all …]
DRestrictionEntry.java106 private int mType; field in RestrictionEntry
145 mType = type; in RestrictionEntry()
156 this.mType = TYPE_CHOICE; in RestrictionEntry()
167 this.mType = TYPE_BOOLEAN; in RestrictionEntry()
178 this.mType = TYPE_MULTI_SELECT; in RestrictionEntry()
189 mType = TYPE_INTEGER; in RestrictionEntry()
207 mType = TYPE_BUNDLE_ARRAY; in RestrictionEntry()
217 mType = TYPE_BUNDLE; in RestrictionEntry()
250 this.mType = type; in setType()
258 return mType; in getType()
[all …]
/frameworks/base/rs/java/android/renderscript/
DAllocation.java56 Type mType; field in Allocation
95 return mType.mElement.mType; in validateObjectIsPrimitiveArray()
103 return mType.mElement.mType; in validateObjectIsPrimitiveArray()
111 return mType.mElement.mType; in validateObjectIsPrimitiveArray()
119 return mType.mElement.mType; in validateObjectIsPrimitiveArray()
263 return mType.getElement(); in getElement()
294 if (mType.mDimYuv != 0) { in getBytesSize()
295 return (int)Math.ceil(mType.getCount() * mType.getElement().getBytesSize() * 1.5); in getBytesSize()
297 return mType.getCount() * mType.getElement().getBytesSize(); in getBytesSize()
340 mType = t; in Allocation()
[all …]
/frameworks/native/services/surfaceflinger/
DTransform.cpp37 : 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 …]
/frameworks/base/media/java/android/media/tv/
DTvTrackInfo.java45 private final int mType; field in TvTrackInfo
60 mType = type; in TvTrackInfo()
74 mType = in.readInt(); in TvTrackInfo()
92 return mType; in getType()
121 if (mType != TYPE_AUDIO) { in getAudioChannelCount()
131 if (mType != TYPE_AUDIO) { in getAudioSampleRate()
142 if (mType != TYPE_VIDEO) { in getVideoWidth()
153 if (mType != TYPE_VIDEO) { in getVideoHeight()
164 if (mType != TYPE_VIDEO) { in getVideoFrameRate()
175 if (mType != TYPE_VIDEO) { in getVideoPixelAspectRatio()
[all …]
DTvInputHardwareInfo.java68 private int mType; field in TvInputHardwareInfo
81 return mType; in getType()
93 if (mType != TV_INPUT_TYPE_HDMI) { in getHdmiPortId()
103 b.append(", type=").append(mType); in toString()
106 if (mType == TV_INPUT_TYPE_HDMI) { in toString()
122 dest.writeInt(mType); in writeToParcel()
125 if (mType == TV_INPUT_TYPE_HDMI) { in writeToParcel()
132 mType = source.readInt(); in readFromParcel()
135 if (mType == TV_INPUT_TYPE_HDMI) { in readFromParcel()
142 private Integer mType = null; field in TvInputHardwareInfo.Builder
[all …]
DTvStreamConfig.java35 private int mType; field in TvStreamConfig
75 return mType; in getType()
92 return "TvStreamConfig {mStreamId=" + mStreamId + ";" + "mType=" + mType + ";mGeneration=" in toString()
105 dest.writeInt(mType); in writeToParcel()
116 private Integer mType; field in TvStreamConfig.Builder
130 mType = type; in type()
150 if (mStreamId == null || mType == null || mMaxWidth == null || mMaxHeight == null in build()
157 config.mType = mType; in build()
173 && config.mType == mType in equals()
/frameworks/base/libs/hwui/
DOutline.h31 , mType(kOutlineType_None) in Outline()
36 mType = kOutlineType_RoundRect; in setRoundRect()
50 mType = kOutlineType_ConvexPath; in setConvexPath()
57 mType = kOutlineType_Empty; in setEmpty()
63 mType = kOutlineType_None; in setNone()
69 return mType == kOutlineType_Empty; in isEmpty()
86 return mShouldClip && (mType == kOutlineType_RoundRect); in willClip()
95 if (mType == kOutlineType_RoundRect) { in getAsRoundRect()
104 if (mType == kOutlineType_None || mType == kOutlineType_Empty) return nullptr; in getPath()
118 OutlineType mType; variable
/frameworks/rs/cpp/
DAllocation.cpp66 mType = t; in Allocation()
77 RsDataType dt = mType->getElement()->getDataType(); in validateIsInt64()
85 RsDataType dt = mType->getElement()->getDataType(); in validateIsInt32()
93 RsDataType dt = mType->getElement()->getDataType(); in validateIsInt16()
101 RsDataType dt = mType->getElement()->getDataType(); in validateIsInt8()
109 RsDataType dt = mType->getElement()->getDataType(); in validateIsFloat32()
117 RsDataType dt = mType->getElement()->getDataType(); in validateIsFloat64()
125 RsDataType dt = mType->getElement()->getDataType(); in validateIsObject()
146 sp<const Type> old = mType; in updateFromNative()
150 mType = t; in updateFromNative()
[all …]
/frameworks/av/media/libmedia/
DMediaResource.cpp33 : mType(type), in MediaResource()
37 : mType(type), in MediaResource()
42 mType = parcel.readString8(); in readFromParcel()
48 parcel->writeString8(mType); in writeToParcel()
55 str.appendFormat("%s/%s:%llu", mType.string(), mSubType.string(), (unsigned long long)mValue); in toString()
60 return (other.mType == mType) && (other.mSubType == mSubType) && (other.mValue == mValue); in operator ==()
/frameworks/av/media/libstagefright/webm/
DWebmFrame.cpp42 : mType(kInvalidType), in WebmFrame()
50 : mType(type), in WebmFrame()
59 mType == kVideoType ? kVideoTrackNum : kAudioTrackNum, in SimpleBlock()
73 if (this->mType == kAudioType && other.mType == kVideoType) { in operator <()
76 if (this->mType == kVideoType && other.mType == kAudioType) { in operator <()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/anqp/eap/
DNonEAPInnerAuth.java20 private final NonEAPType mType; field in NonEAPInnerAuth
39 mType = typeID < NonEAPType.values().length ? in NonEAPInnerAuth()
45 mType = type;
53 mType = sRevOmaMap.get(eapType);
62 return mType;
66 return sOmaMap.get(mType);
71 return mType.hashCode();
87 return "Auth method NonEAPInnerAuthEAP, inner = " + mType + '\n';
/frameworks/base/graphics/java/android/graphics/drawable/
DIcon.java72 private final int mType; field in Icon
106 return mType; in getType()
114 if (mType != TYPE_BITMAP) { in getBitmap()
129 if (mType != TYPE_DATA) { in getDataLength()
143 if (mType != TYPE_DATA) { in getDataOffset()
157 if (mType != TYPE_DATA) { in getDataBytes()
170 if (mType != TYPE_RESOURCE) { in getResources()
181 if (mType != TYPE_RESOURCE) { in getResPackage()
192 if (mType != TYPE_RESOURCE) { in getResId()
203 if (mType != TYPE_URI) { in getUriString()
[all …]
/frameworks/rs/
DrsComponent.cpp30 mType = dt; in set()
75 switch (mType) { in set()
186 rsAssert(mType != RS_TYPE_INVALID); in set()
196 return (mType >= RS_TYPE_ELEMENT); in isReference()
250 if (mType >= RS_TYPE_ELEMENT) { in dumpLOGV()
252 … prefix, gTypeObjStrings[mType - RS_TYPE_ELEMENT], gKindStrings[mKind], mVectorSize, mBits); in dumpLOGV()
255 prefix, gTypeBasicStrings[mType], gKindStrings[mKind], mVectorSize, mBits); in dumpLOGV()
260 stream->addU8((uint8_t)mType); in serialize()
267 mType = (RsDataType)stream->loadU8(); in loadFromStream()
273 set(mType, mKind, mNormalized, mVectorSize); in loadFromStream()
/frameworks/base/core/java/android/hardware/camera2/utils/
DTypeReference.java48 private final Type mType; field in TypeReference
62 mType = thisType.getActualTypeArguments()[0]; in TypeReference()
73 if (containsTypeVariable(mType)) { in TypeReference()
77 mHash = mType.hashCode(); in TypeReference()
84 return mType; in getType()
88 mType = type; in TypeReference()
89 if (containsTypeVariable(mType)) { in TypeReference()
93 mHash = mType.hashCode(); in TypeReference()
159 return (Class<? super T>)getRawType(mType); in getRawType()
209 Type componentType = getComponentType(mType); in getComponentType()
[all …]
/frameworks/base/media/java/android/media/
DAudioDevicePort.java36 private final int mType; field in AudioDevicePort
46 mType = type; in AudioDevicePort()
54 return mType; in type()
87 if (mType != other.type()) { in equals()
102 AudioSystem.getInputDeviceName(mType) : in toString()
103 AudioSystem.getOutputDeviceName(mType)); in toString()
/frameworks/base/core/java/android/nfc/tech/
DMifareClassic.java122 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 …]
/frameworks/base/location/java/android/location/
DGeofence.java33 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()
DGpsNavigationMessage.java81 private byte mType; field in GpsNavigationMessage
96 mType = navigationMessage.mType; in set()
115 return mType; in getType()
122 mType = value; in setType()
130 switch (mType) { in getTypeString()
142 return "<Invalid:" + mType + ">"; in getTypeString()
279 parcel.writeByte(mType); in writeToParcel()
317 mType = TYPE_UNKNOWN; in initialize()
/frameworks/base/core/java/android/net/
DNetworkIdentity.java53 final int mType; field in NetworkIdentity
61 mType = type; in NetworkIdentity()
70 return Objects.hash(mType, mSubType, mSubscriberId, mNetworkId, mRoaming); in hashCode()
77 return mType == ident.mType && mSubType == ident.mSubType && mRoaming == ident.mRoaming in equals()
87 builder.append("type=").append(getNetworkTypeName(mType)); in toString()
91 } else if (ConnectivityManager.isNetworkTypeMobile(mType)) { in toString()
109 return mType; in getType()
190 int res = Integer.compare(mType, another.mType); in compareTo()
DRouteInfo.java78 private final int mType; field in RouteInfo
156 mType = type; in RouteInfo()
312 return mType; in getType()
321 return mType == RTN_UNICAST && mDestination.getPrefixLength() == 0; in isDefaultRoute()
406 if (mType == RTN_UNREACHABLE) { in toString()
408 } else if (mType == RTN_THROW) { in toString()
414 if (mType != RTN_UNICAST) { in toString()
415 val += " unknown type " + mType; in toString()
435 mType == target.getType(); in equals()
445 + (mType * 71); in hashCode()
[all …]
/frameworks/base/core/java/android/bluetooth/le/
DResultStorageDescriptor.java30 private int mType; field in ResultStorageDescriptor
35 return mType; in getType()
54 mType = type; in ResultStorageDescriptor()
66 dest.writeInt(mType); in writeToParcel()
76 mType = in.readInt(); in ReadFromParcel()
/frameworks/base/core/java/android/nfc/
DNdefRecord.java281 private final byte[] mType; field in NdefRecord
568 mType = type; in NdefRecord()
598 mType = rs[0].mType; in NdefRecord()
622 return mType.clone(); in getType()
682 if (Arrays.equals(mType, NdefRecord.RTD_TEXT)) { in toMimeType()
687 String mimeType = new String(mType, StandardCharsets.US_ASCII); in toMimeType()
720 if (Arrays.equals(mType, RTD_SMART_POSTER) && !inSmartPoster) { in toUri()
731 } else if (Arrays.equals(mType, RTD_URI)) { in toUri()
738 Uri uri = Uri.parse(new String(mType, StandardCharsets.UTF_8)); in toUri()
745 … return Uri.parse("vnd.android.nfc://ext/" + new String(mType, StandardCharsets.US_ASCII)); in toUri()
[all …]
/frameworks/base/core/java/android/os/
DPatternMatcher.java49 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()

12345678