/cts/tests/tests/widget/src/android/widget/cts/ |
SimpleCursorTreeAdapterTest.java | 28 import android.view.View; 96 TextView view = new TextView(mContext); local 97 view.setId(R.id.cursorAdapter_item0); 98 mSimpleCursorTreeAdapter.bindChildView(view, null, mChildCursor, true); 99 assertEquals("child02", view.getText().toString()); 102 mSimpleCursorTreeAdapter.bindChildView(view, null, mChildCursor, false); 103 assertEquals("child12", view.getText().toString()); 113 TextView view = new TextView(mContext); local 114 view.setId(R.id.cursorAdapter_group0) 130 ImageView view = new ImageView(mContext); local [all...] |
/external/chromium_org/content/public/android/java/src/org/chromium/content/browser/ |
ActivityContentVideoViewClient.java | 8 import android.view.Gravity; 9 import android.view.View; 10 import android.view.ViewGroup; 11 import android.view.WindowManager; 21 private View mView; 28 public void onShowCustomView(View view) { 33 mActivity.getWindow().addContentView(view, 38 mView = view; [all...] |
/external/chromium_org/content/public/test/android/javatests/src/org/chromium/content/browser/test/util/ |
TestInputMethodManagerWrapper.java | 9 import android.view.inputmethod.EditorInfo; 10 import android.view.inputmethod.InputConnection; 11 import android.view.View; 28 public void restartInput(View view) { 34 public void showSoftInput(View view, int flags, ResultReceiver resultReceiver) { 42 public boolean isActive(View view) { [all...] |
/external/chromium_org/ui/views/ |
drag_utils.cc | 32 gfx::NativeView view = widget->GetNativeView(); local 33 gfx::Display display = gfx::Screen::GetScreenFor(view)-> 34 GetDisplayNearestWindow(view); 44 void RunShellDrag(gfx::NativeView view, 51 aura::RootWindow* root_window = view->GetRootWindow(); 52 aura::Window::ConvertPointToTarget(view, root_window, &root_location); 55 data, root_window, view, root_location, operation, source);
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/internal/policy/ |
PolicyManager.java | 24 import android.view.BridgeInflater; 25 import android.view.FallbackEventHandler; 26 import android.view.KeyEvent; 27 import android.view.LayoutInflater; 28 import android.view.View; 29 import android.view.Window; 30 import android.view.WindowManagerPolicy; 59 public void setView(View v) {
|
/frameworks/base/tools/layoutlib/create/tests/data/ |
mock_android.jar | |
/frameworks/ex/chips/src/com/android/ex/chips/ |
SingleRecipientArrayAdapter.java | 21 import android.view.LayoutInflater; 22 import android.view.View; 23 import android.view.ViewGroup; 42 public View getView(int position, View convertView, ViewGroup parent) { 50 private View newView() { 54 private static void bindView(View view, RecipientEntry entry) { 55 TextView display = (TextView) view.findViewById(android.R.id.title) [all...] |
/frameworks/support/v7/appcompat/src/android/support/v7/internal/view/menu/ |
MenuItemWrapperJB.java | 17 package android.support.v7.internal.view.menu; 19 import android.support.v4.view.ActionProvider; 20 import android.view.MenuItem; 21 import android.view.View; 24 MenuItemWrapperJB(android.view.MenuItem object) { 36 android.view.ActionProvider.VisibilityListener mListener; 43 public View onCreateActionView(MenuItem forItem) { 64 android.view.ActionProvider.VisibilityListener listener) {
|
/packages/apps/Dialer/src/com/android/dialer/ |
PhoneCallDetailsViews.java | 20 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...] |
/packages/apps/Dialer/src/com/android/dialer/calllog/ |
CallLogListItemViews.java | 20 import android.view.View; 35 /** The primary action view of the entry. */ 36 public final View primaryActionView; 44 private CallLogListItemViews(QuickContactBadge quickContactView, View primaryActionView, 54 public static CallLogListItemViews fromView(View view) { 56 (QuickContactBadge) view.findViewById(R.id.quick_contact_photo), 57 view.findViewById(R.id.primary_action_view), 58 (ImageView) view.findViewById(R.id.secondary_action_icon) [all...] |
/cts/tests/tests/app/src/android/app/cts/ |
LaunchTest.java | 32 import android.view.ContextMenu; 33 import android.view.KeyEvent; 34 import android.view.Menu; 35 import android.view.MenuItem; 36 import android.view.MotionEvent; 37 import android.view.View; 38 import android.view.ViewGroup; 39 import android.view.ContextMenu.ContextMenuInfo; 40 import android.view.WindowManager.LayoutParams [all...] |
LifecycleTest.java | 35 import android.view.ContextMenu; 36 import android.view.KeyEvent; 37 import android.view.Menu; 38 import android.view.MenuItem; 39 import android.view.MotionEvent; 40 import android.view.View; 41 import android.view.ViewGroup; 42 import android.view.ContextMenu.ContextMenuInfo; 43 import android.view.WindowManager.LayoutParams [all...] |
/cts/tests/tests/opengl/src/android/opengl/cts/ |
OpenGLES20ActivityTwo.java | 30 OpenGLES20View view; field in class:OpenGLES20ActivityTwo 51 view = new OpenGLES20View(this,type,i, vertexColors, mLatch); 52 setContentView(view); 57 view = new OpenGLES20View(this, type, i, f, mLatch) ; 58 setContentView(view); 72 if(view != null) { 73 view.onPause(); 80 if(view != null) { 81 view.onResume();
|
/cts/tests/tests/text/src/android/text/cts/ |
AutoTextTest.java | 22 import android.view.View; 39 // New a View instance. 40 View view = new View(getContext()); local 44 actual = AutoText.get(src, 0, src.length(), view); 50 actual = AutoText.get(src, 0, src.length(), view); 59 actual = AutoText.get(src, 0, src.length() + 1, view); 67 actual = AutoText.get(src, 0, src.length() - 1, view); 85 View view = new View(getContext()); local [all...] |
/frameworks/base/core/java/android/transition/ |
Recolor.java | 24 import android.view.View; 25 import android.view.ViewGroup; 30 * {@link View#setBackground(android.graphics.drawable.Drawable) background} 45 transitionValues.values.put(PROPNAME_BACKGROUND, transitionValues.view.getBackground()); 46 if (transitionValues.view instanceof TextView) { 48 ((TextView)transitionValues.view).getCurrentTextColor()); 68 final View view = endValues.view; local [all...] |
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
PopupMenu.java | 20 import android.support.v7.internal.view.SupportMenuInflater; 21 import android.support.v7.internal.view.menu.MenuBuilder; 22 import android.support.v7.internal.view.menu.MenuPopupHelper; 23 import android.support.v7.internal.view.menu.MenuPresenter; 24 import android.support.v7.internal.view.menu.SubMenuBuilder; 25 import android.view.Menu; 26 import android.view.MenuInflater; 27 import android.view.MenuItem; 28 import android.view.View; [all...] |
/packages/apps/Calculator/src/com/android/calculator2/ |
HistoryAdapter.java | 19 import android.view.LayoutInflater; 20 import android.view.ViewGroup; 21 import android.view.View; 62 public View getView(int position, View convertView, ViewGroup parent) { 63 View view; local 65 view = mInflater.inflate(R.layout.history_item, parent, false); 67 view = convertView [all...] |
/packages/apps/Mms/src/com/android/mms/ui/ |
ConversationListAdapter.java | 23 import android.view.LayoutInflater; 24 import android.view.View; 25 import android.view.ViewGroup; 49 public void bindView(View view, Context context, Cursor cursor) { 50 if (!(view instanceof ConversationListItem)) { 51 Log.e(TAG, "Unexpected bound view: " + view); 55 ConversationListItem headerView = (ConversationListItem) view; [all...] |
/cts/suite/pts/deviceTests/opengl/jni/graphics/ |
SceneGraphNode.h | 27 virtual void before(Program& program, Matrix& model, Matrix& view, Matrix& projection) = 0; 28 virtual void after(Program& program, Matrix& model, Matrix& view, Matrix& projection) = 0; 29 void draw(Program& program, Matrix& model, Matrix& view, Matrix& projection);
|
/cts/tests/src/android/widget/cts/ |
ExpandableListSimple.java | 19 import android.view.Menu; 20 import android.view.MenuItem; 21 import android.view.MenuItem.OnMenuItemClickListener;
|
/developers/samples/android/ui/actionbarcompat/ListPopupMenu/ListPopupMenu/src/main/src/com/example/android/actionbarcompat/listpopupmenu/ |
PopupListFragment.java | 21 import android.view.MenuItem; 22 import android.view.View; 23 import android.view.ViewGroup; 31 * This ListFragment displays a list of cheeses, with a clickable view on each item whichs displays 35 public class PopupListFragment extends ListFragment implements View.OnClickListener { 52 public void onListItemClick(ListView listView, View v, int position, long id) { 60 public void onClick(final View view) { 62 // correctly positioned. The reason being that the view may change position before th 116 View view = super.getView(position, convertView, container); local [all...] |
/development/samples/XmlAdapters/src/com/example/android/xmladapters/ |
UrlIntentListener.java | 22 import android.view.View; 27 * A listener which expects a URL as a tag of the view it is associated with. It then opens the URL 32 public void onItemClick(AdapterView<?> parent, View view, int position, long id) { 33 final String url = view.getTag().toString();
|
/external/chromium_org/chrome/browser/ |
platform_util.h | 33 // Get the top level window for the native view. This can return NULL. 34 gfx::NativeWindow GetTopLevel(gfx::NativeView view); 36 // Get the direct parent of |view|, may return NULL. 37 gfx::NativeView GetParent(gfx::NativeView view); 45 // Returns true if the view is visible. The exact definition of this is 47 // whether the view has the visible attribute set. 48 bool IsVisible(gfx::NativeView view);
|
/external/chromium_org/chrome/browser/ui/gtk/notifications/ |
balloon_view_host_gtk.cc | 26 content::RenderWidgetHostView* view = host->GetView(); local 27 if (view) 28 view->SetSize(new_size);
|
/external/chromium_org/chrome/browser/ui/views/frame/ |
browser_view_interactive_uitest.cc | 41 // Returns the bounds of |view| in widget coordinates. 42 gfx::Rect GetRectInWidget(views::View* view) { 43 return view->ConvertRectToWidget(view->GetLocalBounds());
|