/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/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/droiddriver/src/io/appium/droiddriver/instrumentation/ |
D | ViewElement.java | 21 import android.view.View; 22 import android.view.ViewGroup; 23 import android.view.accessibility.AccessibilityNodeInfo; 50 private final View view; field in ViewElement.AttributesSnapshot 56 private AttributesSnapshot(View view) { in AttributesSnapshot() argument 57 this.view = view; in AttributesSnapshot() 62 put(Attribute.PACKAGE, view.getContext().getPackageName()); in call() 65 put(Attribute.CONTENT_DESC, charSequenceToString(view.getContentDescription())); in call() 67 put(Attribute.CHECKABLE, view instanceof Checkable); in call() 69 put(Attribute.CLICKABLE, view.isClickable()); in call() [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->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/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/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/v8/test/mjsunit/harmony/ |
D | dataview-accessors.js | 40 var view = null; variable 66 return view["get" + func](index, littleEndian); 68 return view["get" + func](index); 70 if (index >=0 && index + getElementSize(func) - 1 < view.byteLength) 79 view["set" + func](index, value, littleEndian); 81 view["set" + func](index, value); 84 index + getElementSize(func) - 1 < view.byteLength) { 105 view = new DataView(arrayBuffer, viewStart, viewLength); 315 var view = new DataView(new ArrayBuffer(100)); 316 assertSame(undefined, view.setInt8(0, value)); [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 …]
|
D | ShadowViewStub.java | 3 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/chromium-trace/catapult/tracing/tracing/ui/extras/chrome/cc/ |
D | picture_ops_list_view.css | 6 * * /deep/ tr-ui-e-chrome-cc-picture-ops-list-view { 12 * /deep/ tr-ui-e-chrome-cc-picture-ops-list-view > .x-list-view { 17 * /deep/ tr-ui-e-chrome-cc-picture-ops-list-view > .x-list-view .list-item { 25 * /deep/ tr-ui-e-chrome-cc-picture-ops-list-view > 26 .x-list-view .list-item:hover { 31 * /deep/ tr-ui-e-chrome-cc-picture-ops-list-view > 32 .x-list-view .list-item > * { 40 * /deep/ tr-ui-e-chrome-cc-picture-ops-list-view > 41 .x-list-view .list-item > .elementInfo { 47 * /deep/ tr-ui-e-chrome-cc-picture-ops-list-view > [all …]
|
/external/mesa3d/src/gallium/drivers/i915/ |
D | i915_state_sampler.c | 65 const struct pipe_sampler_view* view, 190 const struct pipe_sampler_view* view) in translate_texture_format() argument 192 if ( (view->swizzle_r != PIPE_SWIZZLE_RED || in translate_texture_format() 193 view->swizzle_g != PIPE_SWIZZLE_GREEN || in translate_texture_format() 194 view->swizzle_b != PIPE_SWIZZLE_BLUE || in translate_texture_format() 195 view->swizzle_a != PIPE_SWIZZLE_ALPHA ) && in translate_texture_format() 247 if ( view->swizzle_r == PIPE_SWIZZLE_RED && in translate_texture_format() 248 view->swizzle_g == PIPE_SWIZZLE_RED && in translate_texture_format() 249 view->swizzle_b == PIPE_SWIZZLE_RED && in translate_texture_format() 250 view->swizzle_a == PIPE_SWIZZLE_ONE) in translate_texture_format() [all …]
|
/external/mesa3d/src/gallium/drivers/svga/ |
D | svga_state_tss.c | 45 struct svga_hw_view_state *view = &svga->state.hw_draw.views[i]; in svga_cleanup_tss_binding() local 47 svga_sampler_view_reference(&view->v, NULL); in svga_cleanup_tss_binding() 49 pipe_resource_reference( &view->texture, NULL ); in svga_cleanup_tss_binding() 51 view->dirty = 1; in svga_cleanup_tss_binding() 59 struct svga_hw_view_state *view; member 83 struct svga_hw_view_state *view = &svga->state.hw_draw.views[i]; in update_tss_binding() local 98 if (view->texture != texture || in update_tss_binding() 99 view->min_lod != min_lod || in update_tss_binding() 100 view->max_lod != max_lod) { in update_tss_binding() 102 svga_sampler_view_reference(&view->v, NULL); in update_tss_binding() [all …]
|
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/tester/android/view/ |
D | TestWindowManager.java | 1 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()
|
D | TestWindow.java | 1 package com.xtremelabs.robolectric.tester.android.view; 8 import android.view.InputQueue; 9 import android.view.KeyEvent; 10 import android.view.LayoutInflater; 11 import android.view.MotionEvent; 12 import android.view.SurfaceHolder; 13 import android.view.View; 14 import android.view.ViewGroup; 15 import android.view.Window; 16 import android.view.WindowManager; [all …]
|
/external/clang/tools/clang-format/ |
D | clang-format-sublime.py | 31 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/libgdx/backends/gdx-backend-android/src/com/badlogic/gdx/backends/android/ |
D | AndroidGraphicsLiveWallpaper.java | 25 import android.view.SurfaceHolder; 26 import android.view.View; 68 …GLSurfaceView20API18 view = new GLSurfaceView20API18(application.getContext(), resolutionStrategy)… in createGLSurfaceView() local 80 view.setEGLConfigChooser(configChooser); in createGLSurfaceView() 82 view.setEGLConfigChooser(config.r, config.g, config.b, config.a, config.depth, config.stencil); in createGLSurfaceView() 83 view.setRenderer(this); in createGLSurfaceView() 84 return view; in createGLSurfaceView() 87 GLSurfaceView20 view = new GLSurfaceView20(application.getContext(), resolutionStrategy) { in createGLSurfaceView() local 100 view.setEGLConfigChooser(configChooser); in createGLSurfaceView() 102 view.setEGLConfigChooser(config.r, config.g, config.b, config.a, config.depth, config.stencil); in createGLSurfaceView() [all …]
|
D | AndroidInputThreePlus.java | 22 import android.view.MotionEvent; 23 import android.view.View; 24 import android.view.View.OnGenericMotionListener; 34 …public AndroidInputThreePlus (Application activity, Context context, Object view, AndroidApplicati… in AndroidInputThreePlus() argument 35 super(activity, context, view, config); in AndroidInputThreePlus() 38 if (view instanceof View) { in AndroidInputThreePlus() 39 View v = (View)view; in AndroidInputThreePlus() 46 public boolean onGenericMotion (View view, MotionEvent event) { in onGenericMotion() argument 49 if (genericMotionListeners.get(i).onGenericMotion(view, event)) return true; in onGenericMotion()
|
D | AndroidGraphics.java | 32 import android.view.Display; 33 import android.view.View; 34 import android.view.WindowManager.LayoutParams; 76 final View view; field in AndroidGraphics 119 view = createGLSurfaceView(application, resolutionStrategy); in AndroidGraphics() 122 view.setFocusable(true); in AndroidGraphics() 123 view.setFocusableInTouchMode(true); in AndroidGraphics() 129 …if ((sdkVersion >= 11 && view instanceof GLSurfaceView20) || view instanceof GLSurfaceView20API18)… in preserveEGLContextOnPause() 131 view.getClass().getMethod("setPreserveEGLContextOnPause", boolean.class).invoke(view, true); in preserveEGLContextOnPause() 144 …GLSurfaceView20API18 view = new GLSurfaceView20API18(application.getContext(), resolutionStrategy); in createGLSurfaceView() local [all …]
|
/external/clang/tools/scan-view/ |
D | Makefile | 18 InstallTargets := $(ToolDir)/scan-view \ 19 $(ShareDir)/scan-view/Reporter.py \ 20 $(ShareDir)/scan-view/ScanView.py \ 21 $(ShareDir)/scan-view/startfile.py \ 22 $(ShareDir)/scan-view/FileRadar.scpt \ 23 $(ShareDir)/scan-view/GetRadarVersion.scpt \ 24 $(ShareDir)/scan-view/bugcatcher.ico 34 $(ShareDir)/scan-view/%: share/% Makefile $(ShareDir)/scan-view/.dir
|
/external/ceres-solver/internal/ceres/ |
D | canonical_views_clustering.cc | 117 for (IntSet::const_iterator view = valid_views.begin(); in ComputeClustering() local 118 view != valid_views.end(); in ComputeClustering() 119 ++view) { in ComputeClustering() 121 ComputeClusteringQualityDifference(*view, *centers); in ComputeClustering() 124 best_view = *view; in ComputeClustering() 150 for (IntSet::const_iterator view = views.begin(); in FindValidViews() local 151 view != views.end(); in FindValidViews() 152 ++view) { in FindValidViews() 153 if (graph_->VertexWeight(*view) != Graph<int>::InvalidWeight()) { in FindValidViews() 154 valid_views->insert(*view); in FindValidViews() [all …]
|
/external/libgdx/tests/gdx-tests-android/src/com/badlogic/gdx/tests/android/ |
D | FragmentTestStarter.java | 14 import android.view.LayoutInflater; 15 import android.view.View; 16 import android.view.ViewGroup; 17 import android.view.ViewGroup.LayoutParams; 32 FrameLayout view; field in FragmentTestStarter 49 view = new FrameLayout(this); in onCreate() 50 view.setId(2); in onCreate() 51 view.setLayoutParams(new LinearLayout.LayoutParams(0, LayoutParams.MATCH_PARENT, 2)); in onCreate() 52 layout.addView(view); in onCreate() 62 if(view != null) { in onTestSelected() [all …]
|
/external/androidplot/Examples/DemoApp/src/com/androidplot/demos/ |
D | MainActivity.java | 22 import android.view.View; 37 public void onClick(View view) { in onCreate() 45 public void onClick(View view) { in onCreate() 53 public void onClick(View view) { in onCreate() 61 public void onClick(View view) { in onCreate() 69 public void onClick(View view) { in onCreate() 77 public void onClick(View view) { in onCreate() 85 public void onClick(View view) { in onCreate() 93 public void onClick(View view) { in onCreate() 101 public void onClick(View view) { in onCreate() [all …]
|
/external/mesa3d/src/gallium/drivers/nv50/ |
D | nv50_tex.c | 82 struct nv50_tic_entry *view; in nv50_create_sampler_view() local 86 view = MALLOC_STRUCT(nv50_tic_entry); in nv50_create_sampler_view() 87 if (!view) in nv50_create_sampler_view() 90 view->pipe = *templ; in nv50_create_sampler_view() 91 view->pipe.reference.count = 1; in nv50_create_sampler_view() 92 view->pipe.texture = NULL; in nv50_create_sampler_view() 93 view->pipe.context = pipe; in nv50_create_sampler_view() 95 view->id = -1; in nv50_create_sampler_view() 97 pipe_resource_reference(&view->pipe.texture, texture); in nv50_create_sampler_view() 99 tic = &view->tic[0]; in nv50_create_sampler_view() [all …]
|