Home
last modified time | relevance | path

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

12345678910>>...12

/frameworks/rs/support/java/src/androidx/renderscript/
DAllocation.java64 Type mType; field in Allocation
102 return mType.mElement.mType; in validateObjectIsPrimitiveArray()
110 return mType.mElement.mType; in validateObjectIsPrimitiveArray()
118 return mType.mElement.mType; in validateObjectIsPrimitiveArray()
126 return mType.mElement.mType; in validateObjectIsPrimitiveArray()
259 return mType.getElement(); in getElement()
332 if (mType.mDimYuv != 0) { in getBytesSize()
333 return (int)Math.ceil(mType.getCount() * mType.getElement().getBytesSize() * 1.5); in getBytesSize()
335 return mType.getCount() * mType.getElement().getBytesSize(); in getBytesSize()
375 mType = t; in Allocation()
[all …]
/frameworks/base/media/java/android/media/tv/
DTvTrackInfo.java58 private final int mType; field in TvTrackInfo
83 mType = type; in TvTrackInfo()
103 mType = in.readInt(); in TvTrackInfo()
128 return mType; in getType()
184 if (mType != TYPE_AUDIO) { in getAudioChannelCount()
196 if (mType != TYPE_AUDIO) { in getAudioSampleRate()
213 if (mType != TYPE_AUDIO) { in isAudioDescription()
230 if (mType != TYPE_AUDIO && mType != TYPE_SUBTITLE) { in isHardOfHearing()
246 if (mType != TYPE_AUDIO) { in isSpokenSubtitle()
259 if (mType != TYPE_VIDEO) { in getVideoWidth()
[all …]
DTvInputHardwareInfo.java100 private int mType; field in TvInputHardwareInfo
115 return mType; in getType()
127 if (mType != TV_INPUT_TYPE_HDMI) { in getHdmiPortId()
151 b.append(", type=").append(mType); in toString()
154 if (mType == TV_INPUT_TYPE_HDMI) { in toString()
171 dest.writeInt(mType); in writeToParcel()
174 if (mType == TV_INPUT_TYPE_HDMI) { in writeToParcel()
182 mType = source.readInt(); in readFromParcel()
185 if (mType == TV_INPUT_TYPE_HDMI) { in readFromParcel()
195 .type(mType) in toBuilder()
[all …]
DTvStreamConfig.java37 private int mType; field in TvStreamConfig
77 return mType; in getType()
95 return "TvStreamConfig {mStreamId=" + mStreamId + ";" + "mType=" + mType + ";mGeneration=" in toString()
108 dest.writeInt(mType); in writeToParcel()
119 private Integer mType; field in TvStreamConfig.Builder
133 mType = type; in type()
153 if (mStreamId == null || mType == null || mMaxWidth == null || mMaxHeight == null in build()
160 config.mType = mType; in build()
176 && config.mType == mType in equals()
/frameworks/base/rs/java/android/renderscript/
DAllocation.java64 Type mType; field in Allocation
108 return mType.mElement.mType; in validateObjectIsPrimitiveArray()
116 return mType.mElement.mType; in validateObjectIsPrimitiveArray()
124 return mType.mElement.mType; in validateObjectIsPrimitiveArray()
132 return mType.mElement.mType; in validateObjectIsPrimitiveArray()
152 "[] is not compatible with data type " + mType.mElement.mType.name() + in validateObjectIsPrimitiveArray()
279 return mType.getElement(); in getElement()
363 if (mType.mDimYuv != 0) { in getBytesSize()
364 return (int)Math.ceil(mType.getCount() * mType.getElement().getBytesSize() * 1.5); in getBytesSize()
366 return mType.getCount() * mType.getElement().getBytesSize(); in getBytesSize()
[all …]
/frameworks/base/core/java/android/view/autofill/
DAutofillValue.java50 private final @View.AutofillType int mType; field in AutofillValue
54 mType = type; in AutofillValue()
66 Preconditions.checkState(isText(), "value must be a text value, not type=%d", mType); in getTextValue() local
76 return mType == AUTOFILL_TYPE_TEXT; in isText()
87 Preconditions.checkState(isToggle(), "value must be a toggle value, not type=%d", mType); in getToggleValue() local
97 return mType == AUTOFILL_TYPE_TOGGLE; in isToggle()
108 Preconditions.checkState(isList(), "value must be a list value, not type=%d", mType); in getListValue() local
118 return mType == AUTOFILL_TYPE_LIST; in isList()
129 Preconditions.checkState(isDate(), "value must be a date value, not type=%d", mType); in getDateValue() local
139 return mType == AUTOFILL_TYPE_DATE; in isDate()
[all …]
/frameworks/base/libs/hwui/
DOutline.h31 Outline() : mShouldClip(false), mType(Type::None), mRadius(0), mAlpha(0.0f) {} in Outline()
35 if (mType == Type::RoundRect && left == mBounds.left && right == mBounds.right && in setRoundRect()
41 mType = Type::RoundRect; in setRoundRect()
65 mType = Type::Path; in setPath()
72 mType = Type::Empty; in setEmpty()
78 mType = Type::None; in setNone()
83 bool isEmpty() const { return mType == Type::Empty; } in isEmpty()
93 return mShouldClip && (mType == Type::RoundRect); in willClip()
102 if (mType == Type::RoundRect) { in getAsRoundRect()
111 if (mType == Type::None || mType == Type::Empty) return nullptr; in getPath()
[all …]
/frameworks/base/core/java/android/app/slice/
DSliceSpec.java44 private final String mType; field in SliceSpec
48 mType = type; in SliceSpec()
56 mType = source.readString(); in SliceSpec()
67 dest.writeString(mType); in writeToParcel()
75 return mType; in getType()
96 if (!mType.equals(candidate.mType)) return false; in canRender()
104 return mType.equals(other.mType) && mRevision == other.mRevision; in equals()
109 return String.format("SliceSpec{%s,%d}", mType, mRevision); in toString()
/frameworks/base/core/java/android/service/autofill/
DSavedDatasetsInfo.java53 private final String mType; field in SavedDatasetsInfo
97 this.mType = type; in SavedDatasetsInfo()
99 if (!(java.util.Objects.equals(mType, TYPE_OTHER)) in SavedDatasetsInfo()
100 && !(java.util.Objects.equals(mType, TYPE_PASSWORDS))) { in SavedDatasetsInfo()
102 "type was " + mType + " but must be one of: " in SavedDatasetsInfo()
108 NonNull.class, null, mType); in SavedDatasetsInfo()
122 return mType; in getType()
140 "type = " + mType + ", " + in toString()
158 && java.util.Objects.equals(mType, that.mType) in equals()
169 _hash = 31 * _hash + java.util.Objects.hashCode(mType); in hashCode()
/frameworks/av/media/libaudiofoundation/
DAudioDeviceTypeAddr.cpp54 mType(type), mAddress(address) { in AudioDeviceTypeAddr()
72 return mType == other.mType && mAddress == other.mAddress; in equals()
76 if (mType < other.mType) return true; in operator <()
77 if (mType > other.mType) return false; in operator <()
94 mType = AUDIO_DEVICE_NONE; in reset()
100 sstream << "type:0x" << std::hex << mType; in toString()
112 mType = static_cast<audio_devices_t>(rawDeviceType); in readFromParcel()
119 if ((status = parcel->writeUint32(mType)) != NO_ERROR) return status; in writeToParcel()
128 deviceTypes.insert(deviceTypeAddr.mType); in getAudioDeviceTypes()
168 aidl.type = VALUE_OR_RETURN(legacy2aidl_audio_devices_t_int32_t(legacy.mType)); in legacy2aidl_AudioDeviceTypeAddress()
/frameworks/native/libs/ui/
DTransform.cpp35 : mMatrix(other.mMatrix), mType(other.mType) { in Transform()
63 if (CC_LIKELY(mType == IDENTITY)) in operator *()
67 if (rhs.mType == IDENTITY) in operator *()
82 r.mType |= rhs.mType; in operator *()
85 r.mType &= 0xFF; in operator *()
86 r.mType |= UNKNOWN_TYPE; in operator *()
105 mType = other.mType; in operator =()
146 mType = IDENTITY; in reset()
160 mType &= ~TRANSLATE; in set()
162 mType |= TRANSLATE; in set()
[all …]
/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()
149 mType = t; in updateFromNative()
228 if (mAutoPadding && (mType->getElement()->getVectorSize() == 3)) { in copy1DRangeFrom()
[all …]
/frameworks/base/media/java/android/media/
DMediaSyncEvent.java80 private final int mType; field in MediaSyncEvent
84 mType = eventType; in MediaSyncEvent()
115 return mType; in getType()
148 dest.writeInt(mType); in writeToParcel()
153 mType = in.readInt(); in MediaSyncEvent()
178 return ((mType == that.mType) in equals()
184 return Objects.hash(mType, mAudioSession); in hashCode()
190 + " type=" + typeToString(mType) in toString()
/frameworks/opt/tv/tvsystem/java/com/android/libraries/tv/tvsystem/media/
DAudioDeviceAttributes.java64 private final @AudioDeviceInfo.AudioDeviceType int mType; field in AudioDeviceAttributes
86 mType = deviceInfo.getType(); in AudioDeviceAttributes()
107 mType = type; in AudioDeviceAttributes()
113 mType = AudioDeviceInfo.convertInternalDeviceToDeviceType(nativeType); in AudioDeviceAttributes()
135 return mType; in getType()
150 return Objects.hash(mRole, mType, mAddress); in hashCode()
160 && (mType == that.mType) in equals()
174 AudioDeviceInfo.convertDeviceTypeToInternalDevice(mType)) in toString()
176 AudioDeviceInfo.convertDeviceTypeToInternalDevice(mType))) in toString()
/frameworks/base/telephony/java/android/telephony/
DLinkCapacityEstimate.java63 private final @LceType int mType; field in LinkCapacityEstimate
78 mType = type; in LinkCapacityEstimate()
87 mType = in.readInt(); in LinkCapacityEstimate()
95 return mType; in getType()
121 .append(mType) in toString()
144 dest.writeInt(mType); in writeToParcel()
160 && mType == that.mType; in equals()
165 return Objects.hash(mDownlinkCapacityKbps, mUplinkCapacityKbps, mType); in hashCode()
/frameworks/base/graphics/java/android/graphics/drawable/
DIcon.java117 private final int mType; field in Icon
153 return mType; in getType()
163 if (mType != TYPE_BITMAP && mType != TYPE_ADAPTIVE_BITMAP) { in getBitmap()
179 if (mType != TYPE_DATA) { in getDataLength()
194 if (mType != TYPE_DATA) { in getDataOffset()
209 if (mType != TYPE_DATA) { in getDataBytes()
223 if (mType != TYPE_RESOURCE) { in getResources()
238 if (mType != TYPE_RESOURCE) { in getResPackage()
253 if (mType != TYPE_RESOURCE) { in getResId()
265 if (mType != TYPE_URI && mType != TYPE_URI_ADAPTIVE_BITMAP) { in getUriString()
[all …]
/frameworks/base/core/java/android/content/
DContentProviderOperation.java57 private final int mType; field in ContentProviderOperation
78 mType = builder.mType; in ContentProviderOperation()
92 mType = source.readInt(); in ContentProviderOperation()
119 mType = cpo.mType; in ContentProviderOperation()
134 dest.writeInt(mType); in writeToParcel()
256 return mType; in getType()
266 return mType == TYPE_INSERT; in isInsert()
276 return mType == TYPE_DELETE; in isDelete()
286 return mType == TYPE_UPDATE; in isUpdate()
295 return mType == TYPE_ASSERT; in isAssertQuery()
[all …]
DRestrictionEntry.java107 private int mType; field in RestrictionEntry
146 mType = type; in RestrictionEntry()
157 this.mType = TYPE_CHOICE; in RestrictionEntry()
168 this.mType = TYPE_BOOLEAN; in RestrictionEntry()
179 this.mType = TYPE_MULTI_SELECT; in RestrictionEntry()
190 mType = TYPE_INTEGER; in RestrictionEntry()
208 mType = TYPE_BUNDLE_ARRAY; in RestrictionEntry()
218 mType = TYPE_BUNDLE; in RestrictionEntry()
251 this.mType = type; in setType()
259 return mType; in getType()
[all …]
/frameworks/base/services/people/java/com/android/server/people/data/
DEvent.java116 private final int mType; field in Event
122 mType = type; in Event()
128 mType = builder.mType; in Event()
137 return mType; in getType()
155 protoOutputStream.write(PeopleEventProto.EVENT_TYPE, mType); in writeToProto()
193 && mType == other.mType in equals()
199 return Objects.hash(mTimestamp, mType, mDurationSeconds); in hashCode()
207 sb.append(", type=").append(mType); in toString()
220 private int mType; field in Event.Builder
228 mType = type; in Builder()
[all …]
/frameworks/base/services/core/java/com/android/server/tv/tunerresourcemanager/
DFrontendResource.java35 @Type private final int mType; field in FrontendResource
49 this.mType = builder.mType; in FrontendResource()
54 return mType; in getType()
94 return "FrontendResource[handle=" + this.mHandle + ", type=" + this.mType in toString()
104 @Type private int mType; field in FrontendResource.Builder
117 this.mType = type; in type()
/frameworks/av/media/libstagefright/webm/
DWebmFrame.cpp42 : mType(kInvalidType), in WebmFrame()
50 : mType(type), in WebmFrame()
59 mType == kVideoType ? kVideoTrackNum : kAudioTrackNum, in SimpleBlock()
81 if (this->mType == kAudioType && other.mType == kVideoType) { in operator <()
84 if (this->mType == kVideoType && other.mType == kAudioType) { in operator <()
/frameworks/base/core/java/android/view/
DInsetsSourceControl.java42 private final @InternalInsetsType int mType; field in InsetsSourceControl
55 mType = type; in InsetsSourceControl()
62 mType = other.mType; in InsetsSourceControl()
74 mType = in.readInt(); in InsetsSourceControl()
82 return mType; in getType()
147 dest.writeInt(mType); in writeToParcel()
170 return mType == that.mType in equals()
180 int result = mType; in hashCode()
191 + "type=" + InsetsState.typeToString(mType) in toString()
199 pw.print("InsetsSourceControl type="); pw.print(InsetsState.typeToString(mType)); in dump()
[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/telephony/java/com/android/ims/
DRcsTypeIdPair.java27 private int mType; field in RcsTypeIdPair
31 mType = type; in RcsTypeIdPair()
36 return mType; in getType()
40 mType = type; in setType()
52 mType = in.readInt(); in RcsTypeIdPair()
63 dest.writeInt(mType); in writeToParcel()
/frameworks/base/services/backup/java/com/android/server/backup/remote/
DRemoteResult.java45 @Type private final int mType; field in RemoteResult
49 mType = type; in RemoteResult()
54 return mType == Type.SUCCESS; in isPresent()
73 switch (mType) { in toStringDescription()
96 return mType == that.mType && mValue == that.mValue; in equals()
101 return Objects.hash(mType, mValue); in hashCode()

12345678910>>...12