/frameworks/rs/support/java/src/androidx/renderscript/ |
D | Allocation.java | 59 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() 327 if (mType.mDimYuv != 0) { in getBytesSize() 328 return (int)Math.ceil(mType.getCount() * mType.getElement().getBytesSize() * 1.5); in getBytesSize() 330 return mType.getCount() * mType.getElement().getBytesSize(); in getBytesSize() 370 mType = t; in Allocation() [all …]
|
/frameworks/base/media/java/android/media/tv/ |
D | TvTrackInfo.java | 58 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 …]
|
D | TvInputHardwareInfo.java | 100 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() 193 private Integer mType = null; field in TvInputHardwareInfo.Builder [all …]
|
D | TvStreamConfig.java | 37 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/ |
D | Allocation.java | 60 Type mType; field in Allocation 104 return mType.mElement.mType; in validateObjectIsPrimitiveArray() 112 return mType.mElement.mType; in validateObjectIsPrimitiveArray() 120 return mType.mElement.mType; in validateObjectIsPrimitiveArray() 128 return mType.mElement.mType; in validateObjectIsPrimitiveArray() 148 "[] is not compatible with data type " + mType.mElement.mType.name() + in validateObjectIsPrimitiveArray() 275 return mType.getElement(); in getElement() 359 if (mType.mDimYuv != 0) { in getBytesSize() 360 return (int)Math.ceil(mType.getCount() * mType.getElement().getBytesSize() * 1.5); in getBytesSize() 362 return mType.getCount() * mType.getElement().getBytesSize(); in getBytesSize() [all …]
|
/frameworks/base/core/java/android/content/ |
D | ContentProviderOperation.java | 50 private final int mType; field in ContentProviderOperation 70 mType = builder.mType; in ContentProviderOperation() 83 mType = source.readInt(); in ContentProviderOperation() 107 mType = cpo.mType; in ContentProviderOperation() 120 dest.writeInt(mType); in writeToParcel() 227 return mType; in getType() 236 return mType == TYPE_INSERT; in isInsert() 245 return mType == TYPE_DELETE; in isDelete() 254 return mType == TYPE_UPDATE; in isUpdate() 263 return mType == TYPE_ASSERT; in isAssertQuery() [all …]
|
D | RestrictionEntry.java | 106 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/core/java/android/view/autofill/ |
D | AutofillValue.java | 50 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=" + mType); in getTextValue() local 76 return mType == AUTOFILL_TYPE_TEXT; in isText() 87 Preconditions.checkState(isToggle(), "value must be a toggle value, not type=" + mType); in getToggleValue() local 97 return mType == AUTOFILL_TYPE_TOGGLE; in isToggle() 108 Preconditions.checkState(isList(), "value must be a list value, not type=" + mType); in getListValue() local 118 return mType == AUTOFILL_TYPE_LIST; in isList() 129 Preconditions.checkState(isDate(), "value must be a date value, not type=" + mType); in getDateValue() local 139 return mType == AUTOFILL_TYPE_DATE; in isDate() [all …]
|
/frameworks/av/media/libaudiofoundation/ |
D | AudioDeviceTypeAddr.cpp | 26 return mType == other.mType && mAddress == other.mAddress; in equals() 30 if (mType < other.mType) return true; in operator <() 31 if (mType > other.mType) return false; in operator <() 40 mType = AUDIO_DEVICE_NONE; in reset() 46 if ((status = parcel->readUint32(&mType)) != NO_ERROR) return status; in readFromParcel() 53 if ((status = parcel->writeUint32(mType)) != NO_ERROR) return status; in writeToParcel() 62 deviceTypes.insert(deviceTypeAddr.mType); in getAudioDeviceTypes()
|
/frameworks/base/libs/hwui/ |
D | Outline.h | 31 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::ConvexPath; in setConvexPath() 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/ |
D | SliceSpec.java | 43 private final String mType; field in SliceSpec 47 mType = type; in SliceSpec() 55 mType = source.readString(); in SliceSpec() 66 dest.writeString(mType); in writeToParcel() 74 return mType; in getType() 95 if (!mType.equals(candidate.mType)) return false; in canRender() 103 return mType.equals(other.mType) && mRevision == other.mRevision; in equals() 108 return String.format("SliceSpec{%s,%d}", mType, mRevision); in toString()
|
/frameworks/native/libs/ui/ |
D | Transform.cpp | 33 : mMatrix(other.mMatrix), mType(other.mType) { in Transform() 54 if (CC_LIKELY(mType == IDENTITY)) in operator *() 58 if (rhs.mType == IDENTITY) in operator *() 73 r.mType |= rhs.mType; in operator *() 76 r.mType &= 0xFF; in operator *() 77 r.mType |= UNKNOWN_TYPE; in operator *() 83 mType = other.mType; in operator =() 108 mType = IDENTITY; in reset() 123 mType &= ~TRANSLATE; in set() 125 mType |= TRANSLATE; in set() [all …]
|
/frameworks/rs/cpp/ |
D | Allocation.cpp | 66 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/av/media/libmedia/ |
D | MediaResource.cpp | 27 : mType(kUnspecified), in MediaResource() 32 : mType(type), in MediaResource() 37 : mType(type), in MediaResource() 42 : mType(type), in MediaResource() 48 mType = static_cast<Type>(parcel.readInt32()); in readFromParcel() 55 parcel->writeInt32(static_cast<int32_t>(mType)); in writeToParcel() 72 asString(mType), asString(mSubType), in toString() 79 return (other.mType == mType) in operator ==()
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
D | Icon.java | 106 private final int mType; field in Icon 140 return mType; in getType() 149 if (mType != TYPE_BITMAP && mType != TYPE_ADAPTIVE_BITMAP) { in getBitmap() 165 if (mType != TYPE_DATA) { in getDataLength() 180 if (mType != TYPE_DATA) { in getDataOffset() 195 if (mType != TYPE_DATA) { in getDataBytes() 209 if (mType != TYPE_RESOURCE) { in getResources() 224 if (mType != TYPE_RESOURCE) { in getResPackage() 239 if (mType != TYPE_RESOURCE) { in getResId() 250 if (mType != TYPE_URI) { in getUriString() [all …]
|
/frameworks/base/media/java/android/media/ |
D | AudioDeviceAddress.java | 63 private final @AudioDeviceInfo.AudioDeviceType int mType; field in AudioDeviceAddress 82 mType = deviceInfo.getType(); in AudioDeviceAddress() 100 mType = type; in AudioDeviceAddress() 109 return mType; in getType() 118 return Objects.hash(mRole, mType, mAddress); in hashCode() 128 && (mType == that.mType) in equals() 142 AudioDeviceInfo.convertDeviceTypeToInternalDevice(mType)) in toString() 144 AudioDeviceInfo.convertDeviceTypeToInternalDevice(mType))) in toString() 156 dest.writeInt(mType); in writeToParcel() 162 mType = in.readInt(); in AudioDeviceAddress()
|
/frameworks/base/core/java/android/view/ |
D | InsetsSource.java | 33 private final @InternalInsetType int mType; field in InsetsSource 42 mType = type; in InsetsSource() 47 mType = other.mType; in InsetsSource() 61 return mType; in getType() 110 pw.print("InsetsSource type="); pw.print(InsetsState.typeToString(mType)); in dump() 123 if (mType != that.mType) return false; in equals() 130 int result = mType; in hashCode() 137 mType = in.readInt(); in InsetsSource() 149 dest.writeInt(mType); in writeToParcel()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/anqp/eap/ |
D | CredentialType.java | 49 private final int mType; field in CredentialType 54 mType = credType; in CredentialType() 79 return mType; in getType() 91 return mType == that.mType; in equals() 96 return mType; in hashCode() 101 return "CredentialType{mType=" + mType + "}"; in toString()
|
/frameworks/base/telephony/java/android/telephony/ |
D | PinResult.java | 67 private final @PinResultType int mType; field in PinResult 80 return mType; in getType() 107 mType = type; in PinResult() 117 mType = in.readInt(); in PinResult() 143 out.writeInt(mType); in writeToParcel() 159 return Objects.hash(mAttemptsRemaining, mType); in hashCode() 174 return (mType == other.mType in equals()
|
/frameworks/av/media/libstagefright/webm/ |
D | WebmFrame.cpp | 42 : 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/packages/SettingsLib/src/com/android/settingslib/media/ |
D | MediaDevice.java | 46 protected int mType; field in MediaDevice 49 mType = type; in MediaDevice() 143 if (mType == MediaDeviceType.TYPE_PHONE_DEVICE) { in compareTo() 145 } else if (another.mType == MediaDeviceType.TYPE_PHONE_DEVICE) { in compareTo() 168 if (mType == another.mType) { in compareTo() 174 return mType - another.mType; in compareTo()
|
/frameworks/rs/ |
D | rsComponent.cpp | 30 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/ |
D | RcsTypeIdPair.java | 27 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/ |
D | RemoteResult.java | 45 @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()
|
/frameworks/base/core/java/android/hardware/camera2/utils/ |
D | TypeReference.java | 50 private final Type mType; field in TypeReference 65 mType = thisType.getActualTypeArguments()[0]; in TypeReference() 76 if (containsTypeVariable(mType)) { in TypeReference() 80 mHash = mType.hashCode(); in TypeReference() 87 return mType; in getType() 91 mType = type; in TypeReference() 92 if (containsTypeVariable(mType)) { in TypeReference() 96 mHash = mType.hashCode(); in TypeReference() 163 return (Class<? super T>)getRawType(mType); in getRawType() 213 Type componentType = getComponentType(mType); in getComponentType() [all …]
|