/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/ |
D | ShadowViewTest.java | 27 import android.view.ContextMenu; 28 import android.view.HapticFeedbackConstants; 29 import android.view.MotionEvent; 30 import android.view.View; 31 import android.view.View.MeasureSpec; 32 import android.view.View.OnClickListener; 33 import android.view.View.OnLongClickListener; 34 import android.view.ViewGroup; 35 import android.view.ViewParent; 36 import android.view.ViewTreeObserver; [all …]
|
D | ShadowVideoViewTest.java | 18 private VideoView view; field in ShadowVideoViewTest 21 view = new VideoView(RuntimeEnvironment.application); in setUp() 27 view.setOnPreparedListener(l); in shouldSetOnPreparedListener() 28 ShadowVideoView shadowVideoView = shadowOf(view); in shouldSetOnPreparedListener() 35 view.setOnErrorListener(l); in shouldSetOnErrorListener() 36 ShadowVideoView shadowVideoView = shadowOf(view); in shouldSetOnErrorListener() 43 view.setOnCompletionListener(l); in shouldSetOnCompletionListener() 44 ShadowVideoView shadowVideoView = shadowOf(view); in shouldSetOnCompletionListener() 50 view.setVideoPath("video.mp4"); in shouldSetVideoPath() 51 ShadowVideoView shadowVideoView = shadowOf(view); in shouldSetVideoPath() [all …]
|
D | ShadowLayoutInflaterTest.java | 20 import android.view.LayoutInflater; 21 import android.view.View; 22 import android.view.ViewGroup; 23 import android.view.ViewParent; 57 ViewGroup view = inflate(R.layout.media); in testCreatesCorrectClasses() local 58 assertThat(view).isInstanceOf((Class<? extends ViewGroup>) LinearLayout.class); in testCreatesCorrectClasses() 60 assertSame(context, view.getContext()); in testCreatesCorrectClasses() 65 ViewGroup view = inflate(R.layout.different_screen_sizes); in testChoosesLayoutBasedOnDefaultScreenSize() local 66 TextView textView = view.findViewById(android.R.id.text1); in testChoosesLayoutBasedOnDefaultScreenSize() 73 ViewGroup view = inflate(R.layout.different_screen_sizes); in testChoosesLayoutBasedOnScreenSize() local [all …]
|
/external/autotest/server/cros/tradefed_test_unittest_data/ |
D | CtsViewTestCases.txt | 12 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/ |
D | text-view.js | 10 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 …]
|
D | disassembly-view.js | 11 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 …]
|
D | code-view.js | 10 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/ |
D | memoryobject.c | 34 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/ |
D | ViewTest.java | 8 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 …]
|
D | VideoViewTest.java | 22 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/ |
D | ViewElement.java | 23 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/ |
D | ViewTarget.java | 5 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/ |
D | WorkSpaceController.java | 55 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/subsampling-scale-image-view/sample/src/main/java/com/davemorrissey/labs/subscaleview/test/configuration/ |
D | ConfigurationActivity.java | 20 private SubsamplingScaleImageView view; field in ConfigurationActivity 40 view = findViewById(id.imageView); in onCreate() 41 view.setImage(ImageSource.asset("card.png")); in onCreate() 47 view.setMinimumDpi(50); in onPageChanged() 49 view.setMaxScale(2F); in onPageChanged() 52 view.setMinimumTileDpi(50); in onPageChanged() 54 view.setMinimumTileDpi(320); in onPageChanged() 57 view.setDoubleTapZoomStyle(SubsamplingScaleImageView.ZOOM_FOCUS_CENTER); in onPageChanged() 59 view.setDoubleTapZoomStyle(SubsamplingScaleImageView.ZOOM_FOCUS_CENTER_IMMEDIATE); in onPageChanged() 61 view.setDoubleTapZoomStyle(SubsamplingScaleImageView.ZOOM_FOCUS_FIXED); in onPageChanged() [all …]
|
/external/mesa3d/src/gallium/auxiliary/util/ |
D | u_sampler.c | 38 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/python/cpython3/Objects/ |
D | memoryobject.c | 193 #define VIEW_ADDR(mv) (&((PyMemoryViewObject *)mv)->view) 209 #define MV_CONTIGUOUS_NDIM1(view) \ argument 210 ((view)->shape[0] == 1 || (view)->strides[0] == (view)->itemsize) 243 #define HAVE_SUBOFFSETS_IN_LAST_DIM(view) \ argument 244 (view->suboffsets && view->suboffsets[dest->ndim-1] >= 0) 442 init_strides_from_shape(Py_buffer *view) in init_strides_from_shape() argument 446 assert(view->ndim > 0); in init_strides_from_shape() 448 view->strides[view->ndim-1] = view->itemsize; in init_strides_from_shape() 449 for (i = view->ndim-2; i >= 0; i--) in init_strides_from_shape() 450 view->strides[i] = view->strides[i+1] * view->shape[i+1]; in init_strides_from_shape() [all …]
|
/external/mesa3d/src/gallium/drivers/llvmpipe/ |
D | lp_state_sampler.c | 170 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/ |
D | nvc0_tex.c | 78 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/sl4a/Common/src/com/googlecode/android_scripting/facade/ui/ |
D | ViewInflater.java | 30 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/python/cpython3/Lib/idlelib/idle_test/ |
D | test_textview.py | 45 view = TV(root, 'Title', 'test text') 49 view.Ok() 52 view = TV(root, 'Title', 'test text', modal=False) 56 view.Ok() 59 view = TV(root, 'Title', 'test text', modal=False) 60 view.destroy = Func() 61 view.Ok() 62 self.assertTrue(view.destroy.called) 63 del view.destroy # Unmask real function. 64 view.destroy() [all …]
|
/external/wpa_supplicant_8/src/utils/ |
D | browser.c | 53 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/python/cpython2/Lib/idlelib/idle_test/ |
D | test_textview.py | 36 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/mesa3d/src/gallium/drivers/svga/ |
D | svga_state_tss.c | 48 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/mesa3d/src/gallium/drivers/i915/ |
D | i915_state_sampler.c | 65 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/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/ |
D | ShadowRemoteViews.java | 6 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 …]
|