Home
last modified time | relevance | path

Searched refs:View (Results 1 – 25 of 821) sorted by relevance

12345678910>>...33

/external/opencensus-java/contrib/grpc_metrics/src/main/java/io/opencensus/contrib/grpc/metrics/
DRpcViewConstants.java67 import io.opencensus.stats.View;
148 static final View.AggregationWindow CUMULATIVE = View.AggregationWindow.Cumulative.create();
151 static final View.AggregationWindow INTERVAL_MINUTE =
152 View.AggregationWindow.Interval.create(MINUTE);
155 static final View.AggregationWindow INTERVAL_HOUR = View.AggregationWindow.Interval.create(HOUR);
166 public static final View RPC_CLIENT_ERROR_COUNT_VIEW =
167 View.create(
168 View.Name.create("grpc.io/client/error_count/cumulative"),
182 public static final View RPC_CLIENT_ROUNDTRIP_LATENCY_VIEW =
183 View.create(
[all …]
/external/opencensus-java/contrib/http_util/src/main/java/io/opencensus/contrib/http/util/
DHttpViewConstants.java37 import io.opencensus.stats.View;
92 public static final View HTTP_CLIENT_COMPLETED_COUNT_VIEW =
93 View.create(
94 View.Name.create("opencensus.io/http/client/completed_count"),
105 public static final View HTTP_CLIENT_SENT_BYTES_VIEW =
106 View.create(
107 View.Name.create("opencensus.io/http/client/sent_bytes"),
118 public static final View HTTP_CLIENT_RECEIVED_BYTES_VIEW =
119 View.create(
120 View.Name.create("opencensus.io/http/client/received_bytes"),
[all …]
/external/androidplot/Examples/DemoApp/src/com/androidplot/demos/
DMainActivity.java22 import android.view.View;
35 startSimplePieExButton.setOnClickListener(new View.OnClickListener() { in onCreate()
37 public void onClick(View view) { in onCreate()
43 startDynamicXYExButton.setOnClickListener(new View.OnClickListener() { in onCreate()
45 public void onClick(View view) { in onCreate()
51 startSimpleXYExButton.setOnClickListener(new View.OnClickListener() { in onCreate()
53 public void onClick(View view) { in onCreate()
59 startBarPlotExButton.setOnClickListener(new View.OnClickListener() { in onCreate()
61 public void onClick(View view) { in onCreate()
67 startOrSensorExButton.setOnClickListener(new View.OnClickListener() { in onCreate()
[all …]
/external/llvm-project/clang-tools-extra/test/clang-tidy/checkers/
Dperformance-for-range-copy.cpp30 struct View { struct
31 View() = default;
57 for (const S &S1 : View<Iterator<S>>()) { in negativeConstReference() argument
75 for (const S S1 : View<Iterator<S>>()) {} in uninstantiated()
80 for (const T t1 : View<Iterator<T>>()) { in uninstantiated()
86 for (const S S2 : View<Iterator<S>>()) {} in instantiated()
90 for (const T T2 : View<Iterator<T>>()) {} in instantiated()
105 instantiatedNegativeTypedefConstReference<View<Iterator<S>>>(); in f()
150 for (auto M : View<Iterator<Mutable>>()) { in negativeVariableIsMutated()
153 for (auto M : View<Iterator<Mutable>>()) { in negativeVariableIsMutated()
[all …]
Dperformance-for-range-copy-allowed-types.cpp16 struct View { struct
67 for (auto P : View<Iterator<SmartPointer>>()) { in negativeSmartPointer()
73 for (auto p : View<Iterator<smart_pointer>>()) { in negative_smart_pointer()
79 for (auto P : View<Iterator<SmartPtr>>()) { in negativeSmartPtr()
85 for (auto p : View<Iterator<smart_ptr>>()) { in negative_smart_ptr()
91 for (auto R : View<Iterator<SmartReference>>()) { in negativeSmartReference()
97 for (auto r : View<Iterator<smart_reference>>()) { in negative_smart_reference()
103 for (auto R : View<Iterator<SmartRef>>()) { in negativeSmartRef()
109 for (auto r : View<Iterator<smart_ref>>()) { in negative_smart_ref()
115 for (auto O : View<Iterator<OtherType>>()) { in positiveOtherType()
[all …]
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DAdapterViewBehavior.java7 import android.view.View;
35 public void onItemSelected(AdapterView<?> parent, View view, int position, long id) { in shouldIgnoreSetSelectionCallsWithInvalidPosition()
66 View emptyView = new View(adapterView.getContext()); in testSetEmptyView_ShouldHideAdapterViewIfAdapterIsNull()
69 assertThat(adapterView.getVisibility()).isEqualTo(View.GONE); in testSetEmptyView_ShouldHideAdapterViewIfAdapterIsNull()
70 assertThat(emptyView.getVisibility()).isEqualTo(View.VISIBLE); in testSetEmptyView_ShouldHideAdapterViewIfAdapterIsNull()
76 View emptyView = new View(adapterView.getContext()); in testSetEmptyView_ShouldHideAdapterViewIfAdapterViewIsEmpty()
79 assertThat(adapterView.getVisibility()).isEqualTo(View.GONE); in testSetEmptyView_ShouldHideAdapterViewIfAdapterViewIsEmpty()
80 assertThat(emptyView.getVisibility()).isEqualTo(View.VISIBLE); in testSetEmptyView_ShouldHideAdapterViewIfAdapterViewIsEmpty()
86 View emptyView = new View(adapterView.getContext()); in testSetEmptyView_ShouldHideEmptyViewIfAdapterViewIsNotEmpty()
89 assertThat(adapterView.getVisibility()).isEqualTo(View.VISIBLE); in testSetEmptyView_ShouldHideEmptyViewIfAdapterViewIsNotEmpty()
[all …]
DShadowViewGroupTest.java14 import android.view.View;
36 private View child1;
37 private View child2;
39 private View child3a;
40 private View child3b;
49 child1 = new View(context); in setUp()
50 child2 = new View(context); in setUp()
52 child3a = new View(context); in setUp()
53 child3b = new View(context); in setUp()
112 assertThat(root.getChildAt(1)).isSameInstanceAs((View) child3); in testRemoveChildAt()
[all …]
DShadowListViewTest.java12 import android.view.View;
49 View view0 = new View(context); in addHeaderView_ShouldRecordHeaders()
51 View view1 = new View(context); in addHeaderView_ShouldRecordHeaders()
53 View view2 = new View(context); in addHeaderView_ShouldRecordHeaders()
55 View view3 = new View(context); in addHeaderView_ShouldRecordHeaders()
68 assertThat((View) listView.findViewById(0)).isNotNull(); in addHeaderView_ShouldRecordHeaders()
69 assertThat((View) listView.findViewById(1)).isNotNull(); in addHeaderView_ShouldRecordHeaders()
70 assertThat((View) listView.findViewById(2)).isNotNull(); in addHeaderView_ShouldRecordHeaders()
71 assertThat((View) listView.findViewById(3)).isNotNull(); in addHeaderView_ShouldRecordHeaders()
76 View view = new View(context); in addHeaderView_shouldAttachTheViewToTheList()
[all …]
DShadowViewAnimatorTest.java7 import android.view.View;
33 viewAnimator.addView(new View(application)); in getDisplayedChild_shouldDefaultToZero()
39 viewAnimator.addView(new View(application)); in setDisplayedChild_shouldUpdateDisplayedChildIndex()
40 viewAnimator.addView(new View(application)); in setDisplayedChild_shouldUpdateDisplayedChildIndex()
47 View view0 = new View(application); in getCurrentView_shouldWork()
48 View view1 = new View(application); in getCurrentView_shouldWork()
58 viewAnimator.addView(new View(application)); in showNext_shouldDisplayNextChild()
59 viewAnimator.addView(new View(application)); in showNext_shouldDisplayNextChild()
69 viewAnimator.addView(new View(application)); in showPrevious_shouldDisplayPreviousChild()
70 viewAnimator.addView(new View(application)); in showPrevious_shouldDisplayPreviousChild()
/external/opencensus-java/api/src/test/java/io/opencensus/stats/
DNoopViewManagerTest.java25 import io.opencensus.stats.View.AggregationWindow.Cumulative;
26 import io.opencensus.stats.View.AggregationWindow.Interval;
27 import io.opencensus.stats.View.Name;
56 final View view1 = in noopViewManager_RegisterView_DisallowRegisteringDifferentViewWithSameName()
57 View.create( in noopViewManager_RegisterView_DisallowRegisteringDifferentViewWithSameName()
59 final View view2 = in noopViewManager_RegisterView_DisallowRegisteringDifferentViewWithSameName()
60 View.create( in noopViewManager_RegisterView_DisallowRegisteringDifferentViewWithSameName()
76 View view = in noopViewManager_RegisterView_AllowRegisteringSameViewTwice()
77 View.create( in noopViewManager_RegisterView_AllowRegisteringSameViewTwice()
99 View view = in noopViewManager_GetView_Cumulative()
[all …]
DViewTest.java24 import io.opencensus.stats.View.AggregationWindow.Cumulative;
25 import io.opencensus.stats.View.AggregationWindow.Interval;
44 assertThat(View.NAME_MAX_LENGTH).isEqualTo(255); in testConstants()
49 final View view = in sortTagKeys()
50 View.create( in sortTagKeys()
65 final View view = View.create(NAME, DESCRIPTION, MEASURE, MEAN, KEYS); in testDistributionView()
76 final View view = View.create(NAME, DESCRIPTION, MEASURE, MEAN, KEYS, Interval.create(MINUTE)); in testIntervalView()
89 View.create(NAME, DESCRIPTION, MEASURE, MEAN, KEYS), in testViewEquals()
90 View.create(NAME, DESCRIPTION, MEASURE, MEAN, KEYS, Cumulative.create())) in testViewEquals()
92 View.create(NAME, DESCRIPTION + 2, MEASURE, MEAN, KEYS, Cumulative.create())) in testViewEquals()
[all …]
/external/replicaisland/src/com/replica/replicaisland/
DDifficultyMenuActivity.java11 import android.view.View;
16 private View mBabyButton;
17 private View mKidsButton;
18 private View mAdultsButton;
19 private View mBackground;
20 private View mBabyText;
21 private View mKidsText;
22 private View mAdultsText;
27 private View.OnClickListener sBabyButtonListener = new View.OnClickListener() {
28 public void onClick(View v) {
[all …]
DExtrasMenuActivity.java15 import android.view.View;
20 private View mLinearModeButton;
21 private View mLevelSelectButton;
22 private View mControlsButton;
23 private View mBackground;
24 private View mLevelSelectLocked;
25 private View mLinearModeLocked;
41 private View.OnClickListener sLinearModeButtonListener = new View.OnClickListener() {
42 public void onClick(View v) {
55 private View.OnClickListener sLevelSelectButtonListener = new View.OnClickListener() {
[all …]
/external/opencensus-java/api/src/main/java/io/opencensus/stats/
DNoopStats.java151 private final Map<View.Name, View> registeredViews = new HashMap<View.Name, View>();
155 @javax.annotation.Nullable private volatile Set<View> exportedViews;
158 public void registerView(View newView) { in registerView()
162 View existing = registeredViews.get(newView.getName()); in registerView()
175 public ViewData getView(View.Name name) { in getView()
178 View view = registeredViews.get(name); in getView()
198 public Set<View> getAllExportedViews() { in getAllExportedViews()
199 Set<View> views = exportedViews; in getAllExportedViews()
210 private static Set<View> filterExportedViews(Collection<View> allViews) { in filterExportedViews()
211 Set<View> views = new HashSet<View>(); in filterExportedViews()
[all …]
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowView.java26 import android.view.View;
42 @Implements(View.class)
47 protected View realView;
49 private View.OnClickListener onClickListener;
50 private View.OnLongClickListener onLongClickListener;
51 private View.OnFocusChangeListener onFocusChangeListener;
52 private View.OnSystemUiVisibilityChangeListener onSystemUiVisibilityChangeListener;
54 private View.OnTouchListener onTouchListener;
63 private View.OnCreateContextMenuListener onCreateContextMenuListener;
75 public static boolean clickOn(View view) { in clickOn()
[all …]
/external/webrtc/examples/androidapp/src/org/appspot/apprtc/
DCallFragment.java17 import android.view.View;
51 public View onCreateView( in onCreateView()
53 View controlView = inflater.inflate(R.layout.fragment_call, container, false); in onCreateView()
65 disconnectButton.setOnClickListener(new View.OnClickListener() { in onCreateView()
67 public void onClick(View view) { in onCreateView()
72 cameraSwitchButton.setOnClickListener(new View.OnClickListener() { in onCreateView()
74 public void onClick(View view) { in onCreateView()
79 videoScalingButton.setOnClickListener(new View.OnClickListener() { in onCreateView()
81 public void onClick(View view) { in onCreateView()
94 toggleMuteButton.setOnClickListener(new View.OnClickListener() { in onCreateView()
[all …]
/external/opencensus-java/impl_core/src/main/java/io/opencensus/implcore/stats/
DMeasureToViewMap.java29 import io.opencensus.stats.View;
60 private final Map<View.Name, View> registeredViews = new HashMap<View.Name, View>();
68 @javax.annotation.Nullable private volatile Set<View> exportedViews;
72 synchronized ViewData getView(View.Name viewName, Clock clock, State state) { in getView()
77 Set<View> getExportedViews() { in getExportedViews()
78 Set<View> views = exportedViews; in getExportedViews()
88 private static Set<View> filterExportedViews(Collection<View> allViews) { in filterExportedViews()
89 Set<View> views = Sets.newHashSet(); in filterExportedViews()
90 for (View view : allViews) { in filterExportedViews()
91 if (view.getWindow() instanceof View.AggregationWindow.Cumulative) { in filterExportedViews()
[all …]
/external/llvm/tools/llvm-cov/
DSourceCoverageView.h29 std::unique_ptr<SourceCoverageView> View; member
32 std::unique_ptr<SourceCoverageView> View) in ExpansionView()
33 : Region(Region), View(std::move(View)) {} in ExpansionView()
35 : Region(std::move(RHS.Region)), View(std::move(RHS.View)) {} in ExpansionView()
38 View = std::move(RHS.View);
55 std::unique_ptr<SourceCoverageView> View; member
58 std::unique_ptr<SourceCoverageView> View) in InstantiationView()
59 : FunctionName(FunctionName), Line(Line), View(std::move(View)) {} in InstantiationView()
62 View(std::move(RHS.View)) {} in InstantiationView()
66 View = std::move(RHS.View);
[all …]
/external/apache-commons-bcel/docs/
Dclassfile.mdl7 (object Design "Logical View"
33 root_usecase_package (object Class_Category "Use Case View"
48 root_category (object Class_Category "Logical View"
52 subsystem "Component View"
60 supplier "Logical View::AccessFlags"
80 supplier "Logical View::FieldOrMethod"
87 supplier "Logical View::FieldOrMethod"
97 supplier "Logical View::Attribute"
121 supplier "Logical View::Attribute"
129 supplier "Logical View::Attribute"
[all …]
/external/skqp/platform_tools/android/apps/skar_java/src/main/java/com/google/skar/examples/helloskar/helpers/
DFullScreenHelper.java20 import android.view.View;
42 View.SYSTEM_UI_FLAG_LAYOUT_STABLE in setFullScreenOnWindowFocusChanged()
43 | View.SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION in setFullScreenOnWindowFocusChanged()
44 | View.SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN in setFullScreenOnWindowFocusChanged()
45 | View.SYSTEM_UI_FLAG_HIDE_NAVIGATION in setFullScreenOnWindowFocusChanged()
46 | View.SYSTEM_UI_FLAG_FULLSCREEN in setFullScreenOnWindowFocusChanged()
47 | View.SYSTEM_UI_FLAG_IMMERSIVE_STICKY); in setFullScreenOnWindowFocusChanged()
/external/setupcompat/main/java/com/google/android/setupcompat/util/
DSystemBarHelper.java27 import android.view.View;
53 View.SYSTEM_UI_FLAG_HIDE_NAVIGATION
54 | View.SYSTEM_UI_FLAG_IMMERSIVE_STICKY
55 | View.SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN
56 | View.SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION;
60 View.SYSTEM_UI_FLAG_HIDE_NAVIGATION | View.SYSTEM_UI_FLAG_IMMERSIVE_STICKY;
69 public static void addVisibilityFlag(final View view, final int flag) { in addVisibilityFlag()
85 public static void removeVisibilityFlag(final View view, final int flag) { in removeVisibilityFlag()
110 public void onDecorViewInstalled(View decorView) { in addImmersiveFlagsToDecorView()
121 public void onDecorViewInstalled(View decorView) { in removeImmersiveFlagsFromDecorView()
[all …]
/external/subsampling-scale-image-view/sample/src/main/java/com/davemorrissey/labs/subscaleview/test/imagedisplay/
DImageDisplayRotateFragment.java7 import android.view.View;
18 …public View onCreateView(@NonNull LayoutInflater inflater, ViewGroup container, Bundle savedInstan… in onCreateView()
19 View rootView = inflater.inflate(layout.imagedisplay_rotate_fragment, container, false); in onCreateView()
25 rootView.findViewById(id.previous).setOnClickListener(new View.OnClickListener() { in onCreateView()
26 @Override public void onClick(View v) { activity.previous(); } in onCreateView()
28 rootView.findViewById(id.next).setOnClickListener(new View.OnClickListener() { in onCreateView()
29 @Override public void onClick(View v) { activity.next(); } in onCreateView()
32 rootView.findViewById(id.rotate).setOnClickListener(new View.OnClickListener() { in onCreateView()
33 …@Override public void onClick(View v) { imageView.setOrientation((imageView.getOrientation() + 90)… in onCreateView()
/external/lottie/LottieSample/src/androidTest/java/com/airbnb/lottie/samples/
DisAnimating.kt4 import android.view.View
10 fun isAnimating(): Matcher<View> = IsAnimating() in isAnimating()
12 class IsAnimating : TypeSafeMatcher<View>() { in isAnimating()
17 override fun matchesSafely(item: View) = (item as? LottieAnimationView)?.isAnimating == true in isAnimating()
20 fun isNotAnimating(): Matcher<View> = IsNotAnimating() in isNotAnimating()
22 class IsNotAnimating : TypeSafeMatcher<View>() { in isNotAnimating()
27 override fun matchesSafely(item: View) = (item as? LottieAnimationView)?.isAnimating == false in isNotAnimating()
/external/oboe/apps/OboeTester/app/src/main/java/com/google/sample/oboe/manualtest/
DStreamConfigurationView.java23 import android.view.View;
82 private View.OnClickListener mToggleListener = new View.OnClickListener() {
83 public void onClick(View v) {
105 mHideableView.setVisibility(View.VISIBLE); in showSettingsView()
111 mSampleRateSpinner.setVisibility(View.GONE); in hideSampleRateMenu()
116 mHideableView.setVisibility(View.GONE); in hideSettingsView()
163 mChannelConversionBox.setOnClickListener(new View.OnClickListener() { in initializeViews()
165 public void onClick(View v) { in initializeViews()
171 mFormatConversionBox.setOnClickListener(new View.OnClickListener() { in initializeViews()
173 public void onClick(View v) { in initializeViews()
[all …]
DMainActivity.java32 import android.view.View;
83 public void onItemSelected(AdapterView<?> adapterView, View view, int i, long l) { in onCreate()
206 public void onLaunchTestOutput(View view) { in onLaunchTestOutput()
210 public void onLaunchTestInput(View view) { in onLaunchTestInput()
214 public void onLaunchTapToTone(View view) { in onLaunchTapToTone()
218 public void onLaunchRecorder(View view) { in onLaunchRecorder()
222 public void onLaunchEcho(View view) { in onLaunchEcho()
226 public void onLaunchRoundTripLatency(View view) { in onLaunchRoundTripLatency()
230 public void onLaunchManualGlitchTest(View view) { in onLaunchManualGlitchTest()
234 public void onLaunchAutoGlitchTest(View view) { onLaunchTest(AutomatedGlitchActivity.class); } in onLaunchAutoGlitchTest()
[all …]

12345678910>>...33