/development/samples/ApiDemos/src/com/example/android/apis/app/ |
FragmentLayout.java | 30 import android.view.LayoutInflater; 31 import android.view.View; 32 import android.view.ViewGroup; 103 View detailsFrame = getActivity().findViewById(R.id.details); 104 mDualPane = detailsFrame != null && detailsFrame.getVisibility() == View.VISIBLE; 112 // In dual-pane mode, the list view highlights the selected item. 126 public void onListItemClick(ListView l, View v, int position, long id) { 200 public View onCreateView(LayoutInflater inflater, ViewGroup container, 206 // no reason to try to create its view hierarchy because i [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
PictureLayout.java | 25 import android.view.View; 26 import android.view.ViewGroup; 27 import android.view.ViewParent; 41 public void addView(View child) { 50 public void addView(View child, int index) { 59 public void addView(View child, LayoutParams params) { 68 public void addView(View child, int index, LayoutParams params) { 89 final View child = getChildAt(i); 150 final View child = getChildAt(i) [all...] |
/development/samples/BluetoothChat/src/com/example/android/BluetoothChat/ |
DeviceListActivity.java | 30 import android.view.View; 31 import android.view.Window; 32 import android.view.View.OnClickListener; 73 public void onClick(View v) { 75 v.setVisibility(View.GONE); 110 findViewById(R.id.title_paired_devices).setVisibility(View.VISIBLE); 144 findViewById(R.id.title_new_devices).setVisibility(View.VISIBLE); 157 public void onItemClick(AdapterView<?> av, View v, int arg2, long arg3) [all...] |
/development/samples/SoftKeyboard/src/com/android/inputmethodcommon/ |
InputMethodSettingsImpl.java | 33 import android.view.inputmethod.InputMethodInfo; 34 import android.view.inputmethod.InputMethodManager; 35 import android.view.inputmethod.InputMethodSubtype;
|
/development/samples/Support4Demos/src/com/example/android/supportv4/app/ |
FragmentLayoutSupport.java | 31 import android.view.LayoutInflater; 32 import android.view.View; 33 import android.view.ViewGroup; 106 View detailsFrame = getActivity().findViewById(R.id.details); 107 mDualPane = detailsFrame != null && detailsFrame.getVisibility() == View.VISIBLE; 115 // In dual-pane mode, the list view highlights the selected item. 129 public void onListItemClick(ListView l, View v, int position, long id) { 199 public View onCreateView(LayoutInflater inflater, ViewGroup container, 205 // no reason to try to create its view hierarchy because i [all...] |
FragmentTabsPager.java | 25 import android.support.v4.view.ViewPager; 26 import android.view.View; 27 import android.view.ViewGroup; 78 * trick. Normally a tab host has a simple API for supplying a View or 82 * view to show as the tab content. It listens to changes in tabs, and takes 113 public View createTabContent(String tag) { 114 View v = new View(mContext);
|
/development/samples/browseable/DelayedConfirmation/Wearable/src/com.example.android.wearable.delayedconfirmation/ |
MainActivity.java | 23 import android.support.wearable.view.DelayedConfirmationView; 25 import android.view.View; 80 public void onStartTimer(View view) { 86 public void onTimerSelected(View v) { 101 public void onTimerFinished(View v) {
|
/development/samples/browseable/SkeletonWearableApp/Wearable/src/com.example.android.google.wearable.app/ |
GridExampleActivity.java | 33 import android.support.wearable.view.CardFragment; 34 import android.support.wearable.view.FragmentGridPagerAdapter; 35 import android.support.wearable.view.GridViewPager;
|
/development/samples/devbytes/animation/ListViewCellInsertion/src/com/example/android/insertingcells/ |
CustomArrayAdapter.java | 29 import android.view.LayoutInflater; 30 import android.view.View; 31 import android.view.ViewGroup; 89 public View getView(int position, View convertView, ViewGroup parent) {
|
/development/samples/devbytes/animation/ListViewExpandingCells/src/com/example/android/expandingcells/ |
CustomArrayAdapter.java | 29 import android.view.LayoutInflater; 30 import android.view.View; 31 import android.view.ViewGroup; 60 * the layout parameters of the item's view so that the image and title are centered 61 * in the bounds of the collapsed view, and such that the extra text is not displayed 65 public View getView(int position, View convertView, ViewGroup parent) { 98 expandingLayout.setVisibility(View.GONE); 100 expandingLayout.setVisibility(View.VISIBLE) [all...] |
/development/samples/devbytes/animation/PropertyAnimations/src/com/example/android/propertyanimations/ |
PropertyAnimations.java | 27 import android.view.View; 33 * various view animations. Compare this approach to that of the ViewAnimations demo, which 57 View.ALPHA, 0); 63 ObjectAnimator.ofFloat(translateButton, View.TRANSLATION_X, 800); 69 ObjectAnimator.ofFloat(rotateButton, View.ROTATION, 360); 75 PropertyValuesHolder pvhX = PropertyValuesHolder.ofFloat(View.SCALE_X, 2); 76 PropertyValuesHolder pvhY = PropertyValuesHolder.ofFloat(View.SCALE_Y, 2); 95 private void setupAnimation(View view, final Animator animation, final int animationID) [all...] |
/development/samples/training/threadsample/src/com/example/android/threadsample/ |
PhotoView.java | 26 import android.view.View; 34 * This class extends the standard Android ImageView View class with some features 54 * a View ensures that the reference is more transitory in nature. 56 private WeakReference<View> mThisView; 58 // Contains the ID of the internal View 69 * @param context A context for the View 77 * @param context A Context to use with the View 78 * @param attributeSet The entire set of attributes for the View 89 * @param context A context for the View [all...] |
/device/google/accessory/demokit/app/src/com/google/android/DemoKit/ |
ColorLEDController.java | 10 import android.view.View; 11 import android.view.View.OnClickListener; 12 import android.view.ViewGroup; 51 public void onClick(View v) {
|
/external/chromium_org/ash/shell/ |
widgets.cc | 32 // Overridden from views::View: 38 virtual views::View* GetContentsView() OVERRIDE; 109 views::View* view = child_at(i); local 110 gfx::Size preferred = view->GetPreferredSize(); 111 view->SetBounds(left, top, preferred.width(), preferred.height()); 120 views::View* WidgetsWindow::GetContentsView() {
|
/external/chromium_org/ash/system/tray/ |
tray_details_view.cc | 19 class ScrollSeparator : public views::View { 26 // Overriden from views::View. 46 virtual void Paint(const views::View& view, gfx::Canvas* canvas) OVERRIDE { 49 canvas->FillRect(gfx::Rect(0, view.height() - 1, view.width(), 1), 90 scroll_content_ = new views::View; 130 views::View::Layout(); 139 // bottom row of the detailed view will always stay just above the footer. 146 views::View::Layout() [all...] |
/external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/infobar/ |
InfoBarLayout.java | 14 import android.view.Gravity; 15 import android.view.LayoutInflater; 16 import android.view.View; 17 import android.view.ViewGroup; 40 public class InfoBarLayout extends ViewGroup implements View.OnClickListener { 52 // Where this view will be laid out. These values are assigned in onMeasure() and used in 67 public View[] views; 70 * The gravity of each view in Group. Must be either Gravity.START, Gravity.END, or 120 * These values are used during onMeasure() to track where the next view will be placed [all...] |
/external/chromium_org/chrome/browser/ui/app_list/ |
app_list_service_views_browsertest.cc | 33 return ash::test::AppListControllerTestApi(ash::Shell::GetInstance()).view(); 46 explicit AppListViewTestApi(app_list::AppListView* view) : view_(view) {} 70 // Since the profile is loaded, this will create a view immediately. This is
|
/external/chromium_org/chrome/browser/ui/cocoa/tabs/ |
tab_strip_controller.h | 82 // Access to the TabContentsControllers (which own the parent view 143 // A container view for the window controls, which must be manually added in 151 // Initialize the controller with a view and browser that contains 152 // everything else we'll need. |switchView| is the view whose contents get 153 // "switched" every time the user switches tabs. The children of this view 158 - (id)initWithView:(TabStripView*)view 169 // Return the view for the currently active tab. 186 // strip. |frame| is in the coordinate system of the tab strip view and 199 // Returns the index of the subview |view|. Returns -1 if not present. Takes 201 // model. If |view| is in the process of closing, returns -1, as closing tab [all...] |
/external/chromium_org/chrome/browser/ui/views/bookmarks/ |
bookmark_drag_drop_views.cc | 29 gfx::NativeView view, 47 views::Widget* widget = views::Widget::GetWidgetForNativeView(view); 54 views::RunShellDrag(view, data, gfx::Point(), operation, source);
|
/external/chromium_org/chrome/browser/ui/views/ |
constrained_web_dialog_delegate_views.cc | 67 views::WebView* view) 69 new WebDialogWebContentsDelegateViews(context, web_contents, view)), 70 view_(view) {} 139 virtual views::View* GetInitiallyFocusedView() OVERRIDE { 147 return View::GetWidget(); 150 return View::GetWidget(); 156 virtual views::View* GetContentsView() OVERRIDE {
|
dropdown_bar_host.cc | 36 void DropdownBarHost::Init(views::View* host_view, 37 views::View* view, 39 DCHECK(view); 42 view_ = view; 77 // Stores the currently focused view, and tracks focus changes so that we can 137 void DropdownBarHost::OnWillChangeFocus(views::View* focused_before, 138 views::View* focused_now) { 140 // views of our view. 160 void DropdownBarHost::OnDidChangeFocus(views::View* focused_before [all...] |
/external/chromium_org/chrome/browser/ui/views/extensions/ |
extension_view_views.cc | 30 // This view needs to be focusable so it can act as the focused view for the 44 // behavior as views::View). 53 // is not part of the View hierarchy and does not know about the change 136 // focus to the next focusable view). Also handle Backspace, since otherwise 151 View::PreferredSizeChanged(); 172 // We wait to show the ExtensionViewViews until it has loaded, and the view 194 scoped_ptr<ExtensionViewViews> view(new ExtensionViewViews(host, browser)); 195 // We own |view_|, so don't auto delete when it's removed from the view 197 view->set_owned_by_client() [all...] |
/external/chromium_org/content/public/android/java/src/org/chromium/content/browser/ |
ContentViewRenderView.java | 10 import android.view.Surface; 11 import android.view.SurfaceHolder; 12 import android.view.SurfaceView; 20 * This view is used by a ContentView to render its content. 22 * managing the view. 38 * This should be called and the {@link ContentViewRenderView} should be added to the view 60 * @param rootWindow The {@link WindowAndroid} this render view should be linked to. 114 * Sets the background color of the surface view. This method is necessary because the 160 * This method should be subclassed to provide actions to be performed once the view is ready to 177 * @return whether the surface view is initialized and ready to render [all...] |
SelectActionModeCallback.java | 9 import android.view.ActionMode; 10 import android.view.Menu; 11 import android.view.MenuItem;
|
/external/chromium_org/content/public/android/javatests/src/org/chromium/content/browser/ |
ContentViewScrollingTest.java | 11 import android.view.KeyEvent; 12 import android.view.MotionEvent; 13 import android.view.View; 47 public boolean drawChild(Canvas canvas, View child, long drawingTime) {
|