/cts/tests/tests/widget/src/android/widget/cts/ |
MyGallery.java | 22 import android.view.View; 23 import android.view.ViewGroup; 24 import android.view.ViewParent; 25 import android.view.ContextMenu.ContextMenuInfo; 26 import android.view.animation.Transformation; 48 protected boolean getChildStaticTransformation(View child, Transformation t) {
|
SimpleCursorAdapterTest.java | 30 import android.view.LayoutInflater; 31 import android.view.View; 32 import android.view.ViewGroup; 150 fail("Should throw IllegalStateException if the view is not TextView or ImageView"); 176 TextView view = new TextView(mContext); local 177 simpleCursorAdapter.setViewText(view, "expected"); 178 assertEquals("expected", view.getText().toString()); 180 simpleCursorAdapter.setViewText(view, null); 181 assertEquals("", view.getText().toString()) 189 ImageView view = new ImageView(mContext); local [all...] |
/cts/tests/uiautomator/test-apps/CtsUiAutomatorApp/src/com/android/cts/uiautomator/ |
TestListFragment.java | 21 import android.view.View; 54 public void onViewCreated(View view, Bundle savedState) { 55 super.onViewCreated(view, savedState); 78 public void onListItemClick(ListView listView, View view, int position, long id) { 79 super.onListItemClick(listView, view, position, id);
|
/development/samples/ApiDemos/src/com/example/android/apis/view/ |
Hover.java | 17 package com.example.android.apis.view; 27 import android.view.LayoutInflater; 28 import android.view.MotionEvent; 29 import android.view.View; 30 import android.view.ViewGroup; 40 * Demonstrates how to use {@link View#onHoverEvent}, {@link ViewGroup#onInterceptHoverEvent}, 41 * and {@link View#setOnHoverListener}. 45 * the position of the pointing device and the label of the view being hovered. 51 * A {@link View#OnHoverEventListener} is used to listen for hover events within th [all...] |
List15.java | 16 package com.example.android.apis.view; 22 import android.view.ActionMode; 23 import android.view.Menu; 24 import android.view.MenuInflater; 25 import android.view.MenuItem;
|
List16.java | 16 package com.example.android.apis.view; 22 import android.view.ActionMode; 23 import android.view.Menu; 24 import android.view.MenuInflater; 25 import android.view.MenuItem;
|
/development/samples/ApiDemos/tests/src/com/example/android/apis/view/ |
Focus2AndroidTest.java | 17 package com.example.android.apis.view; 24 import android.view.FocusFinder; 25 import android.view.LayoutInflater; 26 import android.view.View; 27 import android.view.ViewGroup; 104 mFocusFinder.findNextFocus(mRoot, mLeftButton, View.FOCUS_RIGHT)); 111 mFocusFinder.findNextFocus(mRoot, mRightButton, View.FOCUS_LEFT));
|
/development/samples/SkeletonApp/src/com/example/android/skeletonapp/ |
SkeletonActivity.java | 21 import android.view.KeyEvent; 22 import android.view.Menu; 23 import android.view.MenuItem; 24 import android.view.View; 25 import android.view.View.OnClickListener; 31 * activity. Inside of its window, it places a single view: an EditText that 52 // Find the text editor view inside the layout, because we 122 public void onClick(View v) [all...] |
/development/tutorials/NotepadCodeLab/Notepadv2/src/com/android/demo/notepad2/ |
Notepadv2.java | 23 import android.view.ContextMenu; 24 import android.view.Menu; 25 import android.view.MenuItem; 26 import android.view.View; 27 import android.view.ContextMenu.ContextMenuInfo; 87 public void onCreateContextMenu(ContextMenu menu, View v, 107 protected void onListItemClick(ListView l, View v, int position, long id) {
|
/external/chromium_org/android_webview/java/src/org/chromium/android_webview/ |
NullAwViewMethods.java | 11 import android.view.KeyEvent; 12 import android.view.MotionEvent; 13 import android.view.View; 14 import android.view.inputmethod.EditorInfo; 15 import android.view.inputmethod.InputConnection; 27 private View mContainerView; 31 View containerView) { 122 public void onVisibilityChanged(View changedView, int visibility) {
|
/external/chromium_org/chrome/browser/ui/views/infobars/ |
infobar_background.cc | 12 #include "ui/views/view.h" 26 void InfoBarBackground::Paint(gfx::Canvas* canvas, views::View* view) const { 29 gradient_points[1].iset(0, view->height()); 40 InfoBarView* infobar = static_cast<InfoBarView*>(view); 57 gfx::Rect(0, view->height() - infobars::InfoBar::kSeparatorLineHeight, 58 view->width(), infobars::InfoBar::kSeparatorLineHeight),
|
/external/chromium_org/mojo/examples/embedded_app/ |
embedded_app.cc | 17 #include "mojo/services/public/cpp/view_manager/view.h" 34 Window(View* root, scoped_ptr<ServiceProvider> embedder_service_provider) 37 View* root; 65 View* root, 77 virtual void OnViewDestroyed(View* view) OVERRIDE { 78 DCHECK(windows_.find(view->id()) != windows_.end()); 79 windows_.erase(view->id()); 81 virtual void OnViewInputEvent(View* view, const EventPtr& event) OVERRIDE [all...] |
/external/chromium_org/third_party/WebKit/Source/web/tests/ |
ProgrammaticScrollTest.cpp | 65 frame->view()->setWasScrolledByUser(false); 71 frame->view()->setWasScrolledByUser(false); 77 EXPECT_TRUE(frame->view()->wasScrolledByUser()); 95 frame->view()->setWasScrolledByUser(false); 105 EXPECT_TRUE(frame->view()->wasScrolledByUser());
|
/external/chromium_org/third_party/skia/samplecode/ |
SampleCamera.cpp | 70 Sk3DView view; local 71 view.rotateX(fRX); 72 view.rotateY(fRY); 73 view.applyToCanvas(canvas); 77 bool frontFace = view.dotWithNormal(0, 0, SK_Scalar1) < 0;
|
/external/chromium_org/ui/views/accessibility/ |
ax_view_obj_wrapper.cc | 11 #include "ui/views/view.h" 16 AXViewObjWrapper::AXViewObjWrapper(View* view) : view_(view) { 17 DCHECK(view->GetWidget()); 18 if (view->GetWidget()) 19 AXAuraObjCache::GetInstance()->GetOrCreate(view->GetWidget()); 34 // TODO(dtseng): Need to handle |Widget| child of |View|.
|
/external/chromium_org/mojo/examples/browser/ |
browser.cc | 17 #include "mojo/services/public/cpp/view_manager/view.h" 47 virtual void Layout(views::View* host) OVERRIDE { 48 // Browser view has one child, a text input field. 50 views::View* text_field = host->child_at(0); 54 virtual gfx::Size GetPreferredSize(const views::View* host) const OVERRIDE { 74 View* view) 77 view_(view), 94 void ShowKeyboard(views::View* view) { [all...] |
/external/chromium_org/mojo/services/view_manager/ |
display_manager.cc | 21 gfx::Rect ConvertRectToRoot(const ServerView* view, const gfx::Rect& bounds) { 23 while (view->parent()) { 24 origin += view->bounds().OffsetFromOrigin(); 25 view = view->parent(); 26 if (!view->visible()) 32 void DrawViewTree(Pass* pass, const ServerView* view, gfx::Vector2d offset) { 33 if (!view->visible()) 36 gfx::Rect node_bounds = view->bounds() + offset; 37 std::vector<const ServerView*> children(view->GetChildren()) [all...] |
/developers/build/prebuilts/gradle/SwipeRefreshListFragment/Application/libs/ |
android-support-v4.jar | |
/developers/samples/android/ui/views/SwipeRefreshLayout/SwipeRefreshListFragment/Application/libs/ |
android-support-v4.jar | |
/development/samples/training/multiscreen/newsreader/libs/ |
android-support-v4.jar | |
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
DensityActivity.java | 33 import android.view.LayoutInflater; 34 import android.view.View; 115 private View scrollWrap(View view) { 117 scroller.addView(view, new ScrollView.LayoutParams(ScrollView.LayoutParams.MATCH_PARENT, 138 View view = new View(this) local 150 View view = new View(this); local 164 ScaledBitmapView view = new ScaledBitmapView(this, bitmap); local 172 View view = new View(this); local [all...] |
/development/samples/WiFiDirectDemo/src/com/example/android/wifidirect/ |
DeviceDetailFragment.java | 34 import android.view.LayoutInflater; 35 import android.view.View; 36 import android.view.ViewGroup; 56 private View mContentView = null; 67 public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { 70 mContentView.findViewById(R.id.btn_connect).setOnClickListener(new View.OnClickListener() { 73 public void onClick(View v) { 96 new View.OnClickListener() { 99 public void onClick(View v) 147 TextView view = (TextView) mContentView.findViewById(R.id.group_owner); local 182 TextView view = (TextView) mContentView.findViewById(R.id.device_address); local 194 TextView view = (TextView) mContentView.findViewById(R.id.device_address); local [all...] |
/external/chromium_org/content/browser/gpu/ |
gpu_process_host_ui_shim.cc | 249 RenderWidgetHostViewBase* view = local 251 if (!view) 253 view->AcceleratedSurfaceInitialized(host_id_, route_id); 287 RenderWidgetHostViewBase* view = GetRenderWidgetHostViewFromSurfaceID( local 289 if (!view) 297 RenderWidgetHostImpl::From(view->GetRenderWidgetHost()); 301 // View must send ACK message after next composite. 302 view->AcceleratedSurfaceBuffersSwapped(view_params, host_id_); 303 view->DidReceiveRendererFrame(); 329 RenderWidgetHostViewBase* view local 352 RenderWidgetHostViewBase* view = local 362 RenderWidgetHostViewBase* view = GetRenderWidgetHostViewFromSurfaceID( local [all...] |
/external/chromium_org/ui/views/layout/ |
box_layout.cc | 8 #include "ui/views/view.h" 32 void BoxLayout::SetFlexForView(const View* view, int flex_weight) { 34 DCHECK(view); 35 DCHECK_EQ(host_, view->parent()); 37 flex_map_[view] = flex_weight; 40 void BoxLayout::ClearFlexForView(const View* view) { 41 DCHECK(view); 42 flex_map_.erase(view); [all...] |
/cts/tests/tests/view/src/android/view/animation/cts/ |
DecelerateInterpolatorTest.java | 17 package android.view.animation.cts; 19 import com.android.cts.view.R; 27 import android.view.View; 28 import android.view.animation.AlphaAnimation; 29 import android.view.animation.Animation; 30 import android.view.animation.AnimationUtils; 31 import android.view.animation.DecelerateInterpolator; 32 import android.view.animation.Interpolator; 33 import android.view.animation.Transformation [all...] |