Home
last modified time | relevance | path

Searched refs:mImageView (Results 1 – 18 of 18) sorted by relevance

/development/samples/devbytes/animation/ActivityAnimations/src/com/example/android/activityanim/
DPictureDetailsActivity.java62 private ImageView mImageView; field in PictureDetailsActivity
72 mImageView = (ImageView) findViewById(R.id.imageView); in onCreate()
90 mImageView.setImageDrawable(mBitmapDrawable); in onCreate()
99 ViewTreeObserver observer = mImageView.getViewTreeObserver(); in onCreate()
104 mImageView.getViewTreeObserver().removeOnPreDrawListener(this); in onCreate()
109 mImageView.getLocationOnScreen(screenLocation); in onCreate()
114 mWidthScale = (float) thumbnailWidth / mImageView.getWidth(); in onCreate()
115 mHeightScale = (float) thumbnailHeight / mImageView.getHeight(); in onCreate()
137 mImageView.setPivotX(0); in runEnterAnimation()
138 mImageView.setPivotY(0); in runEnterAnimation()
[all …]
/development/samples/browseable/DisplayingBitmaps/src/com.example.android.displayingbitmaps/ui/
DImageDetailFragment.java39 private ImageView mImageView; field in ImageDetailFragment
79 mImageView = (ImageView) v.findViewById(R.id.imageView); in onCreateView()
92 mImageFetcher.loadImage(mImageUrl, mImageView, this); in onActivityCreated()
97 mImageView.setOnClickListener((OnClickListener) getActivity()); in onActivityCreated()
104 if (mImageView != null) { in onDestroy()
106 ImageWorker.cancelWork(mImageView); in onDestroy()
107 mImageView.setImageDrawable(null); in onDestroy()
/development/samples/ApiDemos/src/com/example/android/apis/animation/
DTransition3d.java31 private ImageView mImageView; field in Transition3d
60 mImageView = (ImageView) findViewById(R.id.picture); in onCreate()
71 mImageView.setClickable(true); in onCreate()
72 mImageView.setFocusable(true); in onCreate()
73 mImageView.setOnClickListener(this); in onCreate()
106 mImageView.setImageResource(PHOTOS_RESOURCES[position]); in onItemClick()
155 mImageView.setVisibility(View.VISIBLE); in run()
156 mImageView.requestFocus(); in run()
160 mImageView.setVisibility(View.GONE); in run()
/development/samples/browseable/Notifications/Wearable/src/com.example.android.support.wearable.notifications/
DAnimatedNotificationDisplayActivity.java44 private ImageView mImageView; field in AnimatedNotificationDisplayActivity
58 mImageView = new ImageView(this); in onCreate()
59 mImageView.setImageResource(R.drawable.example_big_picture); in onCreate()
61 ImageZoomView zoomView = new ImageZoomView(this, mImageView, mAnimationRange); in onCreate()
71 float startX = mImageView.getTranslationX(); in createNextAnimation()
72 float startY = mImageView.getTranslationY(); in createNextAnimation()
77 mAnimation = ObjectAnimator.ofPropertyValuesHolder(mImageView, in createNextAnimation()
/development/samples/ApiDemos/src/com/example/android/apis/app/
DPictureInPictureAutoEnter.java44 private View mImageView; field in PictureInPictureAutoEnter
53 mImageView = findViewById(R.id.image); in onCreate()
54 mImageView.addOnLayoutChangeListener(mOnLayoutChangeListener); in onCreate()
119 mImageView.addOnLayoutChangeListener(mOnLayoutChangeListener); in updateLayout()
120 mImageView.setLayoutParams(layoutParams); in updateLayout()
124 mImageView.removeOnLayoutChangeListener(mOnLayoutChangeListener); in updatePictureInPictureParams()
128 mImageView.getGlobalVisibleRect(imageViewRect); in updatePictureInPictureParams()
DPrintBitmap.java44 private ImageView mImageView; field in PrintBitmap
50 mImageView = (ImageView) findViewById(R.id.image); in onCreate()
77 Bitmap bitmap = ((BitmapDrawable) mImageView.getDrawable()).getBitmap(); in print()
/development/samples/browseable/MediaBrowserService/src/com.example.android.mediabrowserservice/
DQueueAdapter.java46 ImageView mImageView; field in QueueAdapter.ViewHolder
58 holder.mImageView = (ImageView) convertView.findViewById(R.id.play_eq); in getView()
74 holder.mImageView.setImageDrawable( in getView()
77 holder.mImageView.setImageDrawable( in getView()
DBrowseFragment.java176 ImageView mImageView; field in BrowseFragment.BrowseAdapter.ViewHolder
190 holder.mImageView = (ImageView) convertView.findViewById(R.id.play_eq); in getView()
191 holder.mImageView.setVisibility(View.GONE); in getView()
203 holder.mImageView.setImageDrawable( in getView()
205 holder.mImageView.setVisibility(View.VISIBLE); in getView()
/development/samples/browseable/BasicRenderScript/src/com.example.android.basicrenderscript/
DMainActivity.java38 private ImageView mImageView; field in MainActivity
61 mImageView = (ImageView) findViewById(R.id.imageView); in onCreate()
62 mImageView.setImageBitmap(mBitmapsOut[mCurrentBitmap]); in onCreate()
151 mImageView.setImageBitmap(mBitmapsOut[result]); in updateView()
152 mImageView.invalidate(); in updateView()
/development/samples/browseable/DirectorySelection/src/com.example.android.directoryselection/
DDirectoryEntryAdapter.java42 private final ImageView mImageView; field in DirectoryEntryAdapter.ViewHolder
48 mImageView = (ImageView) v.findViewById(R.id.entry_image); in ViewHolder()
60 return mImageView; in getImageView()
/development/samples/devbytes/graphics/FoldingLayout/src/com/example/android/foldinglayout/
DFoldingLayoutActivity.java104 private ImageView mImageView; field in FoldingLayoutActivity
115 mImageView = (ImageView)findViewById(R.id.image_view); in onCreate()
116 mImageView.setPadding(ANTIALIAS_PADDING, ANTIALIAS_PADDING, ANTIALIAS_PADDING, in onCreate()
118 mImageView.setScaleType(ImageView.ScaleType.FIT_XY); in onCreate()
119 mImageView.setImageDrawable(getResources().getDrawable(R.drawable.image)); in onCreate()
296 mFoldLayout.removeView(mImageView); in onOptionsItemSelected()
301 mFoldLayout.addView(mImageView, new ViewGroup.LayoutParams( in onOptionsItemSelected()
/development/samples/browseable/RecipeAssistant/Application/src/com.example.android.wearable.recipeassistant/
DRecipeActivity.java41 private ImageView mImageView; field in RecipeActivity
64 mImageView = (ImageView) findViewById(R.id.recipeImageView); in onCreate()
102 mImageView.setAnimation(fadeIn); in displayRecipe()
104 mImageView.setImageBitmap(recipeImage); in displayRecipe()
/development/samples/devbytes/graphics/ImagePixelization/src/com/example/android/imagepixelization/
DImagePixelization.java60 ImageView mImageView; field in ImagePixelization
73 mImageView = (ImageView) findViewById(R.id.pixelView); in onCreate()
77 mImageView.setImageBitmap(mImageBitmap); in onCreate()
269 mImageView.setImageDrawable(pixelizeImage(mSeekBar.getProgress() in invokePixelization()
302 mImageView.setImageDrawable(result); in onPostExecute()
/development/samples/browseable/WearDrawers/src/com.example.android.wearable.wear.weardrawers/
DMainActivity.java218 private ImageView mImageView; field in MainActivity.PlanetFragment
229 mImageView = ((ImageView) rootView.findViewById(R.id.image)); in onCreateView()
232 mImageView.setImageResource(imageIdToLoad); in onCreateView()
238 mImageView.setImageResource(imageId); in updatePlanet()
/development/samples/browseable/RenderScriptIntrinsic/src/com.example.android.renderscriptintrinsic/
DMainActivity.java41 private ImageView mImageView; field in MainActivity
77 mImageView = (ImageView) findViewById(R.id.imageView); in onCreate()
78 mImageView.setImageBitmap(mBitmapsOut[mCurrentBitmap]); in onCreate()
298 mImageView.setImageBitmap(mBitmapsOut[result]); in updateView()
299 mImageView.invalidate(); in updateView()
/development/samples/browseable/PdfRendererBasic/src/com.example.android.pdfrendererbasic/
DPdfRendererBasicFragment.java72 private ImageView mImageView; field in PdfRendererBasicFragment
97 mImageView = (ImageView) view.findViewById(R.id.image); in onViewCreated()
203 mImageView.setImageBitmap(bitmap); in showPage()
/development/samples/training/ContactsList/src/com/example/android/contactslist/ui/
DContactDetailFragment.java94 private ImageView mImageView; field in ContactDetailFragment
156 mImageLoader.loadImage(mContactUri, mImageView); in setContact()
159 mImageView.setVisibility(View.VISIBLE); in setContact()
179 mImageView.setVisibility(View.GONE); in setContact()
238 mImageView = (ImageView) detailView.findViewById(R.id.contact_image); in onCreateView()
/development/samples/browseable/XYZTouristAttractions/Application/src/com.example.android.xyztouristattractions/ui/
DAttractionListFragment.java167 .into(holder.mImageView); in onBindViewHolder()
206 ImageView mImageView; field in AttractionListFragment.ViewHolder
214 mImageView = (ImageView) view.findViewById(android.R.id.icon); in ViewHolder()