Home
last modified time | relevance | path

Searched refs:view (Results 1 – 25 of 2502) sorted by relevance

12345678910>>...101

/external/chromium-trace/trace-viewer/src/tracing/analysis/
Dgeneric_object_view_test.js14 var view = new GenericObjectView();
15 view.object = undefined;
16 assertEquals('undefined', view.children[0].dataElement.textContent);
20 var view = new GenericObjectView();
21 view.object = null;
22 assertEquals('null', view.children[0].dataElement.textContent);
26 var view = new GenericObjectView();
27 view.object = 'string value';
28 assertEquals('"string value"', view.children[0].textContent);
32 var view = new GenericObjectView();
[all …]
/external/chromium_org/content/test/data/accessibility/
Dinput-types-expected-android.txt1 android.view.View focusable focused scrollable
2 android.view.View
3 android.view.View
4 android.view.View clickable name='Default:'
6 android.view.View
7 android.view.View clickable name='Button:'
10 android.view.View
11 android.view.View clickable name='Color:'
12 android.view.View focusable
13 android.view.View
[all …]
Dlist-markers-expected-android.txt1 android.view.View focusable focused scrollable
3 android.view.View collection_item
4 android.view.View clickable name='•'
5 android.view.View clickable name='First item properly groups itself despite'
6 android.view.View clickable name='bolded'
7 android.view.View clickable name='text.'
8 android.view.View collection_item item_index=1
9 android.view.View clickable name='•'
10 android.view.View clickable name='This should also be'
11 android.view.View clickable name='seen'
[all …]
/external/chromium-trace/trace-viewer/src/about_tracing/
Dprofiling_view_test.js157 var view = new about_tracing.ProfilingView();
160 view.tracingController = tracingController;
162 view.querySelector('button.record').click();
169 view.recordSelectionDialog_.querySelector(
180 assertTrue(!!view.timelineView.model);
181 view.detach_();
188 var view = new about_tracing.ProfilingView();
189 parent.appendChild(view);
196 view.tracingController = tracingController;
197 view.focusElement = view;
[all …]
/external/chromium_org/ui/views/animation/
Dbounds_animator.cc42 void BoundsAnimator::AnimateViewTo(View* view, const gfx::Rect& target) { in AnimateViewTo() argument
43 DCHECK(view); in AnimateViewTo()
44 DCHECK_EQ(view->parent(), parent_); in AnimateViewTo()
48 if (IsAnimating(view)) { in AnimateViewTo()
51 existing_data = data_[view]; in AnimateViewTo()
53 RemoveFromMaps(view); in AnimateViewTo()
61 Data& data = data_[view]; in AnimateViewTo()
62 data.start_bounds = view->bounds(); in AnimateViewTo()
66 animation_to_view_[data.animation] = view; in AnimateViewTo()
73 void BoundsAnimator::SetTargetBounds(View* view, const gfx::Rect& target) { in SetTargetBounds() argument
[all …]
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
DVideoViewTest.java22 private VideoView view; field in VideoViewTest
25 view = new VideoView(null); in setUp()
31 view.setOnPreparedListener(l); in shouldSetOnPreparedListener()
32 ShadowVideoView shadowVideoView = Robolectric.shadowOf(view); in shouldSetOnPreparedListener()
39 view.setOnErrorListener(l); in shouldSetOnErrorListener()
40 ShadowVideoView shadowVideoView = Robolectric.shadowOf(view); in shouldSetOnErrorListener()
47 view.setOnCompletionListener(l); in shouldSetOnCompletionListener()
48 ShadowVideoView shadowVideoView = Robolectric.shadowOf(view); in shouldSetOnCompletionListener()
54 view.setVideoPath("video.mp4"); in shouldSetVideoPath()
55 ShadowVideoView shadowVideoView = Robolectric.shadowOf(view); in shouldSetVideoPath()
[all …]
DViewTest.java8 import android.view.*;
9 import android.view.View.MeasureSpec;
10 import android.view.animation.Animation;
28 private View view; field in ViewTest
32 view = new View(new Activity()); in setUp()
37 ViewGroup.LayoutParams layoutParams = view.getLayoutParams(); in testHasEmptyLayoutParams()
43 assertThat(view.getWidth(), equalTo(0)); in layout_shouldAffectWidthAndHeight()
44 assertThat(view.getHeight(), equalTo(0)); in layout_shouldAffectWidthAndHeight()
46 view.layout(100, 200, 303, 404); in layout_shouldAffectWidthAndHeight()
47 assertThat(view.getWidth(), equalTo(303 - 100)); in layout_shouldAffectWidthAndHeight()
[all …]
/external/chromium_org/third_party/WebKit/Tools/GardeningServer/scripts/ui/
Dresults_unittests.js130 var view = new ui.results.View(delegate);
131 view.setResultsByTest(kExampleResultsByTest);
133 view.firstResult();
134 var testSelector = view.querySelector('.test-selector');
137 equals($($('.builder-selector', view)[0]).tabs('option', 'selected'), 0);
139 view.nextResult();
141 equals($($('.builder-selector', view)[0]).tabs('option', 'selected'), 1);
142 equals(view.currentTestName(), 'scrollbars/custom-scrollbar-with-incomplete-style.html');
144 view.nextResult();
146 equals($($('.builder-selector', view)[0]).tabs('option', 'selected'), 0);
[all …]
/external/droiddriver/src/com/google/android/droiddriver/instrumentation/
DViewElement.java24 import android.view.View;
25 import android.view.ViewGroup;
26 import android.view.ViewParent;
27 import android.view.accessibility.AccessibilityNodeInfo;
48 private final View view; field in ViewElement
69 public ViewElement(InstrumentationContext context, View view) { in ViewElement() argument
71 this.view = Preconditions.checkNotNull(view); in ViewElement()
76 if (!(view instanceof TextView)) { in getText()
79 return charSequenceToString(((TextView) view).getText()); in getText()
84 return charSequenceToString(view.getContentDescription()); in getContentDescription()
[all …]
/external/chromium_org/ui/views/
Ddebug_utils.cc15 void PrintViewHierarchyImp(const View* view, in PrintViewHierarchyImp() argument
21 *out << UTF8ToWide(view->GetClassName()); in PrintViewHierarchyImp()
23 *out << view->id(); in PrintViewHierarchyImp()
25 *out << view->x() << L"," << view->y() << L","; in PrintViewHierarchyImp()
26 *out << view->bounds().right() << L"," << view->bounds().bottom(); in PrintViewHierarchyImp()
28 *out << view; in PrintViewHierarchyImp()
31 for (int i = 0, count = view->child_count(); i < count; ++i) in PrintViewHierarchyImp()
32 PrintViewHierarchyImp(view->child_at(i), indent + 2, out); in PrintViewHierarchyImp()
35 void PrintFocusHierarchyImp(const View* view, in PrintFocusHierarchyImp() argument
41 *out << UTF8ToWide(view->GetClassName()); in PrintFocusHierarchyImp()
[all …]
Dview_model.cc19 void ViewModel::Add(View* view, int index) { in Add() argument
23 entry.view = view; in Add()
47 View* view = entries_[index].view; in MoveViewOnly() local
49 entries_[i].view = entries_[i - 1].view; in MoveViewOnly()
50 entries_[target_index].view = view; in MoveViewOnly()
52 View* view = entries_[index].view; in MoveViewOnly() local
54 entries_[i].view = entries_[i + 1].view; in MoveViewOnly()
55 entries_[target_index].view = view; in MoveViewOnly()
63 delete entries[i].view; in Clear()
66 int ViewModel::GetIndexOfView(const View* view) const { in GetIndexOfView()
[all …]
/external/chromium_org/content/renderer/
Drender_view_browsertest.cc139 RenderViewImpl* view() { in view() function in content::RenderViewImplTest
308 view()->set_send_content_state_immediately(true); in TEST_F()
342 view()->OnNavigate(nav_params); in TEST_F()
376 blink::WebNavigationPolicy policy = view()->decidePolicyForNavigation( in TEST_F()
388 policy = view()->decidePolicyForNavigation( in TEST_F()
399 policy = view()->decidePolicyForNavigation( in TEST_F()
413 RendererPreferences prefs = view()->renderer_preferences(); in TEST_F()
415 view()->OnSetRendererPrefs(prefs); in TEST_F()
428 blink::WebNavigationPolicy policy = view()->decidePolicyForNavigation( in TEST_F()
441 view()->OnAllowBindings(BINDINGS_POLICY_WEB_UI); in TEST_F()
[all …]
/external/antlr/antlr-3.4/gunit/src/main/java/org/antlr/gunit/swingui/
DWorkSpaceController.java55 private final WorkSpaceView view = new WorkSpaceView(); field in WorkSpaceController
61 view.resultPane = (JPanel) runner.getView(); in WorkSpaceController()
62 view.initComponents(); in WorkSpaceController()
68 this.view.setTitle("gUnitEditor"); in show()
69 this.view.setVisible(true); in show()
70 this.view.pack(); in show()
74 return view.paneEditor.getView(); in getEmbeddedView()
78 this.view.tabEditors.addChangeListener(new TabChangeListener()); in initEventHandlers()
79 this.view.listRules.setListSelectionListener(new RuleListSelectionListener()); in initEventHandlers()
80 this.view.paneEditor.onTestCaseNumberChange = new ActionListener() { in initEventHandlers()
[all …]
/external/chromium_org/ui/views/controls/
Dslider_unittest.cc17 void ClickAt(views::View* view, int x, int y) { in ClickAt() argument
21 view->OnMousePressed(press); in ClickAt()
24 view->OnMouseReleased(release); in ClickAt()
33 View* view = slider.get(); in TEST() local
34 gfx::Size size = view->GetPreferredSize(); in TEST()
35 view->SetSize(size); in TEST()
37 ClickAt(view, 0, 0); in TEST()
40 ClickAt(view, view->width(), 0); in TEST()
46 View* view = slider.get(); in TEST() local
47 gfx::Size size = view->GetPreferredSize(); in TEST()
[all …]
/external/chromium_org/chrome/browser/ui/views/accessibility/
Daccessibility_event_router_views.cc45 views::View* view, ui::AccessibilityTypes::Event event_type) { in HandleAccessibilityEvent() argument
62 if (!view->GetFocusManager() || in HandleAccessibilityEvent()
63 view->GetFocusManager()->GetFocusedView() != view) in HandleAccessibilityEvent()
73 view_storage->StoreView(view_storage_id, view); in HandleAccessibilityEvent()
124 views::View* view = view_storage->RetrieveView(view_storage_id); in DispatchEventOnViewStorageId() local
126 if (!view) in DispatchEventOnViewStorageId()
131 instance->DispatchAccessibilityEvent(view, type); in DispatchEventOnViewStorageId()
135 views::View* view, ui::AccessibilityTypes::Event type) { in DispatchAccessibilityEvent() argument
140 views::Widget* widget = view->GetWidget(); in DispatchAccessibilityEvent()
162 SendMenuNotification(view, type, profile); in DispatchAccessibilityEvent()
[all …]
/external/mesa3d/src/gallium/auxiliary/util/
Du_sampler.c38 default_template(struct pipe_sampler_view *view, in default_template() argument
43 memset(view, 0, sizeof(*view)); in default_template()
48 view->format = format; in default_template()
49 view->u.tex.first_level = 0; in default_template()
50 view->u.tex.last_level = texture->last_level; in default_template()
51 view->u.tex.first_layer = 0; in default_template()
52 view->u.tex.last_layer = texture->target == PIPE_TEXTURE_3D ? in default_template()
54 view->swizzle_r = PIPE_SWIZZLE_RED; in default_template()
55 view->swizzle_g = PIPE_SWIZZLE_GREEN; in default_template()
56 view->swizzle_b = PIPE_SWIZZLE_BLUE; in default_template()
[all …]
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/util/
Du_sampler.c38 default_template(struct pipe_sampler_view *view, in default_template() argument
43 memset(view, 0, sizeof(*view)); in default_template()
48 view->format = format; in default_template()
49 view->u.tex.first_level = 0; in default_template()
50 view->u.tex.last_level = texture->last_level; in default_template()
51 view->u.tex.first_layer = 0; in default_template()
52 view->u.tex.last_layer = texture->target == PIPE_TEXTURE_3D ? in default_template()
54 view->swizzle_r = PIPE_SWIZZLE_RED; in default_template()
55 view->swizzle_g = PIPE_SWIZZLE_GREEN; in default_template()
56 view->swizzle_b = PIPE_SWIZZLE_BLUE; in default_template()
[all …]
/external/chromium_org/third_party/WebKit/Source/wtf/
DArrayBuffer.cpp70 void ArrayBuffer::addView(ArrayBufferView* view) in addView() argument
72 view->m_buffer = this; in addView()
73 view->m_prevView = 0; in addView()
74 view->m_nextView = m_firstView; in addView()
76 m_firstView->m_prevView = view; in addView()
77 m_firstView = view; in addView()
80 void ArrayBuffer::removeView(ArrayBufferView* view) in removeView() argument
82 ASSERT(this == view->m_buffer); in removeView()
83 if (view->m_nextView) in removeView()
84 view->m_nextView->m_prevView = view->m_prevView; in removeView()
[all …]
/external/chromium/chrome/browser/ui/views/
Daccessibility_event_router_views.cc49 views::View* view, ui::AccessibilityTypes::Event event_type) { in HandleAccessibilityEvent() argument
58 view, NotificationType::ACCESSIBILITY_CONTROL_FOCUSED); in HandleAccessibilityEvent()
63 view, NotificationType::ACCESSIBILITY_MENU_OPENED); in HandleAccessibilityEvent()
68 view, NotificationType::ACCESSIBILITY_MENU_CLOSED); in HandleAccessibilityEvent()
73 view, NotificationType::ACCESSIBILITY_TEXT_CHANGED); in HandleAccessibilityEvent()
77 view, NotificationType::ACCESSIBILITY_CONTROL_ACTION); in HandleAccessibilityEvent()
117 std::string AccessibilityEventRouterViews::GetViewName(views::View* view) { in GetViewName() argument
119 view->GetAccessibleState(&state); in GetViewName()
124 views::View* view, NotificationType type) { in DispatchAccessibilityNotification() argument
129 views::Window* window = view->GetWindow(); in DispatchAccessibilityNotification()
[all …]
/external/chromium-trace/trace-viewer/src/ui/
Dlist_view_test.js13 var view = new ListView();
14 var i1 = view.addItem('item 1');
15 var i2 = view.addItem('item 2');
16 var i3 = view.addItem('item 3');
17 this.addHTMLOutput(view);
21 var view = new ListView();
22 var i1 = view.addItem('item 1');
23 var i2 = view.addItem('item 2');
24 var i3 = view.addItem('item 3');
34 var view = new ListView();
[all …]
/external/chromium_org/chrome/browser/resources/net_internals/
Dtimeline_view.css6 #timeline-view-selection-div {
11 #timeline-view-selection-toggle {
20 .timeline-view-rotateleft {
24 .timeline-view-rotateright {
28 #timeline-view-selection-div ul {
33 #timeline-view-selection-div li {
38 .timeline-view-text {
42 #timeline-view-open-sockets {
46 #timeline-view-in-use-sockets {
50 #timeline-view-url-requests {
[all …]
/external/chromium_org/ui/views/widget/
Ddrop_helper.cc22 void DropHelper::ResetTargetViewIfEquals(View* view) { in ResetTargetViewIfEquals() argument
23 if (target_view_ == view) in ResetTargetViewIfEquals()
25 if (deepest_view_ == view) in ResetTargetViewIfEquals()
32 View* view = CalculateTargetViewImpl(root_view_location, data, true, in OnDragOver() local
35 if (view != target_view_) { in OnDragOver()
38 target_view_ = view; in OnDragOver()
84 View* view = root_view_->GetEventHandlerForPoint(root_view_location); in CalculateTargetViewImpl() local
85 if (view == deepest_view_) { in CalculateTargetViewImpl()
90 *deepest_view = view; in CalculateTargetViewImpl()
98 while (view && view != target_view_ && in CalculateTargetViewImpl()
[all …]
/external/chromium_org/base/android/java/src/org/chromium/base/
DApiCompatibilityUtils.java9 import android.view.View;
10 import android.view.ViewGroup.MarginLayoutParams;
11 import android.view.ViewTreeObserver;
28 public static boolean isLayoutRtl(View view) { in isLayoutRtl() argument
30 return view.getLayoutDirection() == View.LAYOUT_DIRECTION_RTL; in isLayoutRtl()
54 public static void setLayoutDirection(View view, int layoutDirection) { in setLayoutDirection() argument
56 view.setLayoutDirection(layoutDirection); in setLayoutDirection()
65 public static void setTextAlignment(View view, int textAlignment) { in setTextAlignment() argument
67 view.setTextAlignment(textAlignment); in setTextAlignment()
120 public static void setPaddingRelative(View view, int start, int top, int end, int bottom) { in setPaddingRelative() argument
[all …]
/external/chromium/chrome/browser/renderer_host/
Daccelerated_plugin_view_mac_unittest.mm51 AcceleratedPluginView* view = [[[AcceleratedPluginView alloc]
54 return view;
65 AcceleratedPluginView* view = StubAcceleratedPluginView();
70 [[window contentView] addSubview:view];
73 [view removeFromSuperview];
78 AcceleratedPluginView* view = StubAcceleratedPluginView();
85 [[window1 contentView] addSubview:view];
89 [[window2 contentView] addSubview:view];
95 AcceleratedPluginView* view = StubAcceleratedPluginView();
96 [view setHidden:YES];
[all …]
/external/chromium_org/chrome/browser/ui/views/sync/
Done_click_signin_bubble_view_unittest.cc62 OneClickSigninBubbleView* view = in ShowOneClickSigninBubble() local
64 EXPECT_TRUE(view != NULL); in ShowOneClickSigninBubble()
65 view->message_loop_for_testing_ = base::MessageLoop::current(); in ShowOneClickSigninBubble()
66 return view; in ShowOneClickSigninBubble()
146 OneClickSigninBubbleView* view = in TEST_F() local
152 views::ButtonListener* listener = view; in TEST_F()
156 listener->ButtonPressed(view->ok_button_, event); in TEST_F()
165 OneClickSigninBubbleView* view = ShowOneClickSigninBubble( in TEST_F() local
170 views::ButtonListener* listener = view; in TEST_F()
174 listener->ButtonPressed(view->ok_button_, event); in TEST_F()
[all …]

12345678910>>...101