Home
last modified time | relevance | path

Searched refs:Visibility (Results 1 – 25 of 249) sorted by relevance

12345678910

/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/dagger/
DControlsComponent.kt91 fun getVisibility(): Visibility { in isEnabled()
92 if (!isEnabled()) return Visibility.UNAVAILABLE in isEnabled()
95 return Visibility.AVAILABLE_AFTER_UNLOCK in isEnabled()
98 return Visibility.AVAILABLE_AFTER_UNLOCK in isEnabled()
101 return Visibility.AVAILABLE in isEnabled()
104 enum class Visibility { class
/frameworks/libs/modules-utils/java/com/android/internal/annotations/
DVisibleForTesting.java36 enum Visibility { enum
49 Visibility visibility() default Visibility.PRIVATE; in visibility()
/frameworks/layoutlib/create/src/com/android/tools/layoutlib/annotations/
DVisibleForTesting.java36 enum Visibility { enum
49 Visibility visibility() default Visibility.PRIVATE; in visibility()
/frameworks/layoutlib/common/src/com/android/tools/layoutlib/annotations/
DVisibleForTesting.java36 enum Visibility { enum
49 Visibility visibility() default Visibility.PRIVATE; in visibility()
/frameworks/base/api/
Dapi.go76 Visibility []string member
83 Visibility []string member
89 Visibility []string member
136 props.Visibility = []string{"//visibility:public"}
147 props.Visibility = []string{"//visibility:private"} // Used by make module in //development, mind
192 props.Visibility = []string{"//frameworks/base"}
201 props.Visibility = []string{"//frameworks/base"}
212 props.Visibility = []string{"//frameworks/base"}
223 props.Visibility = []string{"//frameworks/base"}
231 props.Visibility = []string{"//frameworks/base"}
/frameworks/compile/mclinker/include/mcld/
DIRBuilder.h394 ResolveInfo::Visibility pVis = ResolveInfo::Default);
439 ResolveInfo::Visibility pVisibility = ResolveInfo::Default);
468 ResolveInfo::Visibility pVisibility);
477 ResolveInfo::Visibility pVisibility);
495 ResolveInfo::Visibility pVisibility);
506 ResolveInfo::Visibility pVisibility);
517 ResolveInfo::Visibility pVisibility);
528 ResolveInfo::Visibility pVisibility);
/frameworks/libs/net/common/framework/com/android/net/module/util/
DIpRange.java19 import static com.android.internal.annotations.VisibleForTesting.Visibility;
68 @VisibleForTesting(visibility = Visibility.PRIVATE)
92 @VisibleForTesting(visibility = Visibility.PRIVATE)
97 @VisibleForTesting(visibility = Visibility.PRIVATE)
183 @VisibleForTesting(visibility = Visibility.PRIVATE)
195 @VisibleForTesting(visibility = Visibility.PRIVATE)
/frameworks/base/tools/aapt2/
DResourceTable.h44 struct Visibility { struct
126 Visibility visibility;
174 Visibility::Level visibility_level = Visibility::Level::kUndefined;
209 Visibility visibility;
222 Visibility::Level visibility_level = Visibility::Level::kUndefined;
263 std::optional<Visibility> visibility;
276 NewResourceBuilder& SetVisibility(Visibility id);
DResourceTable_test.cpp175 static StringPiece LevelToString(Visibility::Level level) { in LevelToString()
177 case Visibility::Level::kPrivate: in LevelToString()
179 case Visibility::Level::kPublic: in LevelToString()
188 Visibility::Level level, in VisibilityOfResource()
195 const Visibility& visibility = result.value().entry->visibility; in VisibilityOfResource()
209 using Level = Visibility::Level; in TEST()
214 Visibility visibility; in TEST()
215 visibility.level = Visibility::Level::kPrivate; in TEST()
221 visibility.level = Visibility::Level::kUndefined; in TEST()
227 visibility.level = Visibility::Level::kPublic; in TEST()
[all …]
/frameworks/compile/mclinker/lib/LD/
DResolveInfo.cpp62 Visibility from_vis = pFrom.visibility(); in overrideVisibility()
63 Visibility cur_vis = visibility(); in overrideVisibility()
115 setVisibility(static_cast<ResolveInfo::Visibility>(pOther & 0x3)); in setOther()
118 void ResolveInfo::setVisibility(ResolveInfo::Visibility pVisibility) { in setVisibility()
208 ResolveInfo::Visibility ResolveInfo::visibility() const { in visibility()
209 return static_cast<ResolveInfo::Visibility>((m_BitField & VISIBILITY_MASK) >> in visibility()
/frameworks/base/services/core/java/com/android/server/vcn/
DVcnNetworkProvider.java42 import com.android.internal.annotations.VisibleForTesting.Visibility;
77 @VisibleForTesting(visibility = Visibility.PRIVATE)
133 @VisibleForTesting(visibility = Visibility.PACKAGE)
142 @VisibleForTesting(visibility = Visibility.PACKAGE)
148 @VisibleForTesting(visibility = Visibility.PACKAGE)
216 @VisibleForTesting(visibility = Visibility.PRIVATE)
DVcnGatewayConnection.java87 import com.android.internal.annotations.VisibleForTesting.Visibility;
170 @VisibleForTesting(visibility = Visibility.PRIVATE)
173 @VisibleForTesting(visibility = Visibility.PRIVATE)
176 @VisibleForTesting(visibility = Visibility.PRIVATE)
179 @VisibleForTesting(visibility = Visibility.PRIVATE)
182 @VisibleForTesting(visibility = Visibility.PRIVATE)
185 @VisibleForTesting(visibility = Visibility.PRIVATE)
188 @VisibleForTesting(visibility = Visibility.PRIVATE)
203 @VisibleForTesting(visibility = Visibility.PRIVATE)
206 @VisibleForTesting(visibility = Visibility.PRIVATE)
[all …]
DVcn.java53 import com.android.internal.annotations.VisibleForTesting.Visibility;
205 @VisibleForTesting(visibility = Visibility.PRIVATE)
264 @VisibleForTesting(visibility = Visibility.PRIVATE)
270 @VisibleForTesting(visibility = Visibility.PRIVATE)
276 @VisibleForTesting(visibility = Visibility.PRIVATE)
649 @VisibleForTesting(visibility = Visibility.PRIVATE)
654 @VisibleForTesting(visibility = Visibility.PRIVATE)
671 @VisibleForTesting(visibility = Visibility.PACKAGE)
726 @VisibleForTesting(visibility = Visibility.PRIVATE)
737 @VisibleForTesting(visibility = Visibility.PRIVATE)
[all …]
DTelephonySubscriptionTracker.java49 import com.android.internal.annotations.VisibleForTesting.Visibility;
119 @VisibleForTesting(visibility = Visibility.PRIVATE)
345 @VisibleForTesting(visibility = Visibility.PRIVATE)
351 @VisibleForTesting(visibility = Visibility.PRIVATE)
358 @VisibleForTesting(visibility = Visibility.PRIVATE)
363 @VisibleForTesting(visibility = Visibility.PRIVATE)
382 @VisibleForTesting(visibility = Visibility.PRIVATE)
563 @VisibleForTesting(visibility = Visibility.PRIVATE)
/frameworks/base/services/core/java/com/android/server/vcn/routeselection/
DNetworkPriorityClassifier.java43 import com.android.internal.annotations.VisibleForTesting.Visibility;
60 @VisibleForTesting(visibility = Visibility.PRIVATE)
69 @VisibleForTesting(visibility = Visibility.PRIVATE)
73 @VisibleForTesting(visibility = Visibility.PRIVATE)
114 @VisibleForTesting(visibility = Visibility.PRIVATE)
179 @VisibleForTesting(visibility = Visibility.PRIVATE)
225 @VisibleForTesting(visibility = Visibility.PRIVATE)
/frameworks/base/tools/aapt2/cmd/
DDiff.cpp85 static bool IsSymbolVisibilityDifferent(const Visibility& vis_a, const Visibility& vis_b) { in IsSymbolVisibilityDifferent()
90 static bool IsIdDiff(const Visibility::Level& level_a, const std::optional<Id>& id_a, in IsIdDiff()
91 const Visibility::Level& level_b, const std::optional<Id>& id_b) { in IsIdDiff()
92 if (level_a == Visibility::Level::kPublic || level_b == Visibility::Level::kPublic) { in IsIdDiff()
186 if (entry_b.visibility.level == Visibility::Level::kPublic) { in EmitResourceTypeDiff()
195 if (entry_a.visibility.level == Visibility::Level::kPublic) { in EmitResourceTypeDiff()
261 if (type_b.visibility_level == Visibility::Level::kPublic) { in EmitResourcePackageDiff()
267 if (type_a.visibility_level == Visibility::Level::kPublic) { in EmitResourcePackageDiff()
/frameworks/base/core/java/android/hardware/hdmi/
DHdmiAudioSystemClient.java26 import com.android.internal.annotations.VisibleForTesting.Visibility;
50 @VisibleForTesting(visibility = Visibility.PACKAGE)
55 @VisibleForTesting(visibility = Visibility.PACKAGE)
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/controls/dagger/
DControlsComponentTest.kt112 assertEquals(ControlsComponent.Visibility.UNAVAILABLE, component.getVisibility()) in testFeatureDisabledVisibility()
121 assertEquals(ControlsComponent.Visibility.AVAILABLE_AFTER_UNLOCK, component.getVisibility()) in testFeatureEnabledAfterBootVisibility()
132 assertEquals(ControlsComponent.Visibility.AVAILABLE_AFTER_UNLOCK, component.getVisibility()) in testFeatureEnabledAndCannotShowOnLockScreenVisibility()
143 assertEquals(ControlsComponent.Visibility.AVAILABLE, component.getVisibility()) in testFeatureEnabledAndCanShowOnLockScreenVisibility()
154 assertEquals(ControlsComponent.Visibility.AVAILABLE, component.getVisibility()) in testFeatureEnabledAndCanShowWhileUnlockedVisibility()
/frameworks/base/core/java/com/android/internal/os/
DProcStatsUtil.java32 @VisibleForTesting(visibility = VisibleForTesting.Visibility.PROTECTED)
56 @VisibleForTesting(visibility = VisibleForTesting.Visibility.PROTECTED)
81 @VisibleForTesting(visibility = VisibleForTesting.Visibility.PROTECTED)
/frameworks/base/core/java/android/view/
DSoundEffectConstants.java23 import com.android.internal.annotations.VisibleForTesting.Visibility;
145 @VisibleForTesting(visibility = Visibility.PACKAGE)
158 @VisibleForTesting(visibility = Visibility.PACKAGE)
/frameworks/base/core/java/android/view/textclassifier/
DSelectionEvent.java383 @VisibleForTesting(visibility = VisibleForTesting.Visibility.PACKAGE)
450 @VisibleForTesting(visibility = VisibleForTesting.Visibility.PACKAGE)
469 @VisibleForTesting(visibility = VisibleForTesting.Visibility.PACKAGE)
533 @VisibleForTesting(visibility = VisibleForTesting.Visibility.PACKAGE)
548 @VisibleForTesting(visibility = VisibleForTesting.Visibility.PACKAGE)
563 @VisibleForTesting(visibility = VisibleForTesting.Visibility.PACKAGE)
578 @VisibleForTesting(visibility = VisibleForTesting.Visibility.PACKAGE)
593 @VisibleForTesting(visibility = VisibleForTesting.Visibility.PACKAGE)
608 @VisibleForTesting(visibility = VisibleForTesting.Visibility.PACKAGE)
/frameworks/base/tools/aapt2/link/
DPrivateAttributeMover_test.cpp33 Visibility::Level::kPublic) in TEST()
35 Visibility::Level::kPublic) in TEST()
84 .SetSymbolState("android:attr/pub", ResourceId(0x01010000), Visibility::Level::kPublic) in TEST()
/frameworks/base/core/tests/coretests/src/android/transition/
DAutoTransitionTest.java39 assertEquals(Visibility.MODE_OUT, ((Fade)fadeOut).getMode()); in testFadeOutMoveFadeIn()
48 assertEquals(Visibility.MODE_IN, ((Fade)fadeIn).getMode()); in testFadeOutMoveFadeIn()
/frameworks/base/core/java/android/service/autofill/
DVisibilitySetterAction.java29 import android.view.View.Visibility;
86 public Builder(@IdRes int id, @Visibility int visibility) { in Builder()
100 public Builder setVisibility(@IdRes int id, @Visibility int visibility) { in setVisibility()
/frameworks/base/core/java/android/transition/
DFade.java61 public class Fade extends Visibility {
74 public static final int IN = Visibility.MODE_IN;
82 public static final int OUT = Visibility.MODE_OUT;

12345678910