/development/samples/ApiDemos/src/com/example/android/apis/view/ |
SplitTouchView.java | 17 package com.example.android.apis.view; 23 import android.view.View; 33 * Demonstrates splitting touch events across multiple views within a view group. 55 public void onItemClick(AdapterView<?> parent, View view, int position, long id) {
|
TableLayout7.java | 17 package com.example.android.apis.view; 23 import android.view.Gravity; 24 import android.view.View; 44 public void onClick(View v) { 51 public void onClick(View v) {
|
/development/samples/BluetoothChat/src/com/example/android/BluetoothChat/ |
BluetoothChat.java | 28 import android.view.KeyEvent; 29 import android.view.Menu; 30 import android.view.MenuInflater; 31 import android.view.MenuItem; 32 import android.view.View; 33 import android.view.Window; 34 import android.view.View.OnClickListener; 35 import android.view.inputmethod.EditorInfo [all...] |
/development/samples/Home/src/com/example/android/home/ |
ApplicationsStackLayout.java | 26 import android.view.View; 27 import android.view.ViewGroup; 28 import android.view.LayoutInflater; 61 public class ApplicationsStackLayout extends ViewGroup implements View.OnClickListener { 65 private View mButton; 252 final View view = createApplicationIcon(mInflater, this, info); local 254 layoutParams = view.getLayoutParams(); 257 view.measure(widthSpec, heightSpec) 295 final View view = getChildAt(i); local [all...] |
/development/samples/RSSReader/src/com/example/android/rssreader/ |
RssReader.java | 28 import android.view.Menu; 29 import android.view.MenuItem; 30 import android.view.View; 31 import android.view.View.OnClickListener; 32 import android.view.ViewGroup; 33 import android.view.LayoutInflater; 60 * <li>Override of getView() in the adapter provides the display view 138 public void onClick(View v) 175 TwoLineListItem view; local [all...] |
/development/samples/browseable/CardReader/src/com.example.android.cardreader/ |
CardReaderFragment.java | 23 import android.view.LayoutInflater; 24 import android.view.View; 25 import android.view.ViewGroup; 51 public View onCreateView(LayoutInflater inflater, ViewGroup container, 54 View v = inflater.inflate(R.layout.main_fragment, container, false);
|
/development/samples/browseable/FloatingActionButtonBasic/src/com.example.android.floatingactionbuttonbasic/ |
FloatingActionButton.java | 22 import android.view.View; 23 import android.view.ViewOutlineProvider; 28 * A Floating Action Button is a {@link android.widget.Checkable} view distinguished by a circled 42 * @param fabView The FAB view whose state has changed. 81 // Set the outline provider for this view. The provider is given the outline which it can 86 public void getOutline(View view, Outline outline) { 135 * Override performClick() so that we can toggle the checked state when the view is clicked
|
/development/samples/browseable/MediaBrowserService/src/com.example.android.mediabrowserservice/ |
QueueAdapter.java | 20 import android.view.LayoutInflater; 21 import android.view.View; 22 import android.view.ViewGroup; 51 public View getView(int position, View convertView, ViewGroup parent) {
|
/development/samples/training/AnimationsDemo/src/com/example/android/animationsdemo/ |
CrossfadeActivity.java | 25 import android.view.Menu; 26 import android.view.MenuItem; 27 import android.view.View; 33 * active view is toggled by touching the toggle button in the action bar. In real-world 46 * The view (or view group) containing the content. This is one of two overlapping views. 48 private View mContentView; 51 * The view containing the loading indicator. This is the other of two overlapping views. 53 private View mLoadingView [all...] |
/external/chromium_org/android_webview/java/src/org/chromium/android_webview/ |
AwZoomControls.java | 7 import android.view.Gravity; 8 import android.view.View; 9 import android.view.ViewGroup; 51 zoomController.getZoomControls().setVisibility(View.GONE); 60 View getZoomControlsViewForTest() { 73 View controls = mZoomButtonsController.getZoomControls(); 87 mZoomButtonsController.getZoomControls().setVisibility(View.VISIBLE);
|
/external/chromium_org/ash/keyboard_overlay/ |
keyboard_overlay_view.cc | 79 KeyboardOverlayView* view = local 81 delegate->Show(view); 83 Shell::GetInstance()->overlay_filter()->Activate(view);
|
/external/chromium_org/ash/system/chromeos/network/ |
network_state_list_detailed_view.h | 65 virtual void OnViewClicked(views::View* sender) OVERRIDE; 82 bool OrderChild(views::View* view, int index); 94 views::View* CreateNetworkInfoView(); 103 virtual views::View* CreateViewForNetwork( 105 virtual bool IsViewHovered(views::View* view) OVERRIDE; 107 virtual void UpdateViewForNetwork(views::View* view,
|
/external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/dom_distiller/ |
DistilledPagePrefsView.java | 11 import android.view.LayoutInflater; 12 import android.view.View; 13 import android.view.ViewGroup; 37 * A view which displays preferences for distilled pages. This allows users 43 // XML layout for View. 120 public View getView(int position, View convertView, ViewGroup parent) { 121 View view = super.getView(position, convertView, parent) [all...] |
/external/chromium_org/chrome/android/shell/java/src/org/chromium/chrome/shell/omnibox/ |
SuggestionArrayAdapter.java | 8 import android.view.LayoutInflater; 9 import android.view.View; 10 import android.view.ViewGroup; 37 public View getView(int position, View convertView, ViewGroup parent) { 38 View v = convertView; 55 arrow.setOnClickListener(new View.OnClickListener() { 57 public void onClick(View v) {
|
/external/chromium_org/chrome/browser/extensions/ |
extension_view_host_factory_browsertest.cc | 35 EXPECT_TRUE(host->view()); 46 EXPECT_TRUE(host->view()); 57 EXPECT_TRUE(host->view());
|
/external/chromium_org/chrome/browser/ui/app_list/ |
app_list_shower_views.cc | 102 // The app list view manages its own lifetime. 103 app_list::AppListView* view = local 106 view->InitAsBubbleAtFixedLocation(NULL, 111 return view;
|
/external/chromium_org/chrome/browser/ui/ash/accessibility/ |
automation_manager_ash.cc | 17 #include "ui/views/view.h" 41 views::View* view, 49 views::Widget* widget = view->GetWidget(); 62 views::AXAuraObjCache::GetInstance()->GetOrCreate(view);
|
/external/chromium_org/chrome/browser/ui/views/download/ |
download_shelf_view.h | 37 // DownloadShelfView is a view that contains individual views for each download, 53 void OpenedDownload(DownloadItemView* view); 62 // Implementation of View. 90 // Removes a specified download view. The supplied view is deleted after 92 void RemoveDownloadView(views::View* view); 101 virtual views::View* GetDefaultFocusableChild() OVERRIDE; 104 // Adds a View representing a download to this DownloadShelfView. 105 // DownloadShelfView takes ownership of the View, and will delete it a [all...] |
/external/chromium_org/courgette/ |
memory_allocator.cc | 77 void* FileMapping::view() const { function in class:courgette::FileMapping 104 TempMapping** write = reinterpret_cast<TempMapping**>(mapping_.view()); 111 uint8* mem = reinterpret_cast<uint8*>(mapping_.view()); 112 // The 'this' pointer is written at the start of mapping_.view(), so
|
/external/chromium_org/ppapi/examples/mouse_cursor/ |
mouse_cursor.cc | 13 #include "ppapi/cpp/view.h" 37 virtual void DidChangeView(const pp::View& view) { 38 width_ = view.GetRect().width(); 39 height_ = view.GetRect().height();
|
/external/chromium_org/third_party/WebKit/Source/core/frame/ |
PinchViewport.cpp | 123 if (!mainFrame() || !mainFrame()->view()) 126 FloatRect viewRect = mainFrame()->view()->visibleContentRect(); 134 if (!mainFrame() || !mainFrame()->view()) 137 FrameView* view = mainFrame()->view(); 146 view->setScrollPosition(flooredIntPoint(targetOffset)); 148 FloatPoint remainder = FloatPoint(targetOffset - view->scrollPosition()); 356 // This method should return the bounding box in the parent view's coordinate 362 if (!frame || !frame->view()) 365 return frame->view()->frameRect() [all...] |
/external/chromium_org/third_party/WebKit/Source/core/loader/ |
DocumentWriter.cpp | 61 if (FrameView* view = m_document->frame()->view()) 62 view->setContentsSize(IntSize());
|
/external/chromium_org/third_party/libaddressinput/src/java/src/com/android/i18n/addressinput/ |
AddressUiComponent.java | 19 import android.view.View; 47 // The View representing the UI component 48 private View mView; 149 void setView(View view) { 150 mView = view; 153 View getView() {
|
/external/chromium_org/third_party/skia/src/views/ |
SkViewPriv.cpp | 12 void SkView::Artist::draw(SkView* view, SkCanvas* canvas) 14 SkASSERT(view && canvas); 15 this->onDraw(view, canvas);
|
/external/chromium_org/tools/deep_memory_profiler/visualizer/ |
template.py | 26 <script src="../visualizer/static/graph-view.js"></script> 27 <script src="../visualizer/static/dropdown-view.js"></script> 28 <script src="../visualizer/static/menu-view.js"></script>
|