/packages/apps/Settings/src/com/android/settings/ |
IconPreferenceScreen.java | 24 import android.view.View; 44 public void onBindView(View view) { 45 super.onBindView(view); 46 ImageView imageView = (ImageView) view.findViewById(R.id.icon);
|
DeviceAdminAdd.java | 39 import android.view.View; 40 import android.view.ViewGroup; 70 View mSelectLayout; 72 final ArrayList<View> mAddingPolicies = new ArrayList<View>(); 73 final ArrayList<View> mActivePolicies = new ArrayList<View>(); 145 mCancelButton.setOnClickListener(new View.OnClickListener() { 146 public void onClick(View v) 250 View view = AppSecurityPermissions.getPermissionItemView( local 268 View view = AppSecurityPermissions.getPermissionItemView( local [all...] |
/frameworks/base/docs/html/guide/topics/graphics/ |
index.jd | 9 <li><a href="#draw-to-view">Simple Graphics Inside a View</a></li> 12 <li><a href="#on-view">On a View</a></li> 36 will give you a quick idea of how you should draw to the View hierarchy. For more information 45 <li>Draw your graphics or animations into a View object from your layout. In this manner, 47 normal View hierarchy drawing process — you simply define the graphics to go inside the View.</li> 54 <p>Option "a," drawing to a View, is your best choice when you want to draw simple graphics that do not 56 draw your graphics into a View when you want to display a static graphic or predefined animation, within [all...] |
/frameworks/base/core/tests/coretests/src/android/util/ |
ScrollViewScenario.java | 24 import android.view.View; 25 import android.view.ViewGroup; 26 import android.view.Window; 35 * Utility base class for creating scroll view scenarios, allowing you to add 42 * Holds content of scroll view 47 * The actual scroll view 53 * What we need of each view that the user wants: the view, and the ratio 57 View create(final Context context) [all...] |
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/ |
TextCandidatesViewManager.java | 34 import android.view.Gravity; 35 import android.view.MotionEvent; 36 import android.view.View; 37 import android.view.ViewGroup; 38 import android.view.View.OnClickListener; 39 import android.view.View.OnLongClickListener; 40 import android.view.View.OnTouchListener 967 View view = lineView.getChildAt(i); local [all...] |
/packages/apps/Calculator/src/com/android/calculator2/ |
PanelSwitcher.java | 19 import android.view.animation.TranslateAnimation; 20 import android.view.MotionEvent; 21 import android.view.View; 22 import android.view.GestureDetector; 36 private View mChild, mHistoryView; 37 private View mChildren[] = new View[0]; 82 mChildren[i].setVisibility(i==mCurrentView ? View.VISIBLE : View.GONE) [all...] |
/packages/apps/Browser/src/com/android/browser/ |
FindDialog.java | 25 import android.view.Gravity; 26 import android.view.KeyEvent; 27 import android.view.View; 28 import android.view.ViewGroup; 29 import android.view.Window; 30 import android.view.WindowManager; 31 import android.view.inputmethod.InputMethodManager; 43 private View mNextButton; 44 private View mPrevButton [all...] |
/frameworks/base/tools/layoutlib/create/tests/data/ |
mock_android.jar | |
/frameworks/base/core/tests/coretests/src/android/widget/listview/ |
AdjacentListsWithAdjacentISVsInside.java | 23 import android.view.View; 24 import android.view.ViewGroup; 85 private static View combineAdjacent(View... views) { 95 for (View view : views) { 96 ll.addView(view, lp); 121 public View getView(int position, View convertView, ViewGroup parent) [all...] |
ListHeterogeneous.java | 19 import android.view.View; 20 import android.view.ViewGroup; 26 * List that has different view types 40 protected View createView(int position, ViewGroup parent, int desiredHeight) { 57 public View convertView(int position, View convertView, ViewGroup parent) {
|
/frameworks/base/docs/html/sdk/api_diff/8/changes/ |
android.view.View.html | 10 android.view.View 74 Class android.view.<A HREF="../../../../reference/android/view/View.html" target="_top"><font size="+2"><code>View</code></font></A> 86 <A NAME="android.view.View.dispatchConfigurationChanged_added(android.content.res.Configuration)"></A> 87 <nobr><code>void</code> <A HREF="../../../../reference/android/view/View.html#dispatchConfigurationChanged(android.content.res.Configuration)" target="_top"><code>dispatch (…) [all...] |
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
CandidateViewContainer.java | 21 import android.view.MotionEvent; 22 import android.view.View; 23 import android.view.View.OnTouchListener; 28 private View mButtonLeft; 29 private View mButtonRight; 30 private View mButtonLeftLayout; 31 private View mButtonRightLayout; 72 public boolean onTouch(View v, MotionEvent event) [all...] |
/frameworks/base/core/java/android/view/ |
LayoutInflater.java | 17 package android.view; 33 * This class is used to instantiate layout XML file into its corresponding View 50 * For performance reasons, view inflation relies heavily on pre-processing of 96 * @param clazz The class object for the View that is about to be inflated 115 * @param context The context the view is being created in. 118 * @return View Newly created view. Return null for the default 121 public View onCreateView(String name, Context context, AttributeSet attrs); 132 public View onCreateView(String name, Context context, AttributeSet attrs) { 133 View v = mF1.onCreateView(name, context, attrs) 558 View view = (mFactory == null) ? null : mFactory.onCreateView(name, local 618 final View view = createViewFromTag(name, attrs); local 679 final View view = createViewFromTag(childName, childAttrs); local [all...] |
HapticFeedbackConstants.java | 17 package android.view; 21 * {@link View#performHapticFeedback(int)} 56 * Flag for {@link View#performHapticFeedback(int, int) 57 * View.performHapticFeedback(int, int)}: Ignore the setting in the 58 * view for whether to perform haptic feedback, do it always. 63 * Flag for {@link View#performHapticFeedback(int, int) 64 * View.performHapticFeedback(int, int)}: Ignore the global setting
|
/frameworks/base/docs/html/guide/topics/ui/ |
declaring-layout.jd | 10 <li>{@link android.view.View}</li> 11 <li>{@link android.view.ViewGroup}</li> 12 <li>{@link android.view.ViewGroup.LayoutParams}</li> 37 vocabulary that corresponds to the View classes and subclasses, such as those for widgets and layouts.</li> 39 application can create View and ViewGroup objects (and manipulate their properties) programmatically. </li> 61 interested in instantiating View objects at runtime, refer to the {@link android.view.ViewGroup} and 62 {@link android.view.View} class references.</p [all...] |
/cts/tests/tests/view/src/android/view/cts/ |
View_FocusHandlingTest.java | 17 package android.view.cts; 30 import android.view.View; 32 @TestTargetClass(View.class) 145 View v1 = activity.findViewById(R.id.view1); 146 View v2 = activity.findViewById(R.id.view2); 147 View v3 = activity.findViewById(R.id.view3); 148 View v4 = activity.findViewById(R.id.view4); 197 assertSame(v2, v1.focusSearch(View.FOCUS_RIGHT)); 198 assertSame(v3, v1.focusSearch(View.FOCUS_DOWN)) [all...] |
/frameworks/base/tests/DpiTest/src/com/google/android/test/dpi/ |
DpiTestActivity.java | 31 import android.view.LayoutInflater; 32 import android.view.View; 142 private View scrollWrap(View view) { 144 scroller.addView(view, new ScrollView.LayoutParams(ScrollView.LayoutParams.MATCH_PARENT, 165 View view = new View(this) local 177 View view = new View(this); local 191 ScaledBitmapView view = new ScaledBitmapView(this, bitmap); local 199 View view = new View(this); local [all...] |
/frameworks/base/core/java/android/widget/ |
HeterogeneousExpandableList.java | 19 import android.view.View; 20 import android.view.ViewGroup; 24 * {@link ExpandableListAdapter} take advantage of the {@link Adapter} view type 27 * An {@link ExpandableListAdapter} declares one view type for its group items 28 * and one view type for its child items. Although adapted for most {@link ExpandableListView}s, 32 * {@link android.widget.ExpandableListAdapter#getGroupView(int, boolean, View, ViewGroup)} 34 * {@link android.widget.ExpandableListAdapter#getChildView(int, int, boolean, View, ViewGroup)} 40 * Get the type of group View that will be created by 41 * {@link android.widget.ExpandableListAdapter#getGroupView(int, boolean, View, ViewGroup) [all...] |
ExpandableListAdapter.java | 20 import android.view.View; 21 import android.view.ViewGroup; 27 * {@link View}s for children and groups. 108 * Gets a View that displays the given group. This View is only for the 110 * {@link #getChildView(int, int, boolean, View, ViewGroup)}. 112 * @param groupPosition the position of the group for which the View is 115 * @param convertView the old view to reuse, if possible. You should check 116 * that this view is non-null and of an appropriate type befor [all...] |
/packages/apps/Launcher2/src/com/android/launcher2/ |
LiveFolderAdapter.java | 26 import android.view.View; 27 import android.view.ViewGroup; 28 import android.view.LayoutInflater; 64 public View newView(Context context, Cursor cursor, ViewGroup parent) { 65 View view; local 69 view = mInflater.inflate(R.layout.application_boxed, parent, false); 71 view = mInflater.inflate(R.layout.application_list, parent, false); 72 holder.description = (TextView) view.findViewById(R.id.description) [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/resources/ |
ViewClassInfo.java | 22 * Information needed to represent a View or ViewGroup (aka Layout) item 27 /** Is this a layout class (i.e. ViewGroup) or just a view? */ 29 /** FQCN e.g. android.view.View, never null. */ 31 /** Short class name, e.g. View, never null. */ 37 /** Attributes for this view or view group. Can be empty but never null. */ 93 /** Returns whether this is a layout class (i.e. ViewGroup) or just a View */ 98 /** Returns FQCN e.g. "android.view.View" */ [all...] |
/development/apps/Development/src/com/android/development/ |
PackageSummary.java | 35 import android.view.LayoutInflater; 36 import android.view.View; 50 private View mDisabled; 51 private View mSystem; 52 private View mDebuggable; 53 private View mNoCode; 54 private View mPersistent; 109 mDisabled.setVisibility(View.GONE); 112 mSystem.setVisibility(View.GONE) 178 Button view = (Button)inflate.inflate( local 195 Button view = (Button)inflate.inflate( local 209 Button view = (Button)inflate.inflate( local 222 Button view = (Button)inflate.inflate( local 235 Button view = (Button)inflate.inflate( local [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/view/ |
List8.java | 17 package com.example.android.apis.view; 24 import android.view.View; 25 import android.view.ViewGroup; 26 import android.view.ViewGroup.LayoutParams; 36 * A list view that demonstrates the use of setEmptyView. This example alos uses 50 // Tell the list view which view to display when the list is empty 59 clear.setOnClickListener(new View.OnClickListener() { 61 public void onClick(View v) [all...] |
/external/webkit/WebCore/rendering/ |
RenderPartObject.cpp | 77 FrameView* view = static_cast<FrameView*>(widget()); local 78 RenderView* root = view ? view->frame()->contentRenderer() : NULL; 89 // Resize the view to recalc the height. 92 if (w > view->width()) 94 if (w != view->width() || h != view->height()) { 95 view->resize(w, h); 98 // Layout the view. 100 view->layout() 212 FrameView* view = static_cast<FrameView*>(widget()); local [all...] |
/frameworks/base/core/tests/coretests/src/android/view/ |
PreDrawListener.java | 17 package android.view; 23 import android.view.View; 24 import android.view.ViewTreeObserver; 25 import android.view.View.OnClickListener; 85 public void onClick(View v) {
|