Home
last modified time | relevance | path

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

12345678910>>...26

/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/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/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/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)).isSameAs((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/droiddriver/src/io/appium/droiddriver/instrumentation/
DInstrumentationDriver.java23 import android.view.View;
35 public class InstrumentationDriver extends BaseDroidDriver<View, ViewElement> {
36 private static final Callable<View> FIND_ROOT_VIEW =
37 new Callable<View>() {
39 public View call() {
47 List<View> views = RootFinder.getRootViews();
50 for (View view : views) {
61 private final DroidDriverContext<View, ViewElement> context;
66 context = new DroidDriverContext<View, ViewElement>(instrumentation, this); in InstrumentationDriver()
82 protected ViewElement newUiElement(View rawElement, ViewElement parent) { in newUiElement()
[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/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/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/setupcompat/main/java/com/google/android/setupcompat/util/
DSystemBarHelper.java29 import android.view.View;
54 View.SYSTEM_UI_FLAG_HIDE_NAVIGATION
55 | View.SYSTEM_UI_FLAG_IMMERSIVE_STICKY
56 | View.SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN
57 | View.SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION;
61 View.SYSTEM_UI_FLAG_HIDE_NAVIGATION | View.SYSTEM_UI_FLAG_IMMERSIVE_STICKY;
70 public static void addVisibilityFlag(final View view, final int flag) { in addVisibilityFlag()
86 public static void removeVisibilityFlag(final View view, final int flag) { in removeVisibilityFlag()
111 public void onDecorViewInstalled(View decorView) { in addImmersiveFlagsToDecorView()
122 public void onDecorViewInstalled(View decorView) { in removeImmersiveFlagsFromDecorView()
[all …]
/external/webrtc/webrtc/examples/androidapp/src/org/appspot/apprtc/
DCallFragment.java17 import android.view.View;
29 private View controlView;
51 public View onCreateView(LayoutInflater inflater, ViewGroup container, in onCreateView()
71 disconnectButton.setOnClickListener(new View.OnClickListener() { in onCreateView()
73 public void onClick(View view) { in onCreateView()
78 cameraSwitchButton.setOnClickListener(new View.OnClickListener() { in onCreateView()
80 public void onClick(View view) { in onCreateView()
85 videoScalingButton.setOnClickListener(new View.OnClickListener() { in onCreateView()
87 public void onClick(View view) { in onCreateView()
119 cameraSwitchButton.setVisibility(View.INVISIBLE); in onStart()
[all …]
/external/opencensus-java/impl_core/src/test/java/io/opencensus/implcore/stats/
DViewManagerImplTest.java46 import io.opencensus.stats.View;
47 import io.opencensus.stats.View.AggregationWindow.Cumulative;
48 import io.opencensus.stats.View.AggregationWindow.Interval;
49 import io.opencensus.stats.View.Name;
127 private static View createCumulativeView() { in createCumulativeView()
131 private static View createCumulativeView( in createCumulativeView()
132 View.Name name, Measure measure, Aggregation aggregation, List<TagKey> keys) { in createCumulativeView()
133 return View.create(name, VIEW_DESCRIPTION, measure, aggregation, keys, CUMULATIVE); in createCumulativeView()
138 View view = createCumulativeView(); in testRegisterAndGetCumulativeView()
148 View cumulativeView1 = in testGetAllExportedViews()
[all …]
DStatsRecorderImplTest.java41 import io.opencensus.stats.View;
42 import io.opencensus.stats.View.AggregationWindow.Cumulative;
71 private static final View.Name VIEW_NAME = View.Name.create("my view");
89 View view = in record_CurrentContextNotSet()
90 View.create( in record_CurrentContextNotSet()
108 View view = in record_CurrentContextSet()
109 View.create( in record_CurrentContextSet()
134 View view = in record_UnregisteredMeasure()
135 View.create( in record_UnregisteredMeasure()
163 View view = in record_WithAttachments_Distribution()
[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/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/skia/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/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-cov/
DSourceCoverageView.h33 std::unique_ptr<SourceCoverageView> View; member
36 std::unique_ptr<SourceCoverageView> View) in ExpansionView()
37 : Region(Region), View(std::move(View)) {} in ExpansionView()
39 : Region(std::move(RHS.Region)), View(std::move(RHS.View)) {} in ExpansionView()
42 View = std::move(RHS.View);
59 std::unique_ptr<SourceCoverageView> View; member
62 std::unique_ptr<SourceCoverageView> View) in InstantiationView()
63 : FunctionName(FunctionName), Line(Line), View(std::move(View)) {} in InstantiationView()
253 std::unique_ptr<SourceCoverageView> View);
257 std::unique_ptr<SourceCoverageView> View);

12345678910>>...26