/frameworks/base/media/mca/filterfw/java/android/filterfw/core/ |
D | NativeFrame.java | 71 if (getFormat().getBaseType() != FrameFormat.TYPE_OBJECT) { in getObjectValue() 76 Class structClass = getFormat().getObjectClass(); in getObjectValue() 111 if (ints.length * nativeIntSize() > getFormat().getSize()) { in setInts() 114 (getFormat().getSize() / nativeIntSize()) + " integers)."); in setInts() 122 return getNativeInts(getFormat().getSize()); in getInts() 128 if (floats.length * nativeFloatSize() > getFormat().getSize()) { in setFloats() 131 (getFormat().getSize() / nativeFloatSize()) + " floats)."); in setFloats() 139 return getNativeFloats(getFormat().getSize()); in getFloats() 152 } else if (getFormat().getSize() != length) { in setData() 154 "Frame size is " + getFormat().getSize() + " bytes, but " + in setData() [all …]
|
D | GLFrame.java | 79 FrameFormat format = getFormat(); in init() 87 } else if (getFormat().getSize() < 0) { in init() 120 if (!nativeAllocate(mGLEnvironment, getFormat().getWidth(), getFormat().getHeight())) { in initNew() 127 int width = getFormat().getWidth(); in initWithTexture() 128 int height = getFormat().getHeight(); in initWithTexture() 137 int width = getFormat().getWidth(); in initWithFbo() 138 int height = getFormat().getHeight(); in initWithFbo() 211 if (getFormat().getSize() != bytes.length) { in setData() 229 if (getFormat().getWidth() != bitmap.getWidth() || in setBitmap() 230 getFormat().getHeight() != bitmap.getHeight()) { in setBitmap() [all …]
|
D | VertexFrame.java | 36 if (getFormat().getSize() <= 0) { in VertexFrame() 39 if (!nativeAllocate(getFormat().getSize())) { in VertexFrame() 91 if (getFormat().getSize() != bytes.length) { in setData() 125 return "VertexFrame (" + getFormat() + ") with VBO ID " + getVboId(); in toString()
|
D | SimpleFrame.java | 132 MutableFrameFormat format = getFormat().mutableCopy(); in setFormatObjectClass() 142 FrameFormat format = getFormat(); in setGenericObjectValue() 157 return "SimpleFrame (" + getFormat() + ")"; in toString()
|
D | CachedFrameManager.java | 101 int frameSize = frame.getFormat().getSize(); in storeFrame() 125 mStorageSize -= frame.getFormat().getSize(); in dropOldestFrame() 136 if (frame.getFormat().isReplaceableBy(format)) { in findAvailableFrame()
|
D | FrameManager.java | 36 Frame result = newFrame(frame.getFormat()); in duplicateFrame() 42 MutableFrameFormat newFormat = frame.getFormat().mutableCopy(); in duplicateFrameToTarget()
|
/frameworks/base/core/java/android/text/format/ |
D | TimeFormatter.java | 198 numberFormatter.format(getFormat(modifier, "%02d", "%2d", "%d", "%02d"), in handleToken() 213 numberFormatter.format(getFormat(modifier, "%2d", "%2d", "%d", "%02d"), in handleToken() 220 numberFormatter.format(getFormat(modifier, "%02d", "%2d", "%d", "%02d"), in handleToken() 225 numberFormatter.format(getFormat(modifier, "%02d", "%2d", "%d", "%02d"), hour); in handleToken() 229 numberFormatter.format(getFormat(modifier, "%03d", "%3d", "%d", "%03d"), in handleToken() 233 numberFormatter.format(getFormat(modifier, "%2d", "%2d", "%d", "%02d"), in handleToken() 238 numberFormatter.format(getFormat(modifier, "%2d", "%2d", "%d", "%02d"), n2); in handleToken() 241 numberFormatter.format(getFormat(modifier, "%02d", "%2d", "%d", "%02d"), in handleToken() 245 numberFormatter.format(getFormat(modifier, "%02d", "%2d", "%d", "%02d"), in handleToken() 266 numberFormatter.format(getFormat(modifier, "%02d", "%2d", "%d", "%02d"), in handleToken() [all …]
|
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/ |
D | AudioProfile.h | 58 audio_format_t getFormat() const { return mFormat; } in getFormat() function 161 formats.add(profileToAdd->getFormat()); in addProfileFromHal() 166 setSampleRatesFor(profileToAdd->getSampleRates(), profileToAdd->getFormat()); in addProfileFromHal() 170 setChannelsFor(profileToAdd->getChannels(), profileToAdd->getFormat()); in addProfileFromHal() 210 supportedFormats.add(itemAt(i)->getFormat()); in getSupportedFormats() 235 if (profile->getFormat() == format && profile->isDynamicChannels()) { in hasDynamicChannelsFor() 246 if (profile->getFormat() == format && profile->isDynamicRate()) { in hasDynamicRateFor() 303 if (profile->getFormat() == format && profile->isDynamicRate()) { in setSampleRatesFor() 322 if (profile->getFormat() == format && profile->isDynamicChannels()) { in setChannelsFor() 340 if (itemAt(i)->getFormat() == format) { in getProfileFor()
|
/frameworks/base/media/java/android/media/ |
D | ImageUtils.java | 95 if (src.getFormat() != dst.getFormat()) { in imageCopy() 98 if (src.getFormat() == ImageFormat.PRIVATE || in imageCopy() 99 dst.getFormat() == ImageFormat.PRIVATE) { in imageCopy() 102 if (src.getFormat() == ImageFormat.RAW_PRIVATE) { in imageCopy() 230 switch (image.getFormat()) { in getEffectivePlaneSizeForImage() 261 String.format("Invalid image format %d", image.getFormat())); in getEffectivePlaneSizeForImage()
|
D | ImageWriter.java | 314 if (image.getFormat() == ImageFormat.PRIVATE) { in queueInputImage() 364 public int getFormat() { in getFormat() method in ImageWriter 520 nativeAttachAndQueueImage(mNativeContext, image.getNativeContext(), image.getFormat(), in attachAndQueueInputImage() 643 public int getFormat() { in getFormat() method in ImageWriter.WriterSurfaceImage 693 int numPlanes = ImageUtils.getNumPlanesForFormat(getFormat()); in getPlanes() 694 mPlanes = nativeCreatePlanes(numPlanes, getOwner().getFormat()); in getPlanes()
|
/frameworks/av/media/libstagefright/ |
D | DRMExtractor.cpp | 45 virtual sp<MetaData> getFormat(); 82 bool success = getFormat()->findCString(kKeyMIMEType, &mime); in DRMSource() 89 CHECK(getFormat()->findData(kKeyAVCC, &type, &data, &size)); in DRMSource() 122 sp<MetaData> DRMSource::getFormat() { in getFormat() function in android::DRMSource 123 return mOriginalMediaSource->getFormat(); in getFormat() 156 CHECK(getFormat()->findCString(kKeyMIMEType, &mime)); in read() 262 originalMediaSource->getFormat()->setInt32(kKeyIsDRM, 1); in getTrack()
|
/frameworks/base/media/java/android/media/audiopolicy/ |
D | AudioPolicyConfig.java | 90 dest.writeInt(mix.getFormat().getSampleRate()); in writeToParcel() 91 dest.writeInt(mix.getFormat().getEncoding()); in writeToParcel() 92 dest.writeInt(mix.getFormat().getChannelMask()); in writeToParcel() 155 textDump += " rate=" + mix.getFormat().getSampleRate() + "Hz\n"; in toLogFriendlyString() 156 textDump += " encoding=" + mix.getFormat().getEncoding() + "\n"; in toLogFriendlyString() 158 textDump += Integer.toHexString(mix.getFormat().getChannelMask()).toUpperCase() +"\n"; in toLogFriendlyString()
|
D | AudioPolicy.java | 338 AudioFormat mixFormat = new AudioFormat.Builder(mix.getFormat()) in createAudioRecordSink() 340 mix.getFormat().getChannelMask())) in createAudioRecordSink() 349 AudioRecord.getMinBufferSize(mix.getFormat().getSampleRate(), in createAudioRecordSink() 351 AudioFormat.CHANNEL_IN_STEREO, mix.getFormat().getEncoding()), in createAudioRecordSink() 381 mix.getFormat(), in createAudioTrackSource() 382 AudioTrack.getMinBufferSize(mix.getFormat().getSampleRate(), in createAudioTrackSource() 383 mix.getFormat().getChannelMask(), mix.getFormat().getEncoding()), in createAudioTrackSource()
|
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/ |
D | ResizeFilter.java | 89 createProgram(env, input.getFormat()); in process() 92 MutableFrameFormat outputFormat = input.getFormat().mutableCopy(); in process() 94 FrameFormat inputFormat = input.getFormat(); in process() 102 GLFrame mipmapped = (GLFrame)env.getFrameManager().newFrame(input.getFormat()); in process()
|
D | ImageSlicer.java | 76 mInputWidth = frame.getFormat().getWidth(); in calcOutputFormatForInput() 77 mInputHeight = frame.getFormat().getHeight(); in calcOutputFormatForInput() 96 FrameFormat inputFormat = mOriginalFrame.getFormat(); in process()
|
/frameworks/av/media/libstagefright/mpeg2ts/ |
D | MPEG2PSExtractor.cpp | 49 virtual sp<MetaData> getFormat(); 80 virtual sp<MetaData> getFormat(); 113 if (mTracks.valueAt(i)->getFormat() == NULL) { in MPEG2PSExtractor() 142 return mTracks.valueAt(index)->getFormat(); in getTrackMetaData() 653 sp<MetaData> MPEG2PSExtractor::Track::getFormat() { in getFormat() function in android::MPEG2PSExtractor::Track 658 return mSource->getFormat(); in getFormat() 707 sp<MetaData> meta = mQueue->getFormat(); in appendPESData() 715 } else if (mQueue->getFormat() != NULL) { in appendPESData() 742 sp<MetaData> MPEG2PSExtractor::WrappedTrack::getFormat() { in getFormat() function in android::MPEG2PSExtractor::WrappedTrack 743 return mTrack->getFormat(); in getFormat()
|
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/ui/ |
D | SurfaceTargetFilter.java | 150 … float currentAspectRatio = (float)input.getFormat().getWidth() / input.getFormat().getHeight(); in process() 159 if (mLogVerbose) Log.v("SurfaceRenderFilter", "Got input format: " + input.getFormat()); in process() 160 int target = input.getFormat().getTarget(); in process()
|
D | SurfaceRenderFilter.java | 158 … float currentAspectRatio = (float)input.getFormat().getWidth() / input.getFormat().getHeight(); in process() 167 if (mLogVerbose) Log.v("SurfaceRenderFilter", "Got input format: " + input.getFormat()); in process() 168 int target = input.getFormat().getTarget(); in process()
|
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/ |
D | AudioProfile.cpp | 58 return (left.getFormat() == compareTo.getFormat()) && in operator ==() 262 audio_format_t formatToCompare = profile->getFormat(); in checkCompatibleProfile() 288 return AudioPort::compareFormats((*profile1)->getFormat(), (*profile2)->getFormat()); in compareFormats()
|
/frameworks/base/libs/hwui/ |
D | RenderBufferCache.cpp | 82 RenderBuffer::formatName(buffer->getFormat()), in deleteBuffer() 142 RenderBuffer::formatName(buffer->getFormat()), in put() 148 RenderBuffer::formatName(buffer->getFormat()), in put()
|
/frameworks/base/core/java/android/hardware/camera2/params/ |
D | InputConfiguration.java | 78 public int getFormat() { in getFormat() method in InputConfiguration 102 otherInputConfig.getFormat() == mFormat) { in equals()
|
/frameworks/base/keystore/java/android/security/keystore/ |
D | AndroidKeyStoreRSAPublicKey.java | 40 if (!"X.509".equalsIgnoreCase(info.getFormat())) { in AndroidKeyStoreRSAPublicKey() 42 "Unsupported key export format: " + info.getFormat()); in AndroidKeyStoreRSAPublicKey()
|
D | AndroidKeyStoreECPublicKey.java | 42 if (!"X.509".equalsIgnoreCase(info.getFormat())) { in AndroidKeyStoreECPublicKey() 44 "Unsupported key export format: " + info.getFormat()); in AndroidKeyStoreECPublicKey()
|
/frameworks/base/media/mca/effect/java/android/media/effect/ |
D | SizeChangeEffect.java | 47 int outputWidth = resultFrame.getFormat().getWidth(); in apply() 48 int outputHeight = resultFrame.getFormat().getHeight(); in apply()
|
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/base/ |
D | GLTextureTarget.java | 50 FrameFormat format = ImageFormat.create(input.getFormat().getWidth(), in process() 51 input.getFormat().getHeight(), in process()
|