/packages/apps/Gallery2/src/com/android/gallery3d/util/ |
AccessibilityUtils.java | 20 import android.support.v4.view.accessibility.AccessibilityRecordCompat; 21 import android.view.View; 22 import android.view.accessibility.AccessibilityEvent; 23 import android.view.accessibility.AccessibilityManager; 32 public static void makeAnnouncement(View view, CharSequence announcement) { 33 if (view == null) 36 view.announceForAccessibility(announcement); 39 Context ctx = view.getContext() [all...] |
/packages/apps/VideoEditor/src/com/android/videoeditor/widgets/ |
ScrollViewListener.java | 19 import android.view.View; 28 * @param view The view 34 public void onScrollBegin(View view, int scrollX, int scrollY, boolean appScroll); 39 * @param view The view 45 public void onScrollProgress(View view, int scrollX, int scrollY, boolean appScroll) [all...] |
/cts/tests/src/android/view/animation/cts/ |
AnimationTestUtils.java | 17 package android.view.animation.cts; 21 import android.view.View; 22 import android.view.ViewGroup; 23 import android.view.animation.Animation; 24 import android.view.animation.LayoutAnimationController; 44 * @param view view window to run animation. 48 final View view, final Animation animation) [all...] |
/packages/apps/Launcher2/src/com/android/launcher2/ |
HideFromAccessibilityHelper.java | 19 import android.view.View; 20 import android.view.ViewGroup; 21 import android.view.ViewGroup.OnHierarchyChangeListener; 26 private HashMap<View, Integer> mPreviousValues; 31 mPreviousValues = new HashMap<View, Integer>(); 35 public void setImportantForAccessibilityToNo(View v, boolean onlyAllApps) { 41 private void setImportantForAccessibilityToNoHelper(View v) { 43 v.setImportantForAccessibility(View.IMPORTANT_FOR_ACCESSIBILITY_NO); 50 View child = vg.getChildAt(i) [all...] |
/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...] |
/frameworks/base/core/tests/coretests/src/android/widget/listview/ |
ListViewHeight.java | 21 import android.view.View; 22 import android.view.ViewGroup; 30 private View mButton1; 31 private View mButton2; 32 private View mButton3; 34 private View mOuterLayout; 57 // Clicking this button will show the list view and set it to a fixed height 59 mButton1.setOnClickListener(new View.OnClickListener() { 60 public void onClick(View v) [all...] |
ListEmptyViewTest.java | 24 import android.view.KeyEvent; 25 import android.view.View; 50 assertTrue("Empty view not shown", mListView.getVisibility() == View.GONE); 59 assertTrue("Empty view still shown", mActivity.getEmptyView().getVisibility() == View.GONE); 60 assertTrue("List not shown", mActivity.getListView().getVisibility() == View.VISIBLE); 69 assertTrue("Empty view still shown", mActivity.getEmptyView().getVisibility() == View.GONE) [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/testdata/ |
completion12-expected-completion75.txt | 4 android:id : Supply an identifier name for this view, to later retrieve it with View.findViewById() or Activity.findViewById(). [reference] 5 android:tag : Supply a tag for this view containing a String, to be retrieved later with View.getTag() or searched for with View.findViewWithTag() . [string] 16 android:focusable : Boolean that controls whether a view can take focus. [boolean] 17 android:focusableInTouchMode : Boolean that controls whether a view can take focus while in touch mode. [boolean] 18 android:visibility : Controls the initial visibility of the view. [enum] 19 android:fitsSystemWindows : Boolean internal attribute to adjust view layout based on system windows such as the status bar. [boolean] 22 android:isScrollContainer : Set this if the view will serve as a scrolling container, meaing that it can be resized to shrink its overall window s (…) [all...] |
/cts/tests/tests/view/src/android/view/cts/ |
LayoutInflaterTest.java | 17 package android.view.cts; 35 import android.view.Gravity; 36 import android.view.InflateException; 37 import android.view.LayoutInflater; 38 import android.view.View; 39 import android.view.ViewGroup; 40 import android.view.LayoutInflater.Factory; 41 import android.view.LayoutInflater.Filter; 49 public View onCreateView(String name, Context context 137 View view = null; local 210 View view = mLayoutInflater.inflate( local 234 View view = mLayoutInflater.inflate( local 267 View view = mLayoutInflater.inflate(parser, null); local 312 View view = mLayoutInflater.inflate(parser, null, false); local [all...] |
SoundEffectConstantsTest.java | 17 package android.view.cts; 20 import android.view.SoundEffectConstants; 21 import android.view.View; 35 .getContantForFocusDirection(View.FOCUS_RIGHT)); 37 .getContantForFocusDirection(View.FOCUS_DOWN)); 39 .getContantForFocusDirection(View.FOCUS_LEFT)); 41 .getContantForFocusDirection(View.FOCUS_UP)); 44 .getContantForFocusDirection(View.FOCUS_FORWARD)); 47 .getContantForFocusDirection(View.FOCUS_BACKWARD)) [all...] |
/frameworks/base/docs/html/guide/topics/ui/ |
drag-drop.jd | 69 {@link android.view.View View} 72 {@link android.view.View.OnLongClickListener OnLongClickListener} 75 {@link android.view.View.OnDragListener OnDragListener} 78 {@link android.view.DragEvent DragEvent} 81 {@link android.view.View.DragShadowBuilder DragShadowBuilder [all...] |
/development/samples/devbytes/animation/SquashAndStretch/src/com/example/squashandstretch/ |
SquashAndStretch.java | 25 import android.view.Menu; 26 import android.view.MenuItem; 27 import android.view.View; 28 import android.view.ViewGroup; 29 import android.view.animation.AccelerateInterpolator; 30 import android.view.animation.DecelerateInterpolator; 33 * This example shows how to add some life to a view during animation by deforming the shape. 74 public void onButtonClick(View view) { [all...] |
/external/robolectric/src/main/java/com/xtremelabs/robolectric/res/ |
ViewLoader.java | 9 import android.view.View; 10 import android.view.ViewGroup; 11 import android.view.ViewParent; 80 public View inflateView(Context context, String key) { 84 public View inflateView(Context context, String key, View parent) { 88 public View inflateView(Context context, int resourceId, View parent) { 92 private View inflateView(Context context, String layoutName, Map<String, String> attributes, View parent) 171 View view = create(context, (ViewGroup) parent); local 190 View view = inflateView(context, layout.substring(1), attributes, parent); local 200 View view = constructView(context); local 228 View view = fragment.getView(); local [all...] |
/development/samples/WiFiDirectServiceDiscovery/src/com/example/android/wifidirect/discovery/ |
WiFiChatFragment.java | 8 import android.view.LayoutInflater; 9 import android.view.View; 10 import android.view.ViewGroup; 19 * This fragment handles chat related UI which includes a list view for messages 24 private View view; field in class:WiFiChatFragment 32 public View onCreateView(LayoutInflater inflater, ViewGroup container, 34 view = inflater.inflate(R.layout.fragment_chat, container, false); 35 chatLine = (TextView) view.findViewById(R.id.txtChatLine) [all...] |
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowViewStub.java | 3 import android.view.LayoutInflater; 4 import android.view.View; 5 import android.view.ViewGroup; 6 import android.view.ViewParent; 7 import android.view.ViewStub; 23 private WeakReference<View> mInflatedViewRef; 66 public View inflate() { 73 View view = factory.inflate(mLayoutResource, parent, false) local [all...] |
/packages/apps/Mms/src/com/android/mms/ui/ |
IconListAdapter.java | 23 import android.view.LayoutInflater; 24 import android.view.View; 25 import android.view.ViewGroup; 41 private View mView; 45 public ViewHolder(View view) { 46 mView = view; 72 public View getView(int position, View convertView, ViewGroup parent) 73 View view; local [all...] |
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ui/ |
SuggestionViewFactory.java | 22 import android.view.View; 23 import android.view.ViewGroup; 33 * Returns all the view types that are used by this factory. Each view type corresponds to a 37 * View types must be unique across all suggestion view factories. 42 * Returns the view type to be used for displaying the given suggestion. This MUST correspond to 43 * one of the view types returned by {@link #getSuggestionViewTypes()}. 48 * Gets a view corresponding to the current suggestion in the given cursor [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...] |
/cts/tests/tests/holo/src/android/holo/cts/ |
LayoutModifier.java | 19 import android.view.View; 22 * Interface used to do further setup on a view after it has been inflated. 26 /** Actions to take before inflating the view. */ 30 * @param view inflated by the test activity 31 * @return the same view or another view that will be snapshotted by the test 33 View modifyView(View view); [all...] |
/development/samples/HelloActivity/src/com/example/android/helloactivity/ |
HelloActivity.java | 21 import android.view.View; 22 import android.view.WindowManager; 38 View view = getLayoutInflater().inflate(R.layout.hello_activity, null); local 39 setContentView(view); 42 params.systemUiVisibility = View.SYSTEM_UI_FLAG_HIDE_NAVIGATION; 44 view.setOnSystemUiVisibilityChangeListener(new View.OnSystemUiVisibilityChangeListener() { 47 params.systemUiVisibility = View.SYSTEM_UI_FLAG_HIDE_NAVIGATION [all...] |
/frameworks/base/core/tests/coretests/src/android/view/ |
StubbedView.java | 17 package android.view; 23 import android.view.View; 34 findViewById(R.id.vis).setOnClickListener(new View.OnClickListener() { 35 public void onClick(View v) { 36 final View view = findViewById(R.id.viewStub); 37 if (view != null) { 38 view.setVisibility(View.VISIBLE) [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/Gallery2/src/com/android/gallery3d/filtershow/state/ |
PanelTrack.java | 20 import android.view.MotionEvent; 21 import android.view.View; 26 public void onTouch(MotionEvent event, StateView view); 28 public void setCurrentView(View view); 30 public View findChildAt(int x, int y); 31 public int findChild(View view); 34 public View getChildAt(int pos) [all...] |
/prebuilts/sdk/4/ |
framework.aidl | 13 parcelable android.view.KeyEvent; 14 parcelable android.view.MotionEvent; 15 parcelable android.view.Surface; 16 parcelable android.view.WindowManager.LayoutParams; 18 interface com.android.internal.view.IInputContext; 19 interface com.android.internal.view.IInputMethod; 20 interface com.android.internal.view.IInputMethodCallback; 21 interface com.android.internal.view.IInputMethodClient; 22 interface com.android.internal.view.IInputMethodManager; 23 interface com.android.internal.view.IInputMethodSession [all...] |
/prebuilts/sdk/5/ |
framework.aidl | 17 parcelable android.view.KeyEvent; 18 parcelable android.view.MotionEvent; 19 parcelable android.view.Surface; 20 parcelable android.view.WindowManager.LayoutParams; 22 interface com.android.internal.view.IInputContext; 23 interface com.android.internal.view.IInputMethod; 24 interface com.android.internal.view.IInputMethodCallback; 25 interface com.android.internal.view.IInputMethodClient; 26 interface com.android.internal.view.IInputMethodManager; 27 interface com.android.internal.view.IInputMethodSession [all...] |