Home
last modified time | relevance | path

Searched refs:FormatInfo (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/media/java/android/media/
DAudioPlaybackConfiguration.java325 private @NonNull FormatInfo mFormatInfo;
359 mFormatInfo = FormatInfo.DEFAULT; in AudioPlaybackConfiguration()
374 private void setUpdateableFields(int deviceId, int sessionId, int mutedState, FormatInfo format) in setUpdateableFields()
416 FormatInfo.DEFAULT); in anonymizedCopy()
654 public boolean handleFormatEvent(@NonNull FormatInfo fi) { in handleFormatEvent()
809 mFormatInfo = FormatInfo.CREATOR.createFromParcel(in); in AudioPlaybackConfiguration()
921 public static final class FormatInfo implements Parcelable { class in AudioPlaybackConfiguration
922 static final FormatInfo DEFAULT = new FormatInfo(
928 public FormatInfo(boolean isSpatialized, int nativeChannelMask, int sampleRate) { in FormatInfo() method in AudioPlaybackConfiguration.FormatInfo
946 if (!(o instanceof FormatInfo)) return false; in equals()
[all …]
/frameworks/base/libs/hwui/
DHardwareBitmapUploader.cpp54 struct FormatInfo { struct
77 bool uploadHardwareBitmap(const SkBitmap& bitmap, const FormatInfo& format, in uploadHardwareBitmap()
98 virtual bool onUploadHardwareBitmap(const SkBitmap& bitmap, const FormatInfo& format,
169 bool onUploadHardwareBitmap(const SkBitmap& bitmap, const FormatInfo& format, in onUploadHardwareBitmap()
244 bool onUploadHardwareBitmap(const SkBitmap& bitmap, const FormatInfo& format, in onUploadHardwareBitmap()
326 static FormatInfo determineFormat(const SkBitmap& skBitmap, bool usingGL) { in determineFormat()
327 FormatInfo formatInfo; in determineFormat()
400 static SkBitmap makeHwCompatible(const FormatInfo& format, const SkBitmap& source) { in makeHwCompatible()
430 FormatInfo format = determineFormat(sourceBitmap, usingGL); in allocateHardwareBitmap()
/frameworks/base/services/core/java/com/android/server/audio/
DPlaybackActivityMonitor.java40 import android.media.AudioPlaybackConfiguration.FormatInfo;
1524 private final AudioPlaybackConfiguration.FormatInfo mFormat;
1526 PlayerFormatEvent(int piid, AudioPlaybackConfiguration.FormatInfo format) { in PlayerFormatEvent()
1729 final FormatInfo format = in initEventHandler()
1730 new FormatInfo(spatialized, nativeChannelMask, sampleRate); in initEventHandler()