Home
last modified time | relevance | path

Searched refs:getLevel (Results 1 – 25 of 36) sorted by relevance

12

/frameworks/base/graphics/java/android/graphics/drawable/
DClipDrawable.java160 if (opacity == PixelFormat.TRANSPARENT || dr.getLevel() == 0) { in getOpacity()
164 final int level = getLevel(); in getOpacity()
176 if (dr.getLevel() == 0) { in draw()
182 final int level = getLevel(); in draw()
DScaleDrawable.java192 if (d != null && d.getLevel() != 0) { in draw()
200 if (d.getLevel() == 0) { in getOpacity()
205 if (opacity == PixelFormat.OPAQUE && d.getLevel() < MAX_LEVEL) { in getOpacity()
225 final int level = getLevel(); in onBoundsChange()
DLevelListDrawable.java72 onLevelChange(getLevel()); in addLevel()
150 onLevelChange(getLevel()); in inflateChildElements()
249 onLevelChange(getLevel()); in LevelListDrawable()
DGradientDrawable.java831 float sweep = st.mUseLevelForShape ? (360.0f * getLevel() / 10000.0f) : 360f;
1104 final float level = st.mUseLevel ? getLevel() / 10000.0f : 1.0f;
1158 radius *= getLevel() / 10000.0f;
1193 final float level = getLevel() / 10000.0f;
DDrawableWrapper.java98 dr.setLevel(getLevel()); in setDrawable()
/frameworks/base/telephony/java/android/telephony/
DCellSignalStrength.java58 public abstract int getLevel(); in getLevel() method in CellSignalStrength
DCellSignalStrengthWcdma.java107 public int getLevel() { in getLevel() method in CellSignalStrengthWcdma
DCellSignalStrengthGsm.java126 public int getLevel() { in getLevel() method in CellSignalStrengthGsm
DCellSignalStrengthLte.java140 public int getLevel() { in getLevel() method in CellSignalStrengthLte
DCellSignalStrengthCdma.java119 public int getLevel() { in getLevel() method in CellSignalStrengthCdma
/frameworks/support/wear/src/android/support/wear/widget/
DProgressDrawable.java48 return drawable.getLevel();
132 int level = getLevel(); in draw()
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/drawable/
DGradientDrawable_Delegate.java42 int level = thisDrawable.getLevel(); in buildRing()
/frameworks/opt/setupwizard/library/test/instrumentation/src/com/android/setupwizardlib/test/
DItemTest.java88 assertEquals("Recycled icon level should not change", 1, recycledIcon.getLevel()); in testOnBindView()
89 assertEquals("Icon should be level 4", 4, icon.getLevel()); in testOnBindView()
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/wifi/
DAccessPointTest.java400 assertThat(testAp.getLevel()).isEqualTo(i);
405 assertThat(testAp.getLevel()).isEqualTo(AccessPoint.SIGNAL_LEVELS - 1);
409 assertThat(testAp.getLevel()).isEqualTo(0);
419 assertThat(testAp.getLevel()).isEqualTo(level);
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/
DAccessPoint.java339 builder.append(",level=").append(getLevel()); in toString()
457 public int getLevel() { in getLevel() method in AccessPoint
865 return getLevel() != -1 && getDetailedState() == null; in isConnectable()
978 int oldLevel = getLevel(); in update()
984 int newLevel = getLevel(); in update()
1006 final int oldLevel = getLevel(); in update()
1026 if (oldLevel != getLevel() /* current level */) { in update()
DAccessPointPreference.java221 int level = mAccessPoint.getLevel(); in refresh()
/frameworks/base/core/java/com/android/internal/logging/
DAndroidHandler.java126 int level = getAndroidLevel(record.getLevel()); in publish()
/frameworks/base/core/java/com/android/internal/app/
DLocaleStore.java319 private static int getLevel(Set<String> ignorables, LocaleInfo li, boolean translatedOnly) { in getLevel() method in LocaleStore
341 int level = getLevel(ignorables, li, translatedOnly); in getLevelLocales()
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/items/
DItem.java159 iconView.setImageLevel(icon.getLevel()); in onBindView()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DAccessPointControllerImpl.java106 int level = ap.getLevel(); in getIcon()
DMobileSignalController.java441 mCurrentState.level = mSignalStrength.getLevel(); in updateTelephony()
503 ((signalStrength == null) ? "" : (" level=" + signalStrength.getLevel()))); in onSignalStrengthsChanged()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DSignalDrawable.java171 int level = getLevel(state); in onLevelChange()
362 public static int getLevel(int fullState) { in getLevel() method in SignalDrawable
/frameworks/support/compat/ics/android/support/v4/graphics/drawable/
DDrawableWrapperApi14.java336 setLevel(dr.getLevel()); in setWrappedDrawable()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DNetworkControllerBaseTest.java254 when(mSignalStrength.getLevel()).thenReturn(level); in setLevel()
/frameworks/support/v17/leanback/src/android/support/v17/leanback/graphics/
DCompositeDrawable.java269 clone.setLevel(dr.getLevel()); in ChildDrawable()

12