/frameworks/base/core/java/android/hardware/camera2/ |
D | CaptureResult.java | 58 public class CaptureResult extends CameraMetadata<CaptureResult.Key<?>> { 79 public final static class Key<T> { class in CaptureResult 80 private final CameraMetadataNative.Key<T> mKey; 88 public Key(String name, Class<T> type, long vendorId) { in Key() method in CaptureResult.Key 89 mKey = new CameraMetadataNative.Key<T>(name, type, vendorId); in Key() 97 public Key(String name, String fallbackName, Class<T> type) { in Key() method in CaptureResult.Key 98 mKey = new CameraMetadataNative.Key<T>(name, fallbackName, type); in Key() 108 public Key(@NonNull String name, @NonNull Class<T> type) { in Key() method in CaptureResult.Key 109 mKey = new CameraMetadataNative.Key<T>(name, type); in Key() 118 public Key(String name, TypeReference<T> typeReference) { in Key() method in CaptureResult.Key [all …]
|
D | CameraCharacteristics.java | 66 public final class CameraCharacteristics extends CameraMetadata<CameraCharacteristics.Key<?>> { 85 public static final class Key<T> { class in CameraCharacteristics 86 private final CameraMetadataNative.Key<T> mKey; 94 public Key(String name, Class<T> type, long vendorId) { in Key() method in CameraCharacteristics.Key 95 mKey = new CameraMetadataNative.Key<T>(name, type, vendorId); in Key() 103 public Key(String name, String fallbackName, Class<T> type) { in Key() method in CameraCharacteristics.Key 104 mKey = new CameraMetadataNative.Key<T>(name, fallbackName, type); in Key() 115 public Key(@NonNull String name, @NonNull Class<T> type) { in Key() method in CameraCharacteristics.Key 116 mKey = new CameraMetadataNative.Key<T>(name, type); in Key() 125 public Key(String name, TypeReference<T> typeReference) { in Key() method in CameraCharacteristics.Key [all …]
|
D | CaptureRequest.java | 89 public final class CaptureRequest extends CameraMetadata<CaptureRequest.Key<?>> 110 public final static class Key<T> { class in CaptureRequest 111 private final CameraMetadataNative.Key<T> mKey; 119 public Key(String name, Class<T> type, long vendorId) { in Key() method in CaptureRequest.Key 120 mKey = new CameraMetadataNative.Key<T>(name, type, vendorId); in Key() 130 public Key(@NonNull String name, @NonNull Class<T> type) { in Key() method in CaptureRequest.Key 131 mKey = new CameraMetadataNative.Key<T>(name, type); in Key() 140 public Key(String name, TypeReference<T> typeReference) { in Key() method in CaptureRequest.Key 141 mKey = new CameraMetadataNative.Key<T>(name, typeReference); in Key() 185 return o instanceof Key && ((Key<T>)o).mKey.equals(mKey); in equals() [all …]
|
D | ExtensionCaptureResult.java | 23 import android.hardware.camera2.CaptureResult.Key; 72 public static final Key<int[]> EFV_PADDING_REGION = CaptureResult.EFV_PADDING_REGION; 96 …public static final Key<int[]> EFV_AUTO_ZOOM_PADDING_REGION = CaptureResult.EFV_AUTO_ZOOM_PADDING_… 119 …public static final Key<android.graphics.PointF[]> EFV_TARGET_COORDINATES = CaptureResult.EFV_TARG… 153 public static final Key<Float> EFV_PADDING_ZOOM_FACTOR = CaptureResult.EFV_PADDING_ZOOM_FACTOR; 180 public static final Key<Integer> EFV_STABILIZATION_MODE = CaptureResult.EFV_STABILIZATION_MODE; 205 public static final Key<Boolean> EFV_AUTO_ZOOM = CaptureResult.EFV_AUTO_ZOOM; 222 public static final Key<Float> EFV_ROTATE_VIEWPORT = CaptureResult.EFV_ROTATE_VIEWPORT; 246 …public static final Key<android.util.Pair<Integer,Integer>> EFV_TRANSLATE_VIEWPORT = CaptureResult… 272 …public static final Key<Float> EFV_MAX_PADDING_ZOOM_FACTOR = CaptureResult.EFV_MAX_PADDING_ZOOM_FA…
|
D | ExtensionCaptureRequest.java | 22 import android.hardware.camera2.CaptureRequest.Key; 80 public static final Key<Float> EFV_PADDING_ZOOM_FACTOR = CaptureRequest.EFV_PADDING_ZOOM_FACTOR; 105 public static final Key<Boolean> EFV_AUTO_ZOOM = CaptureRequest.EFV_AUTO_ZOOM; 131 …public static final Key<Float> EFV_MAX_PADDING_ZOOM_FACTOR = CaptureRequest.EFV_MAX_PADDING_ZOOM_F… 158 public static final Key<Integer> EFV_STABILIZATION_MODE = CaptureRequest.EFV_STABILIZATION_MODE; 182 …public static final Key<android.util.Pair<Integer,Integer>> EFV_TRANSLATE_VIEWPORT = CaptureReques… 199 public static final Key<Float> EFV_ROTATE_VIEWPORT = CaptureRequest.EFV_ROTATE_VIEWPORT;
|
/frameworks/av/media/libstagefright/renderfright/gl/ |
D | ProgramCache.cpp | 86 Key shaderKey; in primeCache() 88 shaderKey.set(Key::BLEND_MASK | Key::INPUT_TRANSFORM_MATRIX_MASK | in primeCache() 89 Key::OUTPUT_TRANSFORM_MATRIX_MASK | Key::OUTPUT_TF_MASK | in primeCache() 90 Key::OPACITY_MASK | Key::ALPHA_MASK | in primeCache() 91 Key::ROUNDED_CORNERS_MASK | Key::TEXTURE_MASK, in primeCache() 92 Key::BLEND_NORMAL | Key::INPUT_TRANSFORM_MATRIX_ON | in primeCache() 93 Key::OUTPUT_TRANSFORM_MATRIX_ON | Key::OUTPUT_TF_SRGB | in primeCache() 94 Key::OPACITY_OPAQUE | Key::ALPHA_EQ_ONE | in primeCache() 95 Key::ROUNDED_CORNERS_OFF | Key::TEXTURE_EXT); in primeCache() 98 shaderKey.set(Key::INPUT_TF_MASK, (i & 1) ? in primeCache() [all …]
|
D | ProgramCache.h | 54 class Key { 122 inline Key() : mKey(0) {} in Key() function 123 inline Key(const Key& rhs) : mKey(rhs.mKey) {} in Key() function 125 inline Key& set(key_t mask, key_t value) { in set() 163 if (inputTF == Key::INPUT_TF_SRGB && outputTF == Key::OUTPUT_TF_LINEAR) { in needsToneMapping() 166 if (inputTF == Key::INPUT_TF_LINEAR && outputTF == Key::OUTPUT_TF_SRGB) { in needsToneMapping() 170 inputTF >>= Key::INPUT_TF_SHIFT; in needsToneMapping() 171 outputTF >>= Key::OUTPUT_TF_SHIFT; in needsToneMapping() 178 bool operator==(const Key& other) const { return mKey == other.mKey; } 181 size_t operator()(const Key& key) const { return static_cast<size_t>(key.mKey); } in operator() [all …]
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/ |
D | RenderParamsFlags.java | 21 import com.android.ide.common.rendering.api.SessionParams.Key; 32 public static final Key<String> FLAG_KEY_ROOT_TAG = 33 new Key<String>("rootTag", String.class); 34 public static final Key<Boolean> FLAG_KEY_DISABLE_BITMAP_CACHING = 35 new Key<Boolean>("disableBitmapCaching", Boolean.class); 36 public static final Key<Boolean> FLAG_KEY_RENDER_ALL_DRAWABLE_STATES = 37 new Key<Boolean>("renderAllDrawableStates", Boolean.class); 43 public static final Key<Boolean> FLAG_DO_NOT_RENDER_ON_CREATE = 44 new Key<Boolean>("doNotRenderOnCreate", Boolean.class); 48 public static final Key<String> FLAG_KEY_ADAPTIVE_ICON_MASK_PATH = [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | Prefs.java | 48 Key.OVERVIEW_LAST_STACK_TASK_ACTIVE_TIME, 49 Key.DEBUG_MODE_ENABLED, 50 Key.HOTSPOT_TILE_LAST_USED, 51 Key.COLOR_INVERSION_TILE_LAST_USED, 52 Key.DND_TILE_VISIBLE, 53 Key.DND_TILE_COMBINED_ICON, 54 Key.DND_CONFIRMED_PRIORITY_INTRODUCTION, 55 Key.DND_CONFIRMED_SILENCE_INTRODUCTION, 56 Key.DND_FAVORITE_BUCKET_INDEX, 57 Key.DND_NONE_SELECTED, [all …]
|
/frameworks/base/media/java/android/media/ |
D | MediaMetrics.java | 83 public static final Key<String> ADDRESS = createKey("address", String.class); 85 public static final Key<String> ATTRIBUTES = createKey("attributes", String.class); 88 public static final Key<String> CALLING_PACKAGE = 92 public static final Key<String> CLIENT_NAME = createKey("clientName", String.class); 94 public static final Key<Integer> CLOSED_COUNT = 98 public static final Key<Integer> DELAY_MS = createKey("delayMs", Integer.class); 101 public static final Key<String> DEVICE = createKey("device", String.class); 104 public static final Key<String> DEVICE_DISCONNECTED = 108 public static final Key<Integer> DEVICE_ID = 112 public static final Key<String> DIRECTION = createKey("direction", String.class); [all …]
|
D | AudioMetadata.java | 61 public interface Key<T> { interface in AudioMetadata 120 @NonNull public static final Key<Integer> KEY_BIT_RATE = 131 @NonNull public static final Key<Integer> KEY_CHANNEL_MASK = 142 @NonNull public static final Key<String> KEY_MIME = createKey("mime", String.class); 152 @NonNull public static final Key<Integer> KEY_SAMPLE_RATE = 162 @NonNull public static final Key<Integer> KEY_BIT_WIDTH = 175 @NonNull public static final Key<Boolean> KEY_ATMOS_PRESENT = 185 @NonNull public static final Key<Integer> KEY_HAS_ATMOS = 196 @NonNull public static final Key<Integer> KEY_AUDIO_ENCODING = 208 @NonNull public static final Key<Integer> KEY_PRESENTATION_ID = [all …]
|
/frameworks/av/services/audiopolicy/engineconfigurable/src/ |
D | Collection.h | 42 template <typename Key> 43 class Collection : public std::map<Key, Element<Key> *> 46 typedef std::map<Key, Element<Key> *> Base; 47 typedef Element<Key> T; 48 typedef typename std::map<Key, T *>::iterator CollectionIterator; 49 typedef typename std::map<Key, T *>::const_iterator CollectionConstIterator; 72 status_t add(const std::string &name, Key key) in add() 92 T *get(Key key) const in get()
|
D | Engine.h | 125 template <typename Key> 126 status_t add(const std::string &name, const Key &key); 128 template <typename Key> 129 Element<Key> *getFromCollection(const Key &key) const; 131 template <typename Key> 132 const Collection<Key> &getCollection() const; 134 template <typename Key> 135 Collection<Key> &getCollection(); 137 template <typename Property, typename Key> 138 Property getPropertyForKey(Key key) const; [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/data/repository/ |
D | ActiveNotificationListRepository.kt | 20 import com.android.systemui.statusbar.notification.data.repository.ActiveNotificationsStore.Key 63 val renderList: List<Key> = emptyList(), 71 operator fun get(key: Key): ActiveNotificationEntryModel? { in get() 73 is Key.Group -> groups[key.key] in get() 74 is Key.Individual -> individuals[key.key] in get() 79 sealed class Key { class in com.android.systemui.statusbar.notification.data.repository.ActiveNotificationsStore 80 data class Individual(val key: String) : Key() 82 data class Group(val key: String) : Key() 89 private val renderList = mutableListOf<Key>() 102 renderList.add(Key.Individual(notif.key)) in addIndividualNotif() [all …]
|
/frameworks/base/services/core/java/com/android/server/accounts/ |
D | TokenCache.java | 47 private static class Key { class in TokenCache 53 public Key(Account account, String tokenType, String packageName, byte[] sigDigest) { in Key() method in TokenCache.Key 62 if (o != null && o instanceof Key) { in equals() 63 Key cacheKey = (Key) o; in equals() 82 private static class TokenLruCache extends LruCache<Key, Value> { 85 private final List<Key> mKeys; 91 public void add(Key k) { in add() 96 for (Key k : mKeys) { in evict() 115 protected int sizeOf(Key k, Value v) { in sizeOf() 120 protected void entryRemoved(boolean evicted, Key k, Value oldVal, Value newVal) { in entryRemoved() [all …]
|
/frameworks/ex/camera2/extensions/service_based_sample/oem_library/src/java/androidx/camera/extensions/impl/serviceforward/ |
D | PlatformApi.java | 27 Map<CaptureRequest.Key<?>, Object> parameters) { in createCaptureRequest() argument 32 for (CaptureRequest.Key<?> key : parameters.keySet()) { in createCaptureRequest() 33 CaptureRequest.Key<Object> objKey = (CaptureRequest.Key<Object>) key; in createCaptureRequest() 51 Map<CaptureRequest.Key<?>, Object> parameters) { in createCameraMetadataNative() argument 53 for (CaptureRequest.Key<?> key : parameters.keySet()) { in createCameraMetadataNative() 54 CaptureRequest.Key<Object> objKey = (CaptureRequest.Key<Object>) key; in createCameraMetadataNative()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/ |
D | VoiceCallRatTracker.java | 41 private final Map<Key, Value> mRatUsageMap = new HashMap<>(); 44 private Key mLastKey; 93 Key key = new Key(carrierId, rat); in add() 134 private void addToKey(Key key, long durationMillis, Set<Integer> connectionIds) { in addToKey() 144 mRatUsageMap.put(Key.fromProto(usage), Value.fromProto(usage)); in addProto() 147 private static VoiceCallRatUsage entryToProto(Map.Entry<Key, Value> entry) { in entryToProto() argument 148 Key key = entry.getKey(); in entryToProto() 166 private static class Key { class in VoiceCallRatTracker 170 Key(int carrierId, int rat) { in Key() method in VoiceCallRatTracker.Key 175 static Key fromProto(VoiceCallRatUsage usage) { in fromProto() [all …]
|
/frameworks/ex/camera2/utils/src/com/android/ex/camera2/utils/ |
D | Camera2RequestSettingsSet.java | 23 import android.hardware.camera2.CaptureRequest.Key; 34 private final Map<Key<?>, Object> mDictionary; 83 public <T> boolean set(Key<T> key, T value) { in set() 111 public boolean unset(Key<?> key) { in unset() 134 public <T> T get(Key<T> key) { in get() 155 public boolean contains(Key<?> key) { in contains() 172 public <T> boolean matches(Key<T> key, T value) { in matches() 235 for (Key<?> key : mDictionary.keySet()) { in createRequest() 247 private <T> void setRequestFieldIfNonNull(Builder requestBuilder, Key<T> key) { in setRequestFieldIfNonNull()
|
/frameworks/base/core/java/android/os/ |
D | BatteryConsumer.java | 256 public static final class Key { class in BatteryConsumer 265 private Key(int powerComponent, int processState, int powerModelColumnIndex, in Key() method in BatteryConsumer.Key 279 final Key key = (Key) o; in equals() 339 public Key[] getKeys(@PowerComponent int componentId) { in getKeys() 347 public Key getKey(@PowerComponent int componentId) { in getKey() 354 public Key getKey(@PowerComponent int componentId, @ProcessState int processState) { in getKey() 377 public double getConsumedPower(@NonNull Key key) { in getConsumedPower() 398 public @PowerModel int getPowerModel(@NonNull BatteryConsumer.Key key) { in getPowerModel() 446 public long getUsageDurationMillis(@NonNull Key key) { in getUsageDurationMillis() 592 public Key[] getKeys(int componentId) { in getKeys() [all …]
|
/frameworks/compile/mclinker/include/mcld/LD/ |
D | BranchIsland.h | 106 class Key { 108 Key(const Stub* pPrototype, const LDSymbol* pSymbol, Stub::SWord pAddend) in Key() function 111 ~Key() {} in ~Key() 120 size_t operator()(const Key& KEY) const { in operator() 129 bool operator()(const Key& KEY1, const Key& KEY2) const { in operator() 157 typedef HashEntry<Key, Stub*, Key::Compare> StubEntryType; 159 typedef HashTable<StubEntryType, Key::Hash, EntryFactory<StubEntryType> >
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/ |
D | StaticMetadata.java | 24 import android.hardware.camera2.CameraCharacteristics.Key; 390 Key<Float> key = CameraCharacteristics.LENS_INFO_MINIMUM_FOCUS_DISTANCE; in getMinimumFocusDistanceChecked() 423 Key<Integer> key = CameraCharacteristics.LENS_INFO_FOCUS_DISTANCE_CALIBRATION; in getFocusDistanceCalibrationChecked() 481 Key<int[]> key = CameraCharacteristics.CONTROL_AE_AVAILABLE_ANTIBANDING_MODES; in getAeAvailableAntiBandingModesChecked() 519 Key<Boolean> key = CameraCharacteristics.FLASH_INFO_AVAILABLE; in getFlashInfoChecked() 531 Key<int[]> key = in getAvailableTestPatternModesChecked() 553 Key<Size[]> key = CameraCharacteristics.JPEG_AVAILABLE_THUMBNAIL_SIZES; in getAvailableThumbnailSizesChecked() 581 Key<float[]> key = CameraCharacteristics.LENS_INFO_AVAILABLE_FOCAL_LENGTHS; in getAvailableFocalLengthsChecked() 602 Key<float[]> key = CameraCharacteristics.LENS_INFO_AVAILABLE_APERTURES; in getAvailableAperturesChecked() 623 Key<int[]> key = CameraCharacteristics.HOT_PIXEL_AVAILABLE_HOT_PIXEL_MODES; in getAvailableHotPixelModesChecked() [all …]
|
/frameworks/base/packages/SystemUI/compose/scene/src/com/android/compose/animation/scene/ |
D | Key.kt | 27 sealed class Key(val debugName: String, val identity: Any) { class 31 return identity == (other as? Key)?.identity in equals() 47 ) : Key(debugName, identity) { 71 ) : Key(debugName, identity), ElementMatcher { 98 class ValueKey(debugName: String, identity: Any = Object()) : Key(debugName, identity) { 108 class TransitionKey(debugName: String, identity: Any = Object()) : Key(debugName, identity) {
|
/frameworks/opt/car/services/updatableServices/tests/src/com/android/server/wm/ |
D | CarDisplayCompatConfigTest.java | 91 CarDisplayCompatConfig.Key key = in populate_readsDisplay() 92 new CarDisplayCompatConfig.Key(DEFAULT_DISPLAY, ANY_PACKAGE, in populate_readsDisplay() 103 CarDisplayCompatConfig.Key key = in populate_readsUserId() 104 new CarDisplayCompatConfig.Key(DEFAULT_DISPLAY, ANY_PACKAGE, 10); in populate_readsUserId() 115 CarDisplayCompatConfig.Key key = in populate_readsPackageName() 116 new CarDisplayCompatConfig.Key(DEFAULT_DISPLAY, "com.test", in populate_readsPackageName() 128 CarDisplayCompatConfig.Key key = in populate_readsAllAttributes() 129 new CarDisplayCompatConfig.Key(DEFAULT_DISPLAY, "com.test", 10); in populate_readsAllAttributes()
|
/frameworks/native/libs/input/tests/ |
D | StructLayout_test.cpp | 37 CHECK_OFFSET(InputMessage::Body::Key, eventId, 0); in TestInputMessageAlignment() 38 CHECK_OFFSET(InputMessage::Body::Key, eventTime, 8); in TestInputMessageAlignment() 39 CHECK_OFFSET(InputMessage::Body::Key, deviceId, 16); in TestInputMessageAlignment() 40 CHECK_OFFSET(InputMessage::Body::Key, source, 20); in TestInputMessageAlignment() 41 CHECK_OFFSET(InputMessage::Body::Key, displayId, 24); in TestInputMessageAlignment() 42 CHECK_OFFSET(InputMessage::Body::Key, hmac, 28); in TestInputMessageAlignment() 43 CHECK_OFFSET(InputMessage::Body::Key, action, 60); in TestInputMessageAlignment() 44 CHECK_OFFSET(InputMessage::Body::Key, flags, 64); in TestInputMessageAlignment() 45 CHECK_OFFSET(InputMessage::Body::Key, keyCode, 68); in TestInputMessageAlignment() 46 CHECK_OFFSET(InputMessage::Body::Key, scanCode, 72); in TestInputMessageAlignment() [all …]
|
/frameworks/ex/camera2/extensions/sample/src/java/androidx/camera/extensions/impl/ |
D | SettableCaptureStage.java | 30 private Map<CaptureRequest.Key, Object> mCaptureRequestKeyValueMap = new HashMap<>(); 58 public List<Pair<CaptureRequest.Key, Object>> getParameters() { in getParameters() 59 List<Pair<CaptureRequest.Key, Object>> parameters = new ArrayList<>(); in getParameters() 61 for (Map.Entry<CaptureRequest.Key, Object> entry : mCaptureRequestKeyValueMap.entrySet()) { in getParameters() 71 <T> void addCaptureRequestParameters(CaptureRequest.Key<T> key, T value) { in addCaptureRequestParameters()
|