Home
last modified time | relevance | path

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

12345678910>>...52

/external/autotest/server/cros/tradefed_test_unittest_data/
DCtsViewTestCases.txt12 03-25 20:09:17 D/InstrumentationTest: Collecting test info for android.view.cts on device chromeos2…
13 …TestFile /data/local/tmp/ajur/excludes.txt -e timeout_msec 300000 android.view.cts/android.support…
14 …TestFile /data/local/tmp/ajur/excludes.txt -e timeout_msec 300000 android.view.cts/android.support…
15 03-25 20:09:24 D/ModuleListener: ModuleListener.testRunStarted(android.view.cts, 739)
17 03-25 20:09:24 D/ModuleListener: ModuleListener.testStarted(android.view.animation.cts.AccelerateDe…
18 03-25 20:09:27 D/ModuleListener: ModuleListener.testEnded(android.view.animation.cts.AccelerateDece…
19 …/739 armeabi-v7a CtsViewTestCases chromeos2-row4-rack8-host12:22] android.view.animation.cts.Accel…
20 03-25 20:09:27 D/ModuleListener: ModuleListener.testStarted(android.view.animation.cts.AccelerateDe…
21 03-25 20:09:27 D/ModuleListener: ModuleListener.testEnded(android.view.animation.cts.AccelerateDece…
22 …/739 armeabi-v7a CtsViewTestCases chromeos2-row4-rack8-host12:22] android.view.animation.cts.Accel…
[all …]
/external/v8/tools/turbolizer/
Dtext-view.js10 let view = this;
11 view.hide();
12 view.textListNode = view.divNode.getElementsByTagName('ul')[0];
13 view.fillerSvgElement = view.divElement.append("svg").attr('version','1.1').attr("width", "0");
14 view.patterns = patterns;
15 view.allowSpanSelection = allowSpanSelection;
16 view.nodeToLineMap = [];
30 broker.select(selectionHandler, view.getLocations(items), selected);
36 view.selectLocations(locations, selected, true);
39 view.selection.clear();
[all …]
Ddisassembly-view.js11 let view = this;
22 view.select(function(location) { return location.address == text; }, true, true);
37 view.pos_start = Number(text);
73 if (view.pos_lines === null) return undefined;
74 let pos = view.pos_lines[li-1] + Number(matches[2]);
81 view.SOURCE_POSITION_HEADER_REGEX = /^(\s*-- .+:)(\d+:\d+)( --)/;
85 [view.SOURCE_POSITION_HEADER_REGEX, SOURCE_POSITION_HEADER_STYLE, -1],
119 view.setPatterns(patterns);
123 let view = this;
142 else if (view.pos_start != -1) {
[all …]
Dcode-view.js10 let view = this;
11 view.PR = PR;
12 view.mouseDown = false;
13 view.broker = broker;
14 view.allSpans = [];
20 var broker = view.broker;
39 var lineListDiv = view.divNode.firstChild.firstChild.childNodes;
57 let firstSelect = view.selection.isEmpty();
63 let upper = view.allSpans.length;
67 var lineStart = view.allSpans[middle].start;
[all …]
/external/python/cpython2/Objects/
Dmemoryobject.c34 memory_getbuf(PyMemoryViewObject *self, Py_buffer *view, int flags) in memory_getbuf() argument
37 if (self->view.obj != NULL) in memory_getbuf()
38 res = PyObject_GetBuffer(self->view.obj, view, flags); in memory_getbuf()
39 if (view) in memory_getbuf()
40 dup_buffer(view, &self->view); in memory_getbuf()
45 memory_releasebuf(PyMemoryViewObject *self, Py_buffer *view) in memory_releasebuf() argument
47 PyBuffer_Release(view); in memory_releasebuf()
65 dup_buffer(&mview->view, info); in PyMemoryView_FromBuffer()
76 Py_buffer view; in PyMemoryView_FromObject() local
85 if (PyObject_GetBuffer(base, &view, PyBUF_FULL_RO) < 0) in PyMemoryView_FromObject()
[all …]
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/
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 …]
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 …]
/external/droiddriver/src/io/appium/droiddriver/instrumentation/
DViewElement.java23 import android.view.View;
24 import android.view.ViewGroup;
44 private final View view; field in ViewElement
56 public ViewElement(DroidDriverContext<View, ViewElement> context, View view, ViewElement parent) { in ViewElement() argument
58 this.view = Preconditions.checkNotNull(view); in ViewElement()
60 AttributesSnapshot attributesSnapshot = new AttributesSnapshot(view); in ViewElement()
115 return view; in getRawElement()
120 private final View view; field in ViewElement.AttributesSnapshot
125 private AttributesSnapshot(View view) { in AttributesSnapshot() argument
126 this.view = view; in AttributesSnapshot()
[all …]
/external/glide/library/src/main/java/com/bumptech/glide/request/target/
DViewTarget.java5 import android.view.Display;
6 import android.view.View;
7 import android.view.ViewGroup;
8 import android.view.ViewTreeObserver;
9 import android.view.WindowManager;
40 protected final T view; field in ViewTarget
43 public ViewTarget(T view) { in ViewTarget() argument
44 if (view == null) { in ViewTarget()
47 this.view = view; in ViewTarget()
48 sizeDeterminer = new SizeDeterminer(view); in ViewTarget()
[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/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->target = texture->target; in default_template()
49 view->format = format; in default_template()
50 view->u.tex.first_level = 0; in default_template()
51 view->u.tex.last_level = texture->last_level; in default_template()
52 view->u.tex.first_layer = 0; in default_template()
53 view->u.tex.last_layer = texture->target == PIPE_TEXTURE_3D ? in default_template()
55 view->swizzle_r = PIPE_SWIZZLE_X; in default_template()
56 view->swizzle_g = PIPE_SWIZZLE_Y; in default_template()
[all …]
/external/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_state_sampler.c170 struct pipe_sampler_view *view = CALLOC_STRUCT(pipe_sampler_view); in llvmpipe_create_sampler_view() local
180 if (view) { in llvmpipe_create_sampler_view()
181 *view = *templ; in llvmpipe_create_sampler_view()
182 view->reference.count = 1; in llvmpipe_create_sampler_view()
183 view->texture = NULL; in llvmpipe_create_sampler_view()
184 pipe_resource_reference(&view->texture, texture); in llvmpipe_create_sampler_view()
185 view->context = pipe; in llvmpipe_create_sampler_view()
193 if (view->target != texture->target) { in llvmpipe_create_sampler_view()
194 if (view->target == PIPE_TEXTURE_1D) in llvmpipe_create_sampler_view()
196 else if (view->target == PIPE_TEXTURE_1D_ARRAY) in llvmpipe_create_sampler_view()
[all …]
/external/mesa3d/src/gallium/drivers/nouveau/nvc0/
Dnvc0_tex.c78 struct nv50_tic_entry *view; in gm107_create_texture_view() local
82 view = MALLOC_STRUCT(nv50_tic_entry); in gm107_create_texture_view()
83 if (!view) in gm107_create_texture_view()
87 view->pipe = *templ; in gm107_create_texture_view()
88 view->pipe.reference.count = 1; in gm107_create_texture_view()
89 view->pipe.texture = NULL; in gm107_create_texture_view()
90 view->pipe.context = pipe; in gm107_create_texture_view()
92 view->id = -1; in gm107_create_texture_view()
94 pipe_resource_reference(&view->pipe.texture, texture); in gm107_create_texture_view()
96 tic = &view->tic[0]; in gm107_create_texture_view()
[all …]
/external/python/cpython2/Lib/idlelib/idle_test/
Dtest_textview.py36 view = TV(self.root, 'Title', 'test text')
40 view.Ok()
43 view = TV(self.root, 'Title', 'test text', modal=False)
47 view.Ok()
50 view = TV(self.root, 'Title', 'test text', modal=False)
51 view.destroy = Func()
52 view.Ok()
53 self.assertTrue(view.destroy.called)
54 del view.destroy # Unmask the real function.
55 view.destroy()
[all …]
/external/wpa_supplicant_8/src/utils/
Dbrowser.c53 static void view_cb_notify_progress(WebKitWebView *view, GParamSpec *pspec, in view_cb_notify_progress() argument
56 ctx->progress = 100 * webkit_web_view_get_progress(view); in view_cb_notify_progress()
63 static void view_cb_notify_load_status(WebKitWebView *view, GParamSpec *pspec, in view_cb_notify_load_status() argument
66 int status = webkit_web_view_get_load_status(view); in view_cb_notify_load_status()
68 __func__, status, webkit_web_view_get_uri(view)); in view_cb_notify_load_status()
72 static void view_cb_resource_request_starting(WebKitWebView *view, in view_cb_resource_request_starting() argument
99 WebKitWebView *view, WebKitWebFrame *frame, WebKitNetworkRequest *req, in view_cb_mime_type_policy_decision() argument
105 if (!webkit_web_view_can_show_mime_type(view, mime)) { in view_cb_mime_type_policy_decision()
114 static gboolean view_cb_download_requested(WebKitWebView *view, in view_cb_download_requested() argument
125 static void view_cb_hovering_over_link(WebKitWebView *view, gchar *title, in view_cb_hovering_over_link() argument
[all …]
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/ui/
DViewInflater.java30 import android.view.Gravity;
31 import android.view.View;
32 import android.view.ViewGroup;
33 import android.view.ViewGroup.LayoutParams;
34 import android.view.ViewGroup.MarginLayoutParams;
283 View view = inflateView(context, xml, null); in inflate() local
284 return view; in inflate()
292 public void setClickListener(View v, android.view.View.OnClickListener listener, in setClickListener()
320 View view = buildView(context, xml, root); in inflateView() local
321 if (view == null) { in inflateView()
[all …]
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowRemoteViews.java6 import android.view.View;
47 public void doUpdate(View view) { in setTextViewText()
48 ((TextView) view).setText(text); in setTextViewText()
56 @Override void doUpdate(final View view) { in setOnClickPendingIntent()
57 view.setOnClickListener(new View.OnClickListener() { in setOnClickPendingIntent()
61 pendingIntent.send(view.getContext(), 0, null); in setOnClickPendingIntent()
75 public void doUpdate(View view) { in setViewVisibility()
76 view.setVisibility(visibility); in setViewVisibility()
85 public void doUpdate(View view) { in setImageViewResource()
86 ((ImageView) view).setImageResource(resourceId); in setImageViewResource()
[all …]
DShadowViewStub.java3 import android.view.LayoutInflater;
4 import android.view.View;
5 import android.view.ViewGroup;
6 import android.view.ViewParent;
7 import android.view.ViewStub;
73 View view = factory.inflate(mLayoutResource, parent, false); in inflate() local
76 view.setId(mInflatedId); in inflate()
85 parent.addView(view, index, layoutParams); in inflate()
87 parent.addView(view, index); in inflate()
90 mInflatedViewRef = new WeakReference<View>(view); in inflate()
[all …]
/external/mesa3d/src/gallium/drivers/i915/
Di915_state_sampler.c65 const struct pipe_sampler_view* view,
194 const struct pipe_sampler_view* view) in translate_texture_format() argument
196 if ( (view->swizzle_r != PIPE_SWIZZLE_X || in translate_texture_format()
197 view->swizzle_g != PIPE_SWIZZLE_Y || in translate_texture_format()
198 view->swizzle_b != PIPE_SWIZZLE_Z || in translate_texture_format()
199 view->swizzle_a != PIPE_SWIZZLE_W ) && in translate_texture_format()
251 if ( view->swizzle_r == PIPE_SWIZZLE_X && in translate_texture_format()
252 view->swizzle_g == PIPE_SWIZZLE_X && in translate_texture_format()
253 view->swizzle_b == PIPE_SWIZZLE_X && in translate_texture_format()
254 view->swizzle_a == PIPE_SWIZZLE_1) in translate_texture_format()
[all …]
/external/mesa3d/src/gallium/drivers/svga/
Dsvga_state_tss.c48 struct svga_hw_view_state *view = &svga->state.hw_draw.views[i]; in svga_cleanup_tss_binding() local
49 if (view) { in svga_cleanup_tss_binding()
50 svga_sampler_view_reference(&view->v, NULL); in svga_cleanup_tss_binding()
53 pipe_resource_reference(&view->texture, NULL); in svga_cleanup_tss_binding()
54 view->dirty = TRUE; in svga_cleanup_tss_binding()
63 struct svga_hw_view_state *view; member
78 struct svga_hw_view_state *view, in emit_tex_binding_unit() argument
104 if (view->texture != texture || in emit_tex_binding_unit()
105 view->min_lod != min_lod || in emit_tex_binding_unit()
106 view->max_lod != max_lod) { in emit_tex_binding_unit()
[all …]
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/tester/android/view/
DTestWindowManager.java1 package com.xtremelabs.robolectric.tester.android.view;
3 import android.view.Display;
4 import android.view.View;
5 import android.view.WindowManager;
19 public void addView(View view, android.view.ViewGroup.LayoutParams layoutParams) { in addView() argument
20 views.add(view); in addView()
24 public void removeView(View view) { in removeView() argument
25 views.remove(view); in removeView()
29 public void updateViewLayout(View arg0, android.view.ViewGroup.LayoutParams arg1) { in updateViewLayout()
/external/clang/tools/clang-format/
Dclang-format-sublime.py31 encoding = self.view.encoding()
36 for region in self.view.sel():
42 '-assume-filename', str(self.view.file_name())])
43 old_viewport_position = self.view.viewport_position()
44 buf = self.view.substr(sublime.Region(0, self.view.size()))
50 self.view.replace(
51 edit, sublime.Region(0, self.view.size()),
53 self.view.sel().clear()
55 self.view.sel().add(region)
57 sublime.set_timeout(lambda: self.view.set_viewport_position(
/external/mesa3d/src/intel/isl/
Disl_surface_state.c242 s.SurfaceType = get_surftype(info->surf->dim, info->view->usage); in isl_genX()
244 if (info->view->usage & ISL_SURF_USAGE_RENDER_TARGET_BIT) in isl_genX()
245 assert(isl_format_supports_rendering(dev->info, info->view->format)); in isl_genX()
246 else if (info->view->usage & ISL_SURF_USAGE_TEXTURE_BIT) in isl_genX()
247 assert(isl_format_supports_sampling(dev->info, info->view->format)); in isl_genX()
255 assert(!isl_format_is_compressed(info->view->format)); in isl_genX()
257 s.SurfaceFormat = info->view->format; in isl_genX()
281 if (GEN_GEN == 6 && (info->view->usage & ISL_SURF_USAGE_RENDER_TARGET_BIT) && in isl_genX()
298 (info->view->usage & ISL_SURF_USAGE_TEXTURE_BIT) && in isl_genX()
300 assert(info->view->base_array_layer == 0); in isl_genX()
[all …]
/external/mesa3d/src/gallium/drivers/softpipe/
Dsp_state_sampler.c91 struct pipe_sampler_view *view) in softpipe_sampler_view_destroy() argument
93 pipe_resource_reference(&view->texture, NULL); in softpipe_sampler_view_destroy()
94 FREE(view); in softpipe_sampler_view_destroy()
185 struct pipe_sampler_view *view = i < num ? views[i] : NULL; in prepare_shader_sampling() local
187 if (view) { in prepare_shader_sampling()
188 struct pipe_resource *tex = view->texture; in prepare_shader_sampling()
202 MAYBE_UNUSED struct pipe_resource *res = view->texture; in prepare_shader_sampling()
205 if (view->target != PIPE_BUFFER) { in prepare_shader_sampling()
206 first_level = view->u.tex.first_level; in prepare_shader_sampling()
207 last_level = view->u.tex.last_level; in prepare_shader_sampling()
[all …]
/external/mesa3d/src/intel/vulkan/
Danv_image.c579 struct isl_view view = iview->isl; in anv_CreateImageView() local
580 view.usage |= ISL_SURF_USAGE_TEXTURE_BIT; in anv_CreateImageView()
584 .view = &view, in anv_CreateImageView()
602 struct isl_view view = iview->isl; in anv_CreateImageView() local
603 view.usage |= ISL_SURF_USAGE_STORAGE_BIT; in anv_CreateImageView()
604 view.format = isl_lower_storage_image_format(&device->info, in anv_CreateImageView()
609 .view = &view, in anv_CreateImageView()
667 struct anv_buffer_view *view; in anv_CreateBufferView() local
669 view = vk_alloc2(&device->alloc, pAllocator, sizeof(*view), 8, in anv_CreateBufferView()
671 if (!view) in anv_CreateBufferView()
[all …]

12345678910>>...52