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()
DTestableDependency.java29 mComponents = ((SysuiTestableContext) context).getComponents(); in TestableDependency()
DScreenDecorationsTest.java135 mScreenDecorations.mComponents = mContext.getComponents(); in setup()
/frameworks/base/tools/powermodel/src/com/android/powermodel/
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()
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()
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.java61 private final Map<Class<?>, Object> mComponents = new HashMap<>(); field in SystemUIApplication
189 mServices[i].mComponents = mComponents; in startServicesIfNeeded()
281 return (T) mComponents.get(interfaceType); in getComponent()
DDependency.java580 d.mComponents = new HashMap<>(); in initDependencies()
/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/av/media/codec2/vndk/
DC2Store.cpp318 mComponents[poolId] = component; in _createBlockPool()
330 mComponents[poolId] = component; in _createBlockPool()
342 mComponents[poolId] = component; in _createBlockPool()
353 mComponents[poolId] = component; in _createBlockPool()
378 mComponents.erase(blockPoolId); in getBlockPool()
380 auto found = mComponents.find(blockPoolId); in getBlockPool()
394 std::map<C2BlockPool::local_id_t, std::weak_ptr<const C2Component>> mComponents; member in android::__anonb7cc83c10411::_C2BlockPoolCache
651 std::map<C2String, ComponentLoader> mComponents; ///< path -> component module member in android::C2PlatformComponentStore
841 mComponents.emplace(libPath, libPath); in C2PlatformComponentStore()
902 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.java138 boolean mComponents; field in PackageManagerShellCommand
877 mComponents = false; in parseIntentAndUser()
888 mComponents = true; in parseIntentAndUser()
945 printResolveInfo(pr, "", ri, mBrief, mComponents); in runResolveActivity()
967 if (!mComponents) { in runQueryIntentActivities()
972 printResolveInfo(pr, " ", result.get(i), mBrief, mComponents); in runQueryIntentActivities()
977 printResolveInfo(pr, "", result.get(i), mBrief, mComponents); in runQueryIntentActivities()
1001 if (!mComponents) { in runQueryIntentServices()
1006 printResolveInfo(pr, " ", result.get(i), mBrief, mComponents); in runQueryIntentServices()
1011 printResolveInfo(pr, "", result.get(i), mBrief, mComponents); in runQueryIntentServices()
[all …]
/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.java268 mStatusBar.mComponents = mContext.getComponents(); in setup()
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt20508 Landroid/graphics/Color;->mComponents:[F