/frameworks/support/v7/appcompat/src/android/support/v7/internal/view/menu/ |
SubMenuBuilder.java | 17 package android.support.v7.internal.view.menu; 21 import android.view.Menu; 22 import android.view.MenuItem; 23 import android.view.SubMenu; 24 import android.view.View; 117 public SubMenu setHeaderView(View view) { 118 super.setHeaderViewInt(view);
|
ActionMenuItem.java | 17 package android.support.v7.internal.view.menu; 22 import android.support.v4.view.ActionProvider; 23 import android.support.v4.internal.view.SupportMenuItem; 24 import android.support.v4.view.MenuItemCompat; 25 import android.view.ContextMenu.ContextMenuInfo; 26 import android.view.MenuItem; 27 import android.view.SubMenu; 28 import android.view.View; 231 public SupportMenuItem setActionView(View actionView) [all...] |
MenuWrapperICS.java | 17 package android.support.v7.internal.view.menu; 21 import android.support.v4.internal.view.SupportMenu; 22 import android.support.v4.internal.view.SupportMenuItem; 23 import android.view.KeyEvent; 24 import android.view.MenuItem; 25 import android.view.SubMenu; 27 class MenuWrapperICS extends BaseMenuWrapper<android.view.Menu> implements SupportMenu { 29 MenuWrapperICS(android.view.Menu object) { 77 android.view.MenuItem[] items = null; 79 items = new android.view.MenuItem[outSpecificItems.length] [all...] |
/packages/apps/Browser/src/com/android/browser/ |
UI.java | 22 import android.view.ActionMode; 23 import android.view.KeyEvent; 24 import android.view.Menu; 25 import android.view.MenuItem; 26 import android.view.View; 69 public void onSetWebView(Tab tab, WebView view); 73 public void attachSubWindow(View subContainer); 75 public void removeSubWindow(View subContainer); 89 public void showCustomView(View view, int requestedOrientation [all...] |
/packages/apps/DeskClock/src/com/android/deskclock/timer/ |
TimerAlertFullScreen.java | 22 import android.view.KeyEvent; 23 import android.view.View; 24 import android.view.ViewGroup; 25 import android.view.Window; 26 import android.view.WindowManager; 47 final View view = findViewById(R.id.fragment_container); local 48 view.setSystemUiVisibility(View.SYSTEM_UI_FLAG_LOW_PROFILE) [all...] |
/packages/apps/Settings/src/com/android/settings/ |
LocalePicker.java | 22 import android.view.LayoutInflater; 23 import android.view.View; 24 import android.view.ViewGroup; 68 public View onCreateView( 70 final View view = super.onCreateView(inflater, container, savedInstanceState); local 71 final ListView list = (ListView) view.findViewById(android.R.id.list); 72 Utils.forcePrepareCustomPreferencesList(container, view, list, false); 73 return view; [all...] |
/packages/apps/Settings/src/com/android/settings/accessibility/ |
ColorPreference.java | 25 import android.view.View; 82 protected void onBindView(View view) { 83 super.onBindView(view); 86 final ImageView previewImage = (ImageView) view.findViewById(R.id.color_preview); 113 protected void onBindListItem(View view, int index) { 117 final ImageView swatch = (ImageView) view.findViewById(R.id.color_swatch); 133 final TextView summary = (TextView) view.findViewById(R.id.summary) [all...] |
/packages/apps/Settings/src/com/android/settings/accounts/ |
SyncStateCheckBoxPreference.java | 25 import android.view.View; 60 public void onBindView(View view) { 61 super.onBindView(view); 62 final AnimatedImageView syncActiveView = (AnimatedImageView) view.findViewById( 64 final View syncFailedView = view.findViewById(R.id.sync_failed); 67 syncActiveView.setVisibility(activeVisible ? View.VISIBLE : View.GONE) [all...] |
/developers/samples/android/ui/actionbarcompat/ShareActionProvider/ShareActionProvider/src/main/src/com/example/android/actionbarcompat/shareactionprovider/ |
MainActivity.java | 23 import android.support.v4.view.MenuItemCompat; 24 import android.support.v4.view.PagerAdapter; 25 import android.support.v4.view.ViewPager; 28 import android.view.LayoutInflater; 29 import android.view.Menu; 30 import android.view.MenuItem; 31 import android.view.View; 32 import android.view.ViewGroup; 61 // Set content view (which contains a CheeseListFragment [all...] |
/development/apps/Development/src/com/android/development/ |
AppHwConfigList.java | 28 import android.view.View; 29 import android.view.ViewGroup; 30 import android.view.LayoutInflater; 68 protected void onListItemClick(ListView l, View v, int position, long id) { 122 public View getView(int position, View convertView, ViewGroup parent) { 123 View view; local 125 view = mInflater.inflate [all...] |
RunningProcesses.java | 26 import android.view.View; 27 import android.view.ViewGroup; 28 import android.view.LayoutInflater; 65 protected void onListItemClick(ListView l, View v, int position, long id) { 113 public View getView(int position, View convertView, ViewGroup parent) { 114 View view; local 116 view = mInflater.inflate [all...] |
/external/chromium_org/android_webview/javatests/src/org/chromium/android_webview/test/ |
WebViewModalDialogOverrideTest.java | 50 AwTestContainerView view = createAwTestContainerViewOnMainSync(client); local 51 final AwContents awContents = view.getAwContents(); 83 AwTestContainerView view = createAwTestContainerViewOnMainSync(client); local 84 final AwContents awContents = view.getAwContents(); 113 AwTestContainerView view = createAwTestContainerViewOnMainSync(client); local 114 final AwContents awContents = view.getAwContents(); 143 AwTestContainerView view = createAwTestContainerViewOnMainSync(client); local 144 final AwContents awContents = view.getAwContents(); 169 AwTestContainerView view = createAwTestContainerViewOnMainSync(client); local 170 final AwContents awContents = view.getAwContents() [all...] |
/external/chromium_org/chrome/test/webdriver/test/ |
chromedriver.py | 20 """Constants representing different web view types in Chrome. 189 infobars = filter(lambda view: view['type'] == _ViewType.EXTENSION_INFOBAR, 191 return map(lambda view: view['handle'], infobars) 204 pages = filter(lambda view: view['type'] == type, self._get_views()) 214 """Returns a list of view information for this extension.""" 217 for view in views: 218 if 'extension_id' in view and view['extension_id'] == self._id [all...] |
/external/chromium_org/content/public/test/android/javatests/src/org/chromium/content/browser/test/util/ |
TouchCommon.java | 8 import android.view.MotionEvent; 9 import android.view.View; 10 import android.view.ViewConfiguration; 107 * Sends (synchronously) a single click to the View at the specified coordinates. 109 * @param v The view to be clicked. 113 public void singleClickView(View v, int x, int y) { 121 * Sends (synchronously) a single click to the center of the View. 123 public void singleClickView(View v) { 129 * a given view 197 View view = local [all...] |
/external/chromium_org/third_party/WebKit/Source/core/dom/ |
WheelEvent.cpp | 55 PassRefPtr<AbstractView> view, const IntPoint& screenLocation, const IntPoint& pageLocation, 58 true, true, view, 0, screenLocation.x(), screenLocation.y(), 70 void WheelEvent::initWheelEvent(int rawDeltaX, int rawDeltaY, PassRefPtr<AbstractView> view, 77 initUIEvent(eventNames().mousewheelEvent, true, true, view, 0); 95 void WheelEvent::initWebKitWheelEvent(int rawDeltaX, int rawDeltaY, PassRefPtr<AbstractView> view, 99 initWheelEvent(rawDeltaX, rawDeltaY, view, screenX, screenY, pageX, pageY, 118 PassRefPtr<WheelEventDispatchMediator> WheelEventDispatchMediator::create(const PlatformWheelEvent& event, PassRefPtr<AbstractView> view) 120 return adoptRef(new WheelEventDispatchMediator(event, view)); 123 WheelEventDispatchMediator::WheelEventDispatchMediator(const PlatformWheelEvent& event, PassRefPtr<AbstractView> view) 129 deltaMode(event), view, event.globalPosition(), event.position() local [all...] |
/frameworks/base/opengl/java/android/opengl/ |
GLU.java | 58 * view, and an up vector. 64 * @param centerX center of view X 65 * @param centerY center of view Y 66 * @param centerZ center of view Z 101 * @param fovy specifies the field of view angle, in degrees, in the Y 104 * view in the x direction. The aspect ratio is the ratio of x 123 * and view. The result is stored in win. 137 * @param view the current view, {x, y, width, height} 138 * @param viewOffset the offset into the view array where the view vecto [all...] |
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
ViewLayerInvalidationActivity.java | 22 import android.view.View; 23 import android.view.ViewGroup; 70 tva.setLayerType(View.LAYER_TYPE_HARDWARE, null); 71 container1.setLayerType(View.LAYER_TYPE_HARDWARE, null); 72 container2.setLayerType(View.LAYER_TYPE_HARDWARE, null); 73 container3.setLayerType(View.LAYER_TYPE_HARDWARE, null); 110 View.LAYER_TYPE_HARDWARE : View.LAYER_TYPE_NONE, null); 114 layout.setLayerType(View.LAYER_TYPE_HARDWARE, null) [all...] |
/frameworks/support/v7/appcompat/src/android/support/v7/app/ |
ActionBarActivityDelegate.java | 29 import android.support.v7.internal.view.SupportMenuInflater; 30 import android.support.v7.view.ActionMode; 32 import android.view.Menu; 33 import android.view.MenuInflater; 34 import android.view.MenuItem; 35 import android.view.View; 36 import android.view.ViewGroup; 134 abstract void setContentView(View v); 138 abstract void setContentView(View v, ViewGroup.LayoutParams lp) [all...] |
/packages/apps/Contacts/src/com/android/contacts/widget/ |
PinnedHeaderListDemoActivity.java | 25 import android.view.LayoutInflater; 26 import android.view.View; 27 import android.view.ViewGroup; 55 protected View newHeaderView(Context context, int partition, Cursor cursor, 62 protected void bindHeaderView(View view, int parition, Cursor cursor) { 63 TextView headerText = (TextView)view.findViewById(R.id.header_text); 68 protected View newView(Context context, int partition, Cursor cursor, int position, 75 protected void bindView(View v, int partition, Cursor cursor, int position) 83 View view = inflater.inflate(R.layout.list_section, parent, false); local [all...] |
/packages/apps/Email/src/com/android/email/activity/setup/ |
AccountSettingsEditQuickResponsesFragment.java | 33 import android.view.LayoutInflater; 34 import android.view.Menu; 35 import android.view.MenuInflater; 36 import android.view.MenuItem; 37 import android.view.View; 38 import android.view.ViewGroup; 122 public View onCreateView(LayoutInflater inflater, ViewGroup container, 124 final View view = inflater.inflate(R.layout.account_settings_edit_quick_responses_fragment local [all...] |
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
WaitFragment.java | 28 import android.view.LayoutInflater; 29 import android.view.View; 30 import android.view.ViewGroup; 36 public class WaitFragment extends Fragment implements View.OnClickListener, 79 public View onCreateView( 88 private View getContent(ViewGroup root) { 89 final View view; local 94 view = mInflater.inflate(R.layout.wait_for_manual_sync, root, false) [all...] |
/cts/tests/src/android/widget/cts/ |
MyGallery.java | 22 import android.view.View; 23 import android.view.ViewGroup; 24 import android.view.ViewParent; 25 import android.view.ContextMenu.ContextMenuInfo; 26 import android.view.animation.Transformation; 48 protected boolean getChildStaticTransformation(View child, Transformation t) {
|
/cts/tests/uiautomator/test-apps/CtsUiAutomatorApp/src/com/android/cts/uiautomator/ |
TestListFragment.java | 21 import android.view.View; 54 public void onViewCreated(View view, Bundle savedState) { 55 super.onViewCreated(view, savedState); 78 public void onListItemClick(ListView listView, View view, int position, long id) { 79 super.onListItemClick(listView, view, position, id);
|
/developers/samples/android/ui/views/TextSwitcher/TextSwitcher/src/main/java/com/example/android/ui/views/textswitcher/ |
MainActivity.java | 21 import android.view.Gravity; 22 import android.view.View; 23 import android.view.animation.Animation; 24 import android.view.animation.AnimationUtils; 31 import com.example.android.view.textswitcher.R; 34 * This sample shows the use of the {@link TextSwitcher} View with animations. A 48 // Get the TextSwitcher view from the layout 73 nextButton.setOnClickListener(new View.OnClickListener() { 76 public void onClick(View v) [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/view/ |
Hover.java | 17 package com.example.android.apis.view; 27 import android.view.LayoutInflater; 28 import android.view.MotionEvent; 29 import android.view.View; 30 import android.view.ViewGroup; 40 * Demonstrates how to use {@link View#onHoverEvent}, {@link ViewGroup#onInterceptHoverEvent}, 41 * and {@link View#setOnHoverListener}. 45 * the position of the pointing device and the label of the view being hovered. 51 * A {@link View#OnHoverEventListener} is used to listen for hover events within th [all...] |