/frameworks/support/v7/appcompat/src/android/support/v7/internal/view/menu/ |
MenuItemWrapperJB.java | 17 package android.support.v7.internal.view.menu; 22 import android.support.v4.internal.view.SupportMenuItem; 23 import android.support.v4.view.ActionProvider; 24 import android.view.MenuItem; 25 import android.view.View; 28 * Wraps a support {@link SupportMenuItem} as a framework {@link android.view.MenuItem} 39 ActionProviderWrapper createActionProviderWrapper(android.view.ActionProvider provider) { 44 implements android.view.ActionProvider.VisibilityListener { 47 public ActionProviderWrapperJB(Context context, android.view.ActionProvider inner) [all...] |
/packages/apps/Browser/src/com/android/browser/ |
ActivityController.java | 6 import android.view.ActionMode; 7 import android.view.ContextMenu; 8 import android.view.ContextMenu.ContextMenuInfo; 9 import android.view.KeyEvent; 10 import android.view.Menu; 11 import android.view.MenuItem; 12 import android.view.MotionEvent; 13 import android.view.View; 46 void onCreateContextMenu(ContextMenu menu, View v, ContextMenuInfo menuInfo) [all...] |
/packages/apps/Calendar/extensions_src/com/android/calendar/extensions/ |
AllInOneMenuExtensions.java | 20 import android.view.Menu; 21 import android.view.MenuItem;
|
/packages/apps/Calendar/src/com/android/calendar/ |
AllInOneMenuExtensionsInterface.java | 20 import android.view.Menu; 21 import android.view.MenuItem;
|
/packages/apps/Dialer/src/com/android/dialer/ |
PhoneCallDetailsViews.java | 20 import android.view.View; 31 public final View callTypeView; 37 private PhoneCallDetailsViews(TextView nameView, View callTypeView, 49 * Create a new instance by extracting the elements from the given view. 51 * The view should contain three text views with identifiers {@code R.id.name}, 55 public static PhoneCallDetailsViews fromView(View view) { 56 return new PhoneCallDetailsViews((TextView) view.findViewById(R.id.name), 57 view.findViewById(R.id.call_type) [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/controller/ |
Control.java | 19 import android.view.View; 20 import android.view.ViewGroup; 27 public View getTopView();
|
/packages/apps/Mms/src/com/android/mms/ui/ |
DeliveryReportAdapter.java | 22 import android.view.LayoutInflater; 23 import android.view.View; 24 import android.view.ViewGroup; 41 public View getView(int position, View view, ViewGroup viewGroup) { 45 if (view == null) { 50 if (view instanceof DeliveryReportListItem) { 51 listItem = (DeliveryReportListItem) view; [all...] |
/packages/apps/PhoneCommon/src/com/android/phone/common/animation/ |
AnimationListenerAdapter.java | 19 import android.view.animation.Animation; 20 import android.view.animation.Animation.AnimationListener;
|
/packages/apps/Settings/src/com/android/settings/ |
PinnedHeaderListFragment.java | 20 import android.view.View; 21 import android.view.ViewGroup; 33 * Set the pinned header view. This can only be done when the ListView is already created. 35 * @param pinnedHeaderView the view to be used for the pinned header view. 37 public void setPinnedHeaderView(View pinnedHeaderView) { 42 * Clear the pinned header view. This can only be done when the ListView is already created.
|
HighlightingFragment.java | 23 import android.view.View; 24 import android.view.ViewGroup; 80 // Try locating the View thru its Tag / Key 81 final View view = findViewForKey(getView(), key); local 82 if (view != null ) { 83 view.setBackground(highlight); 88 final int centerX = view.getWidth() / 2; 89 final int centerY = view.getHeight() / 2 109 final View view = findViewForKey(child, key); local [all...] |
/external/chromium_org/content/public/android/javatests/src/org/chromium/content/browser/ |
ContentViewPopupZoomerTest.java | 7 import android.view.View; 8 import android.view.ViewGroup; 20 private static PopupZoomer findPopupZoomer(ViewGroup view) { 21 assert view != null; 22 for (int i = 0; i < view.getChildCount(); i++) { 23 View child = view.getChildAt(i); 32 public PopupShowingCriteria(ViewGroup view, boolean shouldBeShown) { 33 mView = view; 88 final ViewGroup view = viewCore.getContainerView(); local [all...] |
/external/chromium_org/third_party/WebKit/Source/core/frame/ |
Screen.cpp | 54 return lroundf(screenRect(m_frame->view()).height() * host->deviceScaleFactor()); 55 return static_cast<unsigned>(screenRect(m_frame->view()).height()); 64 return lroundf(screenRect(m_frame->view()).width() * host->deviceScaleFactor()); 65 return static_cast<unsigned>(screenRect(m_frame->view()).width()); 72 return static_cast<unsigned>(screenDepth(m_frame->view())); 79 return static_cast<unsigned>(screenDepth(m_frame->view())); 88 return lroundf(screenAvailableRect(m_frame->view()).x() * host->deviceScaleFactor()); 89 return static_cast<int>(screenAvailableRect(m_frame->view()).x()); 98 return lroundf(screenAvailableRect(m_frame->view()).y() * host->deviceScaleFactor()); 99 return static_cast<int>(screenAvailableRect(m_frame->view()).y()) [all...] |
RemoteFrame.cpp | 34 void RemoteFrame::setView(PassRefPtr<RemoteFrameView> view) 36 m_view = view; 41 RefPtr<RemoteFrameView> view = RemoteFrameView::create(this); local 42 setView(view); 47 owner->setWidget(view);
|
/frameworks/base/core/java/android/transition/ |
Fade.java | 28 import android.view.View; 29 import android.view.ViewGroup; 35 * {@link View#setVisibility(int)} state of the view as well as whether it 36 * is parented in the current view hierarchy. 38 * <p>The ability of this transition to fade out a particular view, and the 40 * the situation of the view in the view hierarchy. For example, if a view wa [all...] |
/packages/apps/Contacts/src/com/android/contacts/list/ |
LegacyContactListAdapter.java | 24 import android.view.View; 25 import android.view.ViewGroup; 78 final ContactListItemView view = new ContactListItemView(context, null); local 79 view.setUnknownNameText(mUnknownNameText); 80 return view; 84 protected void bindView(View itemView, int partition, Cursor cursor, int position) { 86 ContactListItemView view = (ContactListItemView)itemView; local 87 bindName(view, cursor); 88 bindViewId(view, cursor, PERSON_ID_COLUMN_INDEX) [all...] |
/packages/apps/DeskClock/src/com/android/deskclock/ |
VerticalViewPager.java | 20 import android.support.v4.view.ViewConfigurationCompat; 21 import android.support.v4.view.ViewPager; 23 import android.view.MotionEvent; 24 import android.view.View; 25 import android.view.ViewConfiguration; 26 import android.view.ViewParent; 29 // TODO Remove the hack of using a parent view pager 40 public void transformPage(View view, float position) [all...] |
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/ |
ViewLayoutUtils.java | 19 import android.view.View; 20 import android.view.ViewGroup; 21 import android.view.ViewGroup.MarginLayoutParams; 22 import android.view.Window; 23 import android.view.WindowManager; 47 public static void placeViewAt(final View view, final int x, final int y, final int w, 49 final ViewGroup.LayoutParams lp = view.getLayoutParams(); 66 public static void updateLayoutHeightOf(final View view, final int layoutHeight) [all...] |
/developers/build/prebuilts/gradle/BatchStepSensor/Application/src/main/java/com/example/android/batchstepsensor/cardstream/ |
CardStreamAnimator.java | 21 import android.view.View; 48 * Define disappearing animation of a child which fired when a view is removed programmatically 56 * Define appearing animation of a child which fired when a view is added programmatically 65 * which fired when a view is not moved enough to be removed. 67 * @param view target view 72 public abstract ObjectAnimator getSwipeInAnimator(View view, float deltaX, float deltaY); 76 * which fired when a view is removing by a user swipe action [all...] |
/development/samples/browseable/BatchStepSensor/src/com.example.android.batchstepsensor/cardstream/ |
CardStreamAnimator.java | 21 import android.view.View; 48 * Define disappearing animation of a child which fired when a view is removed programmatically 56 * Define appearing animation of a child which fired when a view is added programmatically 65 * which fired when a view is not moved enough to be removed. 67 * @param view target view 72 public abstract ObjectAnimator getSwipeInAnimator(View view, float deltaX, float deltaY); 76 * which fired when a view is removing by a user swipe action [all...] |
/external/chromium_org/android_webview/test/shell/src/org/chromium/android_webview/test/ |
AwTestRunnerActivity.java | 9 import android.view.View; 10 import android.view.ViewGroup.LayoutParams; 38 * Adds a view to the main linear layout. 40 public void addView(View view) { 41 view.setLayoutParams(new LinearLayout.LayoutParams( 43 mLinearLayout.addView(view);
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowInputMethodManager.java | 5 import android.view.View; 6 import android.view.inputmethod.InputMethodManager; 17 public boolean showSoftInput(View view, int flags) { 18 return showSoftInput(view, flags, null); 22 public boolean showSoftInput(View view, int flags, ResultReceiver resultReceiver) {
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/tester/android/view/ |
TestSubMenu.java | 1 package com.xtremelabs.robolectric.tester.android.view; 4 import android.view.MenuItem; 5 import android.view.SubMenu; 6 import android.view.View; 31 public SubMenu setHeaderView(View view) {
|
/frameworks/base/core/tests/coretests/src/android/view/menu/ |
MenuWith1ItemTest.java | 17 package android.view.menu; 19 import android.view.menu.MenuWith1Item; 21 import com.android.internal.view.menu.MenuBuilder; 28 import android.view.KeyEvent; 29 import android.view.View; 69 final View menuItem = mActivity.getItemView(MenuBuilder.TYPE_ICON, 0);
|
/frameworks/base/core/tests/coretests/src/android/widget/focus/ |
ScrollingThroughListOfFocusablesTest.java | 24 import android.view.KeyEvent; 79 InternalSelectionView view = mActivity.getSelectedView(); local 81 assertInternallySelectedRowOnScreen(view, i); 92 InternalSelectionView view = (InternalSelectionView) local 98 assertTrue("bottom of view should be just above fading edge", 99 view.getBottom() == bottomFadingEdgeTop); 102 // make sure fading edge is the expected view 104 assertEquals("should be a second view visible due to the fading edge", 140 InternalSelectionView view = mActivity.getSelectedView(); local 141 assertEquals(mNumRowsPerItem - 1, view.getSelectedRow()) 168 InternalSelectionView view = mActivity.getSelectedView(); local 175 InternalSelectionView view = mActivity.getSelectedView(); local 189 InternalSelectionView view = mActivity.getSelectedView(); local 201 final InternalSelectionView view = local [all...] |
/frameworks/base/policy/src/com/android/internal/policy/impl/ |
PhoneLayoutInflater.java | 21 import android.view.View; 22 import android.view.LayoutInflater; 52 @Override protected View onCreateView(String name, AttributeSet attrs) throws ClassNotFoundException { 55 View view = createView(name, prefix, attrs); local 56 if (view != null) { 57 return view;
|