/packages/apps/Contacts/src/com/android/contacts/list/ |
LegacyPostalAddressListAdapter.java | 26 import android.view.View; 27 import android.view.ViewGroup; 83 final ContactListItemView view = new ContactListItemView(context, null); local 84 view.setUnknownNameText(mUnknownNameText); 85 return view; 89 protected void bindView(View itemView, int partition, Cursor cursor, int position) { 91 ContactListItemView view = (ContactListItemView)itemView; local 92 bindName(view, cursor); 93 bindViewId(view, cursor, POSTAL_ID_COLUMN_INDEX) [all...] |
PostalAddressListAdapter.java | 27 import android.view.View; 28 import android.view.ViewGroup; 117 ContactListItemView view = super.newView(context, partition, cursor, position, parent); local 118 view.setUnknownNameText(mUnknownNameText); 119 view.setQuickContactEnabled(isQuickContactEnabled()); 120 view.setIsSectionHeaderEnabled(isSectionHeaderDisplayEnabled()); 121 return view; 125 protected void bindView(View itemView, int partition, Cursor cursor, int position) { 127 ContactListItemView view = (ContactListItemView)itemView local [all...] |
EmailAddressListAdapter.java | 28 import android.view.View; 29 import android.view.ViewGroup; 127 ContactListItemView view = super.newView(context, partition, cursor, position, parent); local 128 view.setUnknownNameText(mUnknownNameText); 129 view.setQuickContactEnabled(isQuickContactEnabled()); 130 return view; 134 protected void bindView(View itemView, int partition, Cursor cursor, int position) { 136 ContactListItemView view = (ContactListItemView)itemView; local 137 bindSectionHeaderAndDivider(view, position) [all...] |
/packages/apps/PackageInstaller/src/com/android/packageinstaller/ |
TabsAdapter.java | 22 import android.support.v4.view.PagerAdapter; 23 import android.support.v4.view.ViewPager; 24 import android.view.View; 25 import android.view.ViewGroup; 34 * trick. Normally a tab host has a simple API for supplying a View or 38 * view to show as the tab content. It listens to changes in tabs, and takes 53 private final View view; field in class:TabsAdapter.TabInfo 55 TabInfo(String _tag, View _view) 103 View view = mTabs.get(position).view; local [all...] |
/development/samples/Support7Demos/src/com/example/android/supportv7/graphics/ |
PaletteActivity.java | 35 import android.view.Menu; 36 import android.view.MenuInflater; 37 import android.view.MenuItem; 38 import android.view.View; 84 public void onViewCreated(View view, Bundle savedInstanceState) { 85 super.onViewCreated(view, savedInstanceState); 138 public void onListItemClick(ListView l, View v, int position, long id) { 187 public void bindView(final View view, Context context, Cursor cursor) [all...] |
/external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/ |
NavigationPopup.java | 14 import android.view.Gravity; 15 import android.view.View; 16 import android.view.ViewGroup; 131 public void onItemClick(AdapterView<?> parent, View view, int position, long id) { 137 private void updateBitmapForTextView(TextView view, Bitmap bitmap) { 146 view.setCompoundDrawables(faviconDrawable, null, null, null); 181 TextView view = new TextView(mContext); local 182 view.setFadingEdgeLength(mFadeEdgeLength) 216 TextView view; local [all...] |
/development/samples/devbytes/animation/ViewAnimations/src/com/example/android/viewanimations/ |
ViewAnimations.java | 21 import android.view.View; 22 import android.view.animation.AlphaAnimation; 23 import android.view.animation.Animation; 24 import android.view.animation.AnimationSet; 25 import android.view.animation.AnimationUtils; 26 import android.view.animation.RotateAnimation; 27 import android.view.animation.ScaleAnimation; 28 import android.view.animation.TranslateAnimation; 33 * This example shows how to use pre-3.0 view Animation classes to create various animated U [all...] |
/external/deqp/framework/platform/ios/ |
tcuIOSViewController.m | 21 * \brief iOS View Controller. 41 tcuEAGLView *view = [[tcuEAGLView alloc] initWithFrame:[UIScreen mainScreen].applicationFrame]; 42 self.view = view; 43 [view release]; 52 app = tcuIOSApp_create(self.view);
|
/frameworks/base/core/java/android/transition/ |
ChangeClipBounds.java | 24 import android.view.View; 25 import android.view.ViewGroup; 28 * ChangeClipBounds captures the {@link android.view.View#getClipBounds()} before and after the 54 View view = values.view; local 55 if (view.getVisibility() == View.GONE) [all...] |
/frameworks/base/core/java/android/widget/ |
PopupMenu.java | 20 import com.android.internal.view.menu.MenuBuilder; 21 import com.android.internal.view.menu.MenuPopupHelper; 22 import com.android.internal.view.menu.MenuPresenter; 23 import com.android.internal.view.menu.SubMenuBuilder; 26 import android.view.Gravity; 27 import android.view.Menu; 28 import android.view.MenuInflater; 29 import android.view.MenuItem; 30 import android.view.View; [all...] |
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
RevealActivity.java | 28 import android.view.View; 29 import android.view.View.OnClickListener; 30 import android.view.ViewAnimationUtils; 74 View revealView = new MyView(this); 83 public void onClick(View view) { 84 Animator animator = ViewAnimationUtils.createCircularReveal(view, 85 view.getWidth() / 2, view.getHeight() / 2 [all...] |
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
RowHeaderPresenter.java | 18 import android.view.LayoutInflater; 19 import android.view.View; 20 import android.view.ViewGroup; 25 * If subclass override and creates its own view, subclass must also override 49 public ViewHolder(View view) { 50 super(view); 77 ((RowHeaderView) viewHolder.view).setText(text); 92 holder.view.setAlpha(holder.mUnselectAlpha + holder.mSelectLevel [all...] |
/libcore/benchmarks/src/benchmarks/regression/ |
PropertyAccessBenchmark.java | 24 private View view = new View(); field in class:PropertyAccessBenchmark 32 setX = View.class.getDeclaredMethod("setX", float.class); 33 x = View.class.getDeclaredField("x"); 38 view.setX(0.1f); 44 view.x = 0.1f; 51 view.setX(value); 58 view.x = value; 64 setX.invoke(view, 0.1f) [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/ |
SwipeHelper.java | 27 import android.view.MotionEvent; 28 import android.view.VelocityTracker; 29 import android.view.View; 30 import android.view.animation.LinearInterpolator; 36 * events and translates / fades / animates the view as it is dismissed. 69 private View mCurrView; 106 public void resetTranslation(View v) { 114 private float getTranslation(View v) { 123 private ObjectAnimator createTranslationAnimation(View v, float newPos) [all...] |
/frameworks/support/v7/appcompat/src/android/support/v7/internal/view/menu/ |
MenuItemWrapperICS.java | 17 package android.support.v7.internal.view.menu; 24 import android.support.v4.internal.view.SupportMenuItem; 25 import android.support.v4.view.ActionProvider; 26 import android.support.v4.view.MenuItemCompat; 27 import android.support.v7.view.CollapsibleActionView; 29 import android.view.ContextMenu; 30 import android.view.MenuItem; 31 import android.view.SubMenu; 32 import android.view.View; [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/relative/ |
DependencyGraph.java | 65 // Parent view: 85 ViewData view = new ViewData(child, id); local 86 mNodeToView.put(child, view); 88 mIdToView.put(id, view); 92 for (ViewData view : mNodeToView.values()) { 93 for (IAttribute attribute : view.node.getLiveAttributes()) { 101 Constraint constraint = new Constraint(type, view, parentView); 102 view.dependsOn.add(constraint); 110 if (target == view) { 117 Constraint constraint = new Constraint(type, view, target) 167 ViewData view = mNodeToView.get(node); local 195 assert constraint.to == view; local 218 ViewData view = mNodeToView.get(from); local 244 assert constraint.from == view; local [all...] |
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/ |
panelEnablerView.css | 30 .panel-enabler-view { 40 .panel-enabler-view h1 { 48 .panel-enabler-view img { 59 .panel-enabler-view img.hidden { 64 .panel-enabler-view .flexible-space { 68 .panel-enabler-view form { 77 .panel-enabler-view label { 85 .panel-enabler-view input[type="radio"] { 97 .panel-enabler-view input[type="radio"]:active:not(:disabled) { 101 .panel-enabler-view input[type="radio"]:checked [all...] |
/packages/apps/Terminal/src/com/android/terminal/ |
TerminalActivity.java | 29 import android.support.v4.view.PagerAdapter; 30 import android.support.v4.view.PagerTitleStrip; 31 import android.support.v4.view.ViewPager; 34 import android.view.Menu; 35 import android.view.MenuItem; 36 import android.view.View; 37 import android.view.ViewGroup; 90 final TerminalView view = new TerminalView(container.getContext()); 91 view.setId(android.R.id.list) [all...] |
/external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/infobar/ |
AnimationHelper.java | 13 import android.view.View; 14 import android.view.ViewTreeObserver; 15 import android.view.animation.AccelerateDecelerateInterpolator; 26 * 1) Prep work is done for the InfoBar so that the View being animated in (if it exists) is 27 * properly sized. This involves adding the View to a FrameLayout with a visibility of 30 * 2) Once the View has an actual size, we compute all of the actions needed for the animation. 34 * 3) The animation is kicked off and the animations run. During this phase, the View being shown 54 private final View mToShow; 64 * @param toShow If non-null, this View will replace whatever child View the ContentWrapperVie 152 View view = mLinearLayout.getChildAt(i); local [all...] |
/frameworks/base/core/java/android/view/ |
ViewStub.java | 17 package android.view; 30 * A ViewStub is an invisible, zero-sized View that can be used to lazily inflate 34 * is inflated. The ViewStub then replaces itself in its parent with the inflated View or Views. 35 * Therefore, the ViewStub exists in the view hierarchy until {@link #setVisibility(int)} or 38 * The inflated View is added to the ViewStub's parent with the ViewStub's layout 39 * parameters. Similarly, you can define/override the inflate View's id by using the 52 * View created by inflating the layout resource "mySubTree" can be found using the 53 * id "subTree," specified by the inflatedId property. The inflated View is finally 60 * View inflated = stub.inflate(); 63 * When {@link #inflate()} is invoked, the ViewStub is replaced by the inflated View 231 View view = mInflatedViewRef.get(); local 264 final View view = factory.inflate(mLayoutResource, parent, local [all...] |
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/ |
ViewStubCompat.java | 24 import android.view.LayoutInflater; 25 import android.view.View; 26 import android.view.ViewGroup; 27 import android.view.ViewParent; 33 * Backport of {@link android.view.ViewStub} so that we can set the 34 * {@link android.view.LayoutInflater} on devices before Jelly Bean. 38 public final class ViewStubCompat extends View { 42 private WeakReference<View> mInflatedViewRef; 68 * Returns the id taken by the inflated view. If the inflated id i 168 View view = mInflatedViewRef.get(); local 201 final View view = factory.inflate(mLayoutResource, parent, local [all...] |
/packages/apps/Settings/src/com/android/settings/accessibility/ |
ToggleFeaturePreferenceFragment.java | 25 import android.view.Menu; 26 import android.view.MenuInflater; 27 import android.view.MenuItem; 28 import android.view.View; 29 import android.view.accessibility.AccessibilityEvent; 30 import android.view.accessibility.AccessibilityManager; 59 protected void onBindView(View view) { 60 super.onBindView(view); [all...] |
/frameworks/base/core/java/android/app/ |
ActivityTransitionCoordinator.java | 29 import android.view.GhostView; 30 import android.view.View; 31 import android.view.ViewGroup; 32 import android.view.ViewGroupOverlay; 33 import android.view.ViewParent; 34 import android.view.ViewTreeObserver; 35 import android.view.Window; 197 final protected ArrayList<View> mSharedElements = new ArrayList<View>(); 252 final View view = sharedElements.valueAt(i); local 296 View view = mTransitioningViews.get(i); local 364 View view = mTransitioningViews.get(i); local 511 View view = mSharedElements.get(i); local 663 View view = sharedElements.get(i); local 715 View view = views.get(i); local 821 View view = mSharedElements.get(i); local [all...] |
/cts/tests/tests/opengl/src/android/opengl/cts/ |
OpenGLES20NativeActivityTwo.java | 29 OpenGLES20View view; field in class:OpenGLES20NativeActivityTwo 51 view = new OpenGLES20View(this,type,i, vertexColors, mLatch); 52 setContentView(view); 70 if(view != null) { 71 view.onPause(); 79 if(view != null) { 80 view.onResume();
|
/developers/build/prebuilts/gradle/AppRestrictionEnforcer/Application/src/main/java/com/example/android/apprestrictionenforcer/ |
SetupProfileFragment.java | 23 import android.view.LayoutInflater; 24 import android.view.View; 25 import android.view.ViewGroup; 35 public class SetupProfileFragment extends Fragment implements View.OnClickListener { 47 public View onCreateView(LayoutInflater inflater, ViewGroup container, 53 public void onViewCreated(View view, Bundle savedInstanceState) { 54 view.findViewById(R.id.set_up_profile).setOnClickListener(this); 58 public void onClick(View view) [all...] |