/development/samples/ApiDemos/src/com/example/android/apis/app/ |
Intents.java | 24 import android.view.View; 25 import android.view.View.OnClickListener; 36 public void onGetMusic(View view) { 42 public void onGetImage(View view) { 48 public void onGetStream(View view) { [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/view/ |
List12.java | 17 package com.example.android.apis.view; 21 import android.view.KeyEvent; 22 import android.view.View; 23 import android.view.View.OnClickListener; 24 import android.view.View.OnKeyListener; 33 * Demonstrates the using a list view in transcript mode 60 public void onClick(View v) [all...] |
TextSwitcher1.java | 17 package com.example.android.apis.view; 23 import android.view.Gravity; 24 import android.view.View; 25 import android.view.animation.Animation; 26 import android.view.animation.AnimationUtils; 36 View.OnClickListener { 64 public void onClick(View v) { 73 public View makeView() {
|
/development/samples/Support4Demos/src/com/example/android/supportv4/accessibility/ |
AccessibilityDelegateSupportActivity.java | 22 import android.support.v4.view.AccessibilityDelegateCompat; 23 import android.support.v4.view.ViewCompat; 24 import android.support.v4.view.accessibility.AccessibilityNodeInfoCompat; 26 import android.view.View; 27 import android.view.accessibility.AccessibilityEvent; 33 * a View.AccessibilityDelegate that customizes the accessibility 34 * behavior of a View. Aiming to maximize simplicity this example 37 * a View. 51 * This class represents a View that is customized via an AccessibilityDelegat [all...] |
/development/samples/browseable/BasicGestureDetect/src/com.example.android.basicgesturedetect/ |
BasicGestureDetectFragment.java | 22 import android.view.GestureDetector; 23 import android.view.MenuItem; 24 import android.view.MotionEvent; 25 import android.view.View; 40 View gestureView = getActivity().findViewById(R.id.sample_output); 51 /* For the view where gestures will occur, create an onTouchListener that sends 57 gestureView.setOnTouchListener(new View.OnTouchListener() { 59 public boolean onTouch(View view, MotionEvent motionEvent) [all...] |
/development/samples/browseable/GridViewPager/Wearable/src/com.example.android.wearable.gridviewpager/ |
MainActivity.java | 22 import android.support.wearable.view.DotsPageIndicator; 23 import android.support.wearable.view.GridViewPager; 24 import android.view.View; 25 import android.view.View.OnApplyWindowInsetsListener; 26 import android.view.WindowInsets; 38 public WindowInsets onApplyWindowInsets(View v, WindowInsets insets) {
|
/external/chromium_org/android_webview/java/src/org/chromium/android_webview/ |
AwViewMethods.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; 18 * An interface that defines a subset of the {@link View} functionality. 27 * @see android.view.View#onDraw 32 * @see android.view.View#onMeasur [all...] |
/external/chromium_org/chrome/browser/resources/chromeos/login/ |
oobe_screen_reset.css | 68 .powerwash-proposal-view .powerwash-proposal-specific, 69 .powerwash-confirm-view .powerwash-confirm-specific, 70 .rollback-confirm-view .rollback-confirm-specific, 71 .restart-required-view .restart-required-specific, 72 .revert-promise-view .revert-promise-specific { 79 .revert-promise-view #reset-controls { 83 .restart-required-view #reset-restart-button, 84 .powerwash-confirm-view #reset-button, 85 .rollback-confirm-view #reset-button, 86 .powerwash-proposal-view #reset-toconfirm-button [all...] |
/external/chromium_org/chrome/browser/ui/cocoa/ |
url_drop_target.h | 13 // Object which coordinates the dropping of URLs on a given view, sending data 23 // Initialize the given view, which must implement the |URLDropTarget| (below), 25 - (id)initWithView:(NSView<URLDropTarget>*)view; 27 // The owner view should implement the following methods by calling the 57 // is supported by the web view. In particular, if the content is a local file 61 // The given URLs (an |NSArray| of |NSString|s) were dropped in the given view 62 // at the given point (in that view's coordinates). 63 - (void)dropURLs:(NSArray*)urls inView:(NSView*)view at:(NSPoint)point; 65 // The given text was dropped in the given view at the given point (in that 66 // view's coordinates) [all...] |
/external/chromium_org/extensions/renderer/ |
render_view_observer_natives.cc | 22 content::RenderView* view, 24 : content::RenderViewObserver(view), context_(context), callback_(cb) {} 66 content::RenderView* view = content::RenderView::FromRoutingID(view_id); local 67 if (!view) { 68 LOG(WARNING) << "No render view found to register LoadWatcher."; 72 new LoadWatcher(context(), view, args[1].As<v8::Function>()); local
|
/external/chromium_org/third_party/WebKit/Source/core/page/ |
AutoscrollController.cpp | 96 if (FrameView* view = scrollable->frame()->view()) { 97 view->removePanScrollIcon(); 98 view->setCursor(pointerCursor()); 205 if (FrameView* view = scrollable->frame()->view()) 206 view->addPanScrollIcon(lastKnownMousePosition); 248 if (FrameView* view = m_autoscrollRenderer->frame()->view()) 249 updatePanScrollState(view, eventHandler.lastKnownMousePosition()) [all...] |
/external/chromium_org/ui/views/ |
view_model.h | 17 class View; 29 // Adds |view| to this model. This does not add |view| to a view hierarchy, 31 void Add(View* view, int index); 33 // Removes the view at the specified index. This does not actually remove the 34 // view from the view hierarchy. 37 // Moves the view at |index| to |target_index|. |target_index| is in term 77 View* view; member in struct:views::ViewModel::Entry [all...] |
/external/javassist/sample/duplicate/ |
Viewer.java | 70 Viewer view = new Viewer();
local 71 f.addWindowListener(view);
72 f.add(view);
74 view.init();
75 view.start();
|
/frameworks/base/core/java/android/preference/ |
CheckBoxPreference.java | 22 import android.view.View; 63 protected void onBindView(View view) { 64 super.onBindView(view); 66 View checkboxView = view.findViewById(com.android.internal.R.id.checkbox); 71 syncSummaryView(view);
|
/frameworks/base/core/java/com/android/internal/view/menu/ |
ContextMenuBuilder.java | 17 package com.android.internal.view.menu; 23 import android.view.ContextMenu; 24 import android.view.View; 27 * Implementation of the {@link android.view.ContextMenu} interface. 31 * is not a content view of a Dialog or Activity (for example, the 32 * view was added directly to the window manager) and needs to show 37 * call {@link #show(View, IBinder)} which will populate the menu 38 * with a view's context menu items and show the context menu. 62 public ContextMenu setHeaderView(View view) [all...] |
/frameworks/base/core/tests/coretests/src/android/widget/layout/table/ |
AddColumn.java | 23 import android.view.View; 39 addRowButton.setOnClickListener(new View.OnClickListener() { 40 public void onClick(View v) { 44 final TextView view = new TextView(AddColumn.this); 45 view.setText("Column " + (i + 1)); 46 view.setPadding(3, 3, 3, 3); 47 newRow.addView(view, new TableRow.LayoutParams());
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/ |
AmbientState.java | 19 import android.view.View; 28 private ArrayList<View> mDraggedViews = new ArrayList<View>(); 46 public void onBeginDrag(View view) { 47 mDraggedViews.add(view); 50 public void onDragFinished(View view) { 51 mDraggedViews.remove(view); [all...] |
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
Animated3dActivity.java | 28 import android.view.View; 38 ImageView view = new ImageView(this); local 39 view.setImageResource(R.drawable.large_photo); 41 setContentView(view, new FrameLayout.LayoutParams( 45 ObjectAnimator animator = ObjectAnimator.ofFloat(view, "rotationY", 0.0f, 360.0f);
|
Bitmaps3dActivity.java | 27 import android.view.Gravity; 28 import android.view.View; 36 final BitmapsView view = new BitmapsView(this); local 38 layout.addView(view, new FrameLayout.LayoutParams(800, 400, Gravity.CENTER)); 39 view.setRotationX(-35.0f); 43 static class BitmapsView extends View {
|
Rotate3dTextActivity.java | 24 import android.view.View; 38 Rotate3dTextView view = new Rotate3dTextView(this); local 39 layout.addView(view, makeLayoutParams()); 41 view = new Rotate3dTextView(this); 44 container.setLayerType(View.LAYER_TYPE_HARDWARE, null); 45 container.addView(view); 59 public static class Rotate3dTextView extends View {
|
/frameworks/base/tests/ImfTest/src/com/android/imftest/samples/ |
ManyEditTextActivityNoScrollPanScan.java | 21 import android.view.KeyEvent; 22 import android.view.View; 23 import android.view.ViewGroup; 24 import android.view.WindowManager; 26 import android.view.inputmethod.InputMethodManager; 41 private View mRootView; 62 public View getRootView() {
|
ManyEditTextActivityScrollPanScan.java | 21 import android.view.KeyEvent; 22 import android.view.View; 23 import android.view.ViewGroup; 24 import android.view.WindowManager; 26 import android.view.inputmethod.InputMethodManager; 41 private View mRootView; 65 public View getRootView() {
|
OneEditTextActivityNotSelected.java | 22 import android.view.KeyEvent; 23 import android.view.View; 24 import android.view.ViewGroup; 25 import android.view.WindowManager; 27 import android.view.inputmethod.InputMethodManager; 36 * Activity with non-EditText view selected initially 40 private View mRootView; 41 private View mDefaultFocusedView; 65 public View getRootView() [all...] |
OneEditTextActivitySelected.java | 21 import android.view.KeyEvent; 22 import android.view.View; 23 import android.view.ViewGroup; 24 import android.view.WindowManager; 26 import android.view.inputmethod.InputMethodManager; 39 private View mRootView; 40 private View mDefaultFocusedView; 64 public View getRootView() { 68 public View getDefaultFocusedView() [all...] |
/frameworks/base/tests/MusicServiceDemo/src/com/example/android/musicservicedemo/ |
MainActivity.java | 21 import android.view.LayoutInflater; 22 import android.view.Menu; 23 import android.view.MenuItem; 24 import android.view.View; 25 import android.view.ViewGroup; 53 * @see android.app.Activity#onCreateOptionsMenu(android.view.Menu) 65 * @see android.app.Activity#onOptionsItemSelected(android.view.MenuItem) 80 * A placeholder fragment containing a simple view. 90 * android.support.v4.app.Fragment#onCreateView(android.view.LayoutInflate [all...] |