/cts/tests/tests/view/src/android/view/cts/ |
LayoutInflaterTest.java | 17 package android.view.cts; 39 import android.view.Gravity; 40 import android.view.InflateException; 41 import android.view.LayoutInflater; 42 import android.view.View; 43 import android.view.ViewGroup; 44 import android.view.LayoutInflater.Factory; 45 import android.view.LayoutInflater.Filter; 54 public View onCreateView(String name, Context context 206 View view = null; local 293 View view = mLayoutInflater.inflate( local 331 View view = mLayoutInflater.inflate( local 378 View view = mLayoutInflater.inflate(parser, null); local 437 View view = mLayoutInflater.inflate(parser, null, false); local [all...] |
ViewDebugTest.java | 17 package android.view.cts; 26 import android.view.View; 27 import android.view.ViewDebug; 28 import android.view.ViewDebug.HierarchyTraceType; 29 import android.view.ViewDebug.RecyclerTraceType; 48 args = {String.class, View.class} 53 args = {View.class, RecyclerTraceType.class, int[].class} 64 View ownerView = new View(getContext()) 65 View view = new View(getContext()); local [all...] |
/external/chromium/chrome/browser/ui/cocoa/ |
url_drop_target.h | 14 // Object which coordinates the dropping of URLs on a given view, sending data 24 // Initialize the given view, which must implement the |URLDropTarget| (below), 26 - (id)initWithView:(NSView<URLDropTarget>*)view; 28 // The owner view should implement the following methods by calling the 57 // The given URLs (an |NSArray| of |NSString|s) were dropped in the given view 58 // at the given point (in that view's coordinates). 59 - (void)dropURLs:(NSArray*)urls inView:(NSView*)view at:(NSPoint)point; 61 // The given text was dropped in the given view at the given point (in that 62 // view's coordinates). 63 - (void)dropText:(NSString*)text inView:(NSView*)view at:(NSPoint)point [all...] |
/external/webkit/Source/WebCore/dom/ |
TextEvent.cpp | 39 PassRefPtr<TextEvent> TextEvent::create(PassRefPtr<AbstractView> view, const String& data, TextEventInputType inputType) 41 return adoptRef(new TextEvent(view, data, inputType)); 44 PassRefPtr<TextEvent> TextEvent::createForPlainTextPaste(PassRefPtr<AbstractView> view, const String& data, bool shouldSmartReplace) 46 return adoptRef(new TextEvent(view, data, 0, shouldSmartReplace, false)); 49 PassRefPtr<TextEvent> TextEvent::createForFragmentPaste(PassRefPtr<AbstractView> view, PassRefPtr<DocumentFragment> data, bool shouldSmartReplace, bool shouldMatchStyle) 51 return adoptRef(new TextEvent(view, "", data, shouldSmartReplace, shouldMatchStyle)); 54 PassRefPtr<TextEvent> TextEvent::createForDrop(PassRefPtr<AbstractView> view, const String& data) 56 return adoptRef(new TextEvent(view, data, TextEventInputDrop)); 66 TextEvent::TextEvent(PassRefPtr<AbstractView> view, const String& data, TextEventInputType inputType) 67 : UIEvent(eventNames().textInputEvent, true, true, view, 0 [all...] |
/frameworks/base/core/java/android/view/ |
ViewParent.java | 17 package android.view; 20 import android.view.accessibility.AccessibilityEvent; 23 * Defines the responsibilities for a class that will be a parent of a View. 24 * This is the API that a view sees when it wants to interact with its parent. 30 * child of this view parent. This will schedule a layout pass of the view 36 * Indicates whether layout was requested on this view parent. 43 * Called when a child wants the view hierarchy to gather and report 45 * the view hierarchy, such as SurfaceView can use this API to improve 46 * performance of the system. When no such a view is present in th [all...] |
/frameworks/base/core/tests/coretests/src/android/widget/focus/ |
FocusAfterRemoval.java | 25 import android.view.View; 42 topLeftButton.setOnClickListener(new View.OnClickListener() { 44 public void onClick(View v) { 45 left.setVisibility(View.GONE); 52 bottomLeftButton.setOnClickListener(new View.OnClickListener() { 54 public void onClick(View v) { 55 left.setVisibility(View.INVISIBLE); 61 topRightButton.setOnClickListener(new View.OnClickListener() { 63 public void onClick(View v) [all...] |
/frameworks/base/media/tests/CameraBrowser/src/com/android/camerabrowser/ |
StorageBrowser.java | 26 import android.view.LayoutInflater; 27 import android.view.View; 28 import android.view.ViewGroup; 36 * A list view displaying all storage units on a device. 72 public View getView(int position, View convertView, ViewGroup parent) { 73 TextView view; local 75 view = (TextView)mInflater.inflate( 78 view = (TextView)convertView [all...] |
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
ViewFlipperActivity.java | 21 import android.view.Gravity; 22 import android.view.LayoutInflater; 23 import android.view.View; 36 final View widget = inflater.inflate(R.layout.widget, null); 41 View view = inflater.inflate(R.layout.flipper_item, flipper, false); local 42 flipper.addView(view); 43 ((ImageView) view.findViewById(R.id.widget_image)).setImageResource(R.drawable.sunset1); 44 ((TextView) view.findViewById(R.id.widget_text)).setText("This is a long line of text, " [all...] |
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/ |
CellBroadcastListAdapter.java | 21 import android.view.LayoutInflater; 22 import android.view.View; 23 import android.view.ViewGroup; 37 * Makes a new view to hold the data pointed to by cursor. 41 * @param parent The parent to which the new view is attached to 42 * @return the newly created view. 44 public View newView(Context context, Cursor cursor, ViewGroup parent) { 56 * Bind an existing view to the data pointed to by cursor 57 * @param view Existing view, returned earlier by newVie [all...] |
/packages/apps/Contacts/src/com/android/contacts/ |
PhoneCallDetailsViews.java | 22 import android.view.View; 30 public final View callTypeView; 35 private PhoneCallDetailsViews(TextView nameView, View callTypeView, 45 * Create a new instance by extracting the elements from the given view. 47 * The view should contain three text views with identifiers {@code R.id.name}, 51 public static PhoneCallDetailsViews fromView(View view) { 52 return new PhoneCallDetailsViews((TextView) view.findViewById(R.id.name), 53 view.findViewById(R.id.call_type) [all...] |
/cts/tests/tests/widget/src/android/widget/cts/ |
ToastTest.java | 33 import android.view.Gravity; 34 import android.view.View; 35 import android.view.WindowManager; 36 import android.view.animation.cts.DelayedCheck; 80 private void assertShowToast(final View view) { 84 return null != view.getParent(); 89 private void assertShowAndHide(final View view) { 118 final View view = mToast.getView(); local 168 final View view = mToast.getView(); local 242 View view = mToast.getView(); local 287 View view = mToast.getView(); local [all...] |
/external/chromium/chrome/browser/ui/views/ |
theme_background.h | 14 class View; 22 // view in such a way that it's consistent with the frame's theme 24 // the offset from the frame view. 33 virtual void Paint(gfx::Canvas* canvas, views::View* view) const;
|
/frameworks/base/core/java/com/android/internal/view/ |
IInputConnectionCallback.aidl | 17 package com.android.internal.view; 20 import android.view.KeyEvent; 21 import android.view.MotionEvent; 22 import android.view.inputmethod.TextBoxAttribute; 23 import com.android.internal.view.IInputContext;
|
/frameworks/base/tests/BiDiTests/src/com/android/bidi/ |
BiDiTestFrameLayoutLocale.java | 21 import android.view.LayoutInflater; 22 import android.view.View; 23 import android.view.ViewGroup; 28 public View onCreateView(LayoutInflater inflater, ViewGroup container,
|
BiDiTestFrameLayoutLtr.java | 21 import android.view.LayoutInflater; 22 import android.view.View; 23 import android.view.ViewGroup; 28 public View onCreateView(LayoutInflater inflater, ViewGroup container,
|
BiDiTestFrameLayoutRtl.java | 21 import android.view.LayoutInflater; 22 import android.view.View; 23 import android.view.ViewGroup; 28 public View onCreateView(LayoutInflater inflater, ViewGroup container,
|
BiDiTestLinearLayoutLocale.java | 21 import android.view.LayoutInflater; 22 import android.view.View; 23 import android.view.ViewGroup; 28 public View onCreateView(LayoutInflater inflater, ViewGroup container,
|
BiDiTestLinearLayoutLtr.java | 21 import android.view.LayoutInflater; 22 import android.view.View; 23 import android.view.ViewGroup; 28 public View onCreateView(LayoutInflater inflater, ViewGroup container,
|
BiDiTestLinearLayoutRtl.java | 21 import android.view.LayoutInflater; 22 import android.view.View; 23 import android.view.ViewGroup; 28 public View onCreateView(LayoutInflater inflater, ViewGroup container,
|
BiDiTestRelativeLayout2Locale.java | 21 import android.view.LayoutInflater; 22 import android.view.View; 23 import android.view.ViewGroup; 28 public View onCreateView(LayoutInflater inflater, ViewGroup container,
|
BiDiTestRelativeLayout2Ltr.java | 21 import android.view.LayoutInflater; 22 import android.view.View; 23 import android.view.ViewGroup; 28 public View onCreateView(LayoutInflater inflater, ViewGroup container,
|
BiDiTestRelativeLayout2Rtl.java | 21 import android.view.LayoutInflater; 22 import android.view.View; 23 import android.view.ViewGroup; 28 public View onCreateView(LayoutInflater inflater, ViewGroup container,
|
BiDiTestRelativeLayoutLtr.java | 21 import android.view.LayoutInflater; 22 import android.view.View; 23 import android.view.ViewGroup; 28 public View onCreateView(LayoutInflater inflater, ViewGroup container,
|
BiDiTestRelativeLayoutRtl.java | 21 import android.view.LayoutInflater; 22 import android.view.View; 23 import android.view.ViewGroup; 28 public View onCreateView(LayoutInflater inflater, ViewGroup container,
|
BiDiTestTableLayoutLocale.java | 21 import android.view.LayoutInflater; 22 import android.view.View; 23 import android.view.ViewGroup; 28 public View onCreateView(LayoutInflater inflater, ViewGroup container,
|