Home
last modified time | relevance | path

Searched refs:mComponents (Results 1 – 18 of 18) sorted by relevance

/frameworks/base/graphics/java/android/graphics/
DColor.java309 private final float[] mComponents; field in Color
327 mComponents = new float[] { 0.0f, 0.0f, 0.0f, 1.0f }; in Color()
355 mComponents = new float[] { r, g, b, a }; in Color()
366 mComponents = components; in Color()
438 return pack(mComponents[0], mComponents[1], mComponents[2], mComponents[3], mColorSpace); in pack()
454 mComponents[0], mComponents[1], mComponents[2], mComponents[3] in convert()
470 return ((int) (mComponents[3] * 255.0f + 0.5f) << 24) | in toArgb()
471 ((int) (mComponents[0] * 255.0f + 0.5f) << 16) | in toArgb()
472 ((int) (mComponents[1] * 255.0f + 0.5f) << 8) | in toArgb()
473 (int) (mComponents[2] * 255.0f + 0.5f); in toArgb()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/
DSysuiTestableContext.java25 private ArrayMap<Class<?>, Object> mComponents; field in SysuiTestableContext
38 if (mComponents == null) mComponents = new ArrayMap<>(); in getComponents()
39 return mComponents; in getComponents()
44 return (T) (mComponents != null ? mComponents.get(interfaceType) : null); in getComponent()
48 if (mComponents == null) mComponents = new ArrayMap<>(); in putComponent()
49 mComponents.put(interfaceType, component); in putComponent()
DScreenDecorationsTest.java138 mScreenDecorations.mComponents = mContext.getComponents(); in setup()
/frameworks/base/tools/powermodel/src/com/android/powermodel/
DAppPower.java25 private ImmutableMap<Component, ComponentPower> mComponents; field in AppPower
44 return mComponents.get(component); in getComponentPower()
48 return mComponents.keySet(); in getComponents()
62 private HashMap<Component, ComponentPower> mComponents = new HashMap(); field in AppPower.Builder
70 result.mComponents = ImmutableMap.copyOf(mComponents); in build()
74 for (final ComponentPower componentPower: mComponents.values()) { in build()
83 mComponents.put(component, componentPower); in addComponentPower()
DAppActivity.java27 private ImmutableMap<Component, ComponentActivity> mComponents; field in AppActivity
42 return mComponents.get(component); in getComponentActivity()
46 return mComponents.keySet(); in getComponents()
50 return mComponents; in getComponentActivities()
63 private HashMap<Component, ComponentActivity> mComponents = new HashMap(); field in AppActivity.Builder
72 result.mComponents = ImmutableMap.copyOf(mComponents); in build()
77 mComponents.put(component, activity); in addComponentActivity()
DPowerProfile.java69 private HashMap<Component, ComponentProfile> mComponents = new HashMap(); field in PowerProfile
146 mResult.mComponents.put(Component.AUDIO, mAudio); in parse()
147 mResult.mComponents.put(Component.BLUETOOTH, mBluetooth); in parse()
148 mResult.mComponents.put(Component.CAMERA, mCamera); in parse()
149 mResult.mComponents.put(Component.CPU, mCpuBuilder.build()); in parse()
150 mResult.mComponents.put(Component.FLASHLIGHT, mFlashlight); in parse()
151 mResult.mComponents.put(Component.GPS, mGpsBuilder.build()); in parse()
152 mResult.mComponents.put(Component.MODEM, mModemBuilder.build()); in parse()
153 mResult.mComponents.put(Component.SCREEN, mScreen); in parse()
154 mResult.mComponents.put(Component.VIDEO, mVideo); in parse()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DSystemUI.java31 public Map<Class<?>, Object> mComponents; field in SystemUI
46 return (T) (mComponents != null ? mComponents.get(interfaceType) : null); in getComponent()
50 if (mComponents != null) { in putComponent()
51 mComponents.put(interfaceType, component); in putComponent()
DSystemBars.java67 mStatusBar.mComponents = mComponents; in createStatusBarFromConfig()
DSystemUIApplication.java62 private final Map<Class<?>, Object> mComponents = new HashMap<>(); field in SystemUIApplication
207 mServices[i].mComponents = mComponents; in startServicesIfNeeded()
305 return (T) mComponents.get(interfaceType); in getComponent()
/frameworks/base/core/tests/coretests/src/android/view/textclassifier/
DFakeContextBuilder.java56 private final Map<String, ComponentName> mComponents = new HashMap<>(); field in FakeContextBuilder
79 mComponents.put(intentAction, component); in setIntentComponent()
109 final ComponentName component = mComponents.containsKey(action) in build()
110 ? mComponents.get(action) in build()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/nitz/
DNitzSignalInputFilterPredicateFactory.java251 private final TrivalentPredicate[] mComponents;
255 this.mComponents = Arrays.copyOf(components, components.length);
263 for (TrivalentPredicate component : mComponents) {
/frameworks/av/media/codec2/vndk/
DC2Store.cpp322 mComponents[poolId] = component; in _createBlockPool()
334 mComponents[poolId] = component; in _createBlockPool()
346 mComponents[poolId] = component; in _createBlockPool()
357 mComponents[poolId] = component; in _createBlockPool()
382 mComponents.erase(blockPoolId); in getBlockPool()
384 auto found = mComponents.find(blockPoolId); in getBlockPool()
398 std::map<C2BlockPool::local_id_t, std::weak_ptr<const C2Component>> mComponents; member in android::__anon6e47c8180411::_C2BlockPoolCache
679 std::map<C2String, ComponentLoader> mComponents; ///< path -> component module member in android::C2PlatformComponentStore
869 mComponents.emplace(libPath, libPath); in C2PlatformComponentStore()
931 for (auto &pathAndLoader : mComponents) { in visitComponents()
[all …]
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
DImageShader.java84 private int mComponents; field in ImageShader.VertexAttribute
100 mComponents = components; in set()
116 mComponents = components; in set()
124 switch (mComponents) { in push()
148 mComponents, in push()
156 mComponents, in push()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageManagerShellCommand.java141 boolean mComponents; field in PackageManagerShellCommand
957 mComponents = false; in parseIntentAndUser()
968 mComponents = true; in parseIntentAndUser()
1025 printResolveInfo(pr, "", ri, mBrief, mComponents); in runResolveActivity()
1047 if (!mComponents) { in runQueryIntentActivities()
1052 printResolveInfo(pr, " ", result.get(i), mBrief, mComponents); in runQueryIntentActivities()
1057 printResolveInfo(pr, "", result.get(i), mBrief, mComponents); in runQueryIntentActivities()
1081 if (!mComponents) { in runQueryIntentServices()
1086 printResolveInfo(pr, " ", result.get(i), mBrief, mComponents); in runQueryIntentServices()
1091 printResolveInfo(pr, "", result.get(i), mBrief, mComponents); in runQueryIntentServices()
[all …]
/frameworks/base/packages/CarSystemUI/src/com/android/systemui/statusbar/car/
DCarStatusBar.java250 mVolumeUI.mComponents = mComponents;
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/power/
DPowerUITest.java672 mPowerUI.mComponents = mContext.getComponents(); in createPowerUi()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DStatusBarTest.java272 mStatusBar.mComponents = mContext.getComponents(); in setup()
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt19187 Landroid/graphics/Color;->mComponents:[F