Home
last modified time | relevance | path

Searched refs:fill (Results 1 – 25 of 186) sorted by relevance

12345678

/frameworks/native/cmds/servicemanager/
DServiceManagerUnittest.cpp25 EXPECT_TRUE(NativeName::fill("mapper/default", &nname)); in TEST()
32 EXPECT_FALSE(NativeName::fill("mapper", &nname)); in TEST()
33 EXPECT_FALSE(NativeName::fill("mapper/", &nname)); in TEST()
34 EXPECT_FALSE(NativeName::fill("/default", &nname)); in TEST()
35 EXPECT_FALSE(NativeName::fill("mapper/default/0", &nname)); in TEST()
36 EXPECT_FALSE(NativeName::fill("aidl.like.IType/default", &nname)); in TEST()
/frameworks/base/packages/SystemUI/src/com/android/systemui/battery/unified/
DBatteryLayersDrawable.kt64 private val fill: BatteryFillDrawable, constant in com.android.systemui.battery.unified.BatteryLayersDrawable
69 ) : LayerDrawable(arrayOf(frameBg, frame, fill, textOnly, spaceSharingText, attribution)) {
102 fill.batteryLevel = new.level in handleUpdateState()
140 fill.fillColor = if (hasFg) colorInfo.fill else colorInfo.fillOnly in updateColorProfile()
143 fill.fillColor = colorInfo.activeFill in updateColorProfile()
146 fill.fillColor = colorInfo.warnFill in updateColorProfile()
149 fill.fillColor = colorInfo.errorFill in updateColorProfile()
158 fill.fillInsetAmount = if (hasFg) 0f else 1.5f in setFillInsets()
214 fill.draw(canvas) in draw()
337 val fill = BatteryFillDrawable(framePath) in newBatteryDrawable() constant
[all …]
DBatteryDrawableState.kt90 val fill: Int constant
112 override val fill = Color.parseColor("#9AA0A6") constant
131 override val fill = Color.parseColor("#5F6368") constant
/frameworks/libs/modules-utils/java/com/android/modules/utils/
DFastDataInput.java108 protected void fill(int need) throws IOException { in fill() method in FastDataInput
142 if (mBufferLim - mBufferPos < len) fill(len); in readFully()
170 if (mBufferLim - mBufferPos < len) fill(len); in readUTF()
227 if (mBufferLim - mBufferPos < 1) fill(1); in peekByte()
233 if (mBufferLim - mBufferPos < 1) fill(1); in readByte()
244 if (mBufferLim - mBufferPos < 2) fill(2); in readShort()
261 if (mBufferLim - mBufferPos < 4) fill(4); in readInt()
270 if (mBufferLim - mBufferPos < 8) fill(8); in readLong()
/frameworks/base/core/java/com/android/internal/util/
DTokenBucket.java86 fill(); in available()
92 fill(); in has()
107 fill(); in get()
120 private void fill() { in fill() method in TokenBucket
/frameworks/native/services/surfaceflinger/tests/unittests/
DRegionSamplingTest.cpp48 std::fill(buffer.begin(), buffer.end(), kWhite); in TEST_F()
54 std::fill(buffer.begin(), buffer.end(), kBlack); in TEST_F()
64 std::fill(buffer.begin(), buffer.begin() + half, 0); in TEST_F()
65 std::fill(buffer.begin() + half, buffer.end(), kWhite); in TEST_F()
/frameworks/base/packages/DynamicSystemInstallationService/src/com/android/dynsystem/
DSparseInputStream.java48 public byte[] fill; field in SparseInputStream.SparseChunk
129 mCur.fill = readFull(mIn, 4); in prepareChunk()
150 Arrays.fill(buf, off, off + n, (byte) 0); in read()
176 ret = Byte.toUnsignedInt(mCur.fill[(4 - ((int) mLeft & 0x3)) & 0x3]); in read()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DDualToneHandler.kt110 getColorForDarkIntensity(intensity, lightColor.fill, darkColor.fill)
112 private data class Color(val single: Int, val background: Int, val fill: Int) constant in com.android.systemui.Color
/frameworks/libs/systemui/iconloaderlib/src/com/android/launcher3/icons/
DColorExtractor.java67 Arrays.fill(hsv, 0); in findDominantColorByHue()
72 Arrays.fill(hueScoreHistogram, 0); in findDominantColorByHue()
77 Arrays.fill(pixels, 0); in findDominantColorByHue()
/frameworks/av/media/libaaudio/src/flowgraph/resampler/
DSincResampler.cpp40 std::fill(mSingleFrame.begin(), mSingleFrame.end(), 0.0); in readFrame()
41 std::fill(mSingleFrame2.begin(), mSingleFrame2.end(), 0.0); in readFrame()
DSincResamplerStereo.cpp51 std::fill(mSingleFrame.begin(), mSingleFrame.end(), 0.0); in readFrame()
52 std::fill(mSingleFrame2.begin(), mSingleFrame2.end(), 0.0); in readFrame()
/frameworks/base/core/java/android/preference/
DMultiCheckPreference.java129 Arrays.fill(mSetValues, false); in setEntryValues()
130 Arrays.fill(mOrigValues, false); in setEntryValues()
179 Arrays.fill(mSetValues, false); in setValues()
180 Arrays.fill(mOrigValues, false); in setValues()
/frameworks/base/libs/hwui/
DProfileData.cpp164 mJankTypeCounts.fill(0); in reset()
165 mFrameCounts.fill(0); in reset()
166 mGPUFrameCounts.fill(0); in reset()
167 mSlowFrameCounts.fill(0); in reset()
/frameworks/base/core/java/com/android/internal/widget/remotecompose/core/operations/utilities/
DStringUtils.java51 Arrays.fill(pad, pre); in floatToString()
89 Arrays.fill(c, post); in floatToString()
DIntMap.java32 Arrays.fill(mKeys, NOT_PRESENT); in IntMap()
40 Arrays.fill(mKeys, NOT_PRESENT); in clear()
/frameworks/base/core/java/android/text/
DSpanSet.java84 Arrays.fill(spans, numberOfSpans, prevNumberOfSpans, null); in init()
119 Arrays.fill(spans, 0, numberOfSpans, null); in recycle()
/frameworks/base/core/java/com/android/internal/os/
DKernelCpuSpeedReader.java89 Arrays.fill(mDeltaSpeedTimesMs, 0); in readDelta()
116 Arrays.fill(speedTimeMs, 0); in readAbsolute()
/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/storage/
DRecoverySessionStorage.java190 Arrays.fill(mLskfHash, (byte) 0); in destroy()
191 Arrays.fill(mKeyClaimant, (byte) 0); in destroy()
/frameworks/av/media/libaaudio/tests/
Dtest_flowgraph.cpp100 output.fill(777); in TEST()
110 output.fill(777); in TEST()
127 output.fill(777); in TEST()
170 output.fill(777); in TEST()
185 output.fill(777); in TEST()
201 output.fill(777); in TEST()
431 output.fill(777); in TEST()
467 output.fill(777); in TEST()
483 output.fill(777); in TEST()
/frameworks/native/libs/input/
DTfLiteMotionPredictor.cpp180 std::fill(mInputR.begin(), mInputR.end(), 0); in reset()
181 std::fill(mInputPhi.begin(), mInputPhi.end(), 0); in reset()
182 std::fill(mInputPressure.begin(), mInputPressure.end(), 0); in reset()
183 std::fill(mInputTilt.begin(), mInputTilt.end(), 0); in reset()
184 std::fill(mInputOrientation.begin(), mInputOrientation.end(), 0); in reset()
/frameworks/base/telephony/java/android/telephony/
DTelephonyHistogram.java206 Arrays.fill(mInitialTimings, 0); in addTimeTaken()
208 Arrays.fill(mBucketEndPoints, 0); in addTimeTaken()
209 Arrays.fill(mBucketCounters, 0); in addTimeTaken()
/frameworks/opt/net/ims/src/java/com/android/ims/
DImsConnectionStateListener.java76 Arrays.fill(enabledCapabilities, ImsConfig.FeatureConstants.FEATURE_TYPE_UNKNOWN); in onFeatureCapabilityChangedAdapter()
79 Arrays.fill(disabledCapabilities, ImsConfig.FeatureConstants.FEATURE_TYPE_UNKNOWN); in onFeatureCapabilityChangedAdapter()
/frameworks/layoutlib/bridge/src/com/android/internal/util/
DArrayUtils_Delegate.java25 Arrays.fill(ArrayUtils.sCache, null); in clearCache()
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/volume/panel/ui/composable/
DVolumePanelRoot.kt84 modifier = Modifier.weight(weight = 1f, fill = false), in Components()
89 modifier = Modifier.weight(weight = 1f, fill = false).heightIn(max = 212.dp), in Components()
/frameworks/base/services/core/java/com/android/server/power/stats/
DBluetoothPowerCalculator.java172 Arrays.fill(powerAndDuration.powerPerKeyMah, 0); in calculatePowerAndDuration()
211 Arrays.fill(powerAndDuration.powerPerKeyMah, 0); in calculatePowerAndDuration()
239 Arrays.fill(powerAndDuration.powerPerKeyMah, 0); in calculatePowerAndDuration()

12345678