| /packages/apps/Browser/src/com/android/browser/ |
| BaseUi.java | 24 import android.graphics.Bitmap; 106 private Bitmap mDefaultVideoPoster; 617 Bitmap icon = tab.getFavicon(); 709 public Bitmap getDefaultVideoPoster() { 766 public Drawable getFaviconDrawable(Bitmap icon) {
|
| NavigationBarTablet.java | 26 import android.graphics.Bitmap; 208 public void setFavicon(Bitmap icon) {
|
| /packages/apps/Contacts/src/com/android/contacts/quickcontact/ |
| QuickContactActivity.java | 40 import android.graphics.Bitmap; 387 Bitmap photoBitmap = null; 412 new AsyncTask<Void, Void, Bitmap>() { 414 protected Bitmap doInBackground(Void... params) { 427 protected void onPostExecute(Bitmap result) {
|
| /cts/tests/tests/provider/src/android/provider/cts/ |
| MediaStore_Images_MediaTest.java | 25 import android.graphics.Bitmap; 153 // insert the image by bitmap 154 Bitmap src = BitmapFactory.decodeResource(mContext.getResources(), R.raw.scenery); 169 Bitmap result = Media.getBitmap(mContentResolver, 172 // can not check the identity between the result and source bitmap because 173 // source bitmap is compressed before it is saved as result bitmap
|
| Contacts_PeopleTest.java | 30 import android.graphics.Bitmap; 328 Bitmap bitmap = BitmapFactory.decodeStream(photoStream, null, null); 329 assertEquals(96, bitmap.getWidth()); 330 assertEquals(64, bitmap.getHeight()); 336 bitmap = People.loadContactPhoto(context, mPeopleRowsAdded.get(0), 338 assertEquals(96, bitmap.getWidth()); 339 assertEquals(64, bitmap.getHeight()); 341 bitmap = People.loadContactPhoto(context, null, 343 assertNotNull(bitmap); [all...] |
| /cts/tests/tests/widget/src/android/widget/cts/ |
| SimpleAdapterTest.java | 28 import android.graphics.Bitmap; 413 Bitmap actualBitmap = ((BitmapDrawable) view.getDrawable()).getBitmap(); 414 Bitmap testBitmap = WidgetTestUtils.getUnscaledAndDitheredBitmap(mContext.getResources(),
|
| SimpleCursorAdapterTest.java | 30 import android.graphics.Bitmap; 258 Bitmap actualBitmap = ((BitmapDrawable) view.getDrawable()).getBitmap(); 259 Bitmap testBitmap = WidgetTestUtils.getUnscaledAndDitheredBitmap(mContext.getResources(),
|
| CompoundButtonTest.java | 342 Canvas canvas = new Canvas(android.graphics.Bitmap.createBitmap(100, 100, 343 android.graphics.Bitmap.Config.ARGB_8888));
|
| /development/samples/LunarLander/src/com/example/android/lunarlander/ |
| LunarView.java | 21 import android.graphics.Bitmap; 111 private Bitmap mBackgroundImage; 230 // load background image as a Bitmap instead of a Drawable b/c 512 mBackgroundImage = Bitmap.createScaledBitmap( [all...] |
| /frameworks/base/packages/SystemUI/src/com/android/systemui/ |
| ImageWallpaper.java | 24 import android.graphics.Bitmap; 103 Bitmap mBackground; 280 // If we don't yet know the size of the wallpaper bitmap, 325 // the loaded bitmap. Yay! 459 private int loadTexture(Bitmap bitmap) { 476 GLUtils.texImage2D(GL_TEXTURE_2D, 0, GL_RGBA, bitmap, GL_UNSIGNED_BYTE, 0); 479 bitmap.recycle();
|
| /frameworks/base/packages/SystemUI/src/com/android/systemui/recent/ |
| RecentsPanelView.java | 26 import android.graphics.Bitmap; 101 Bitmap thumbnailViewImageBitmap; 400 private void updateThumbnail(ViewHolder h, Bitmap thumbnail, boolean show, boolean anim) { 408 // we haven't set a bitmap before, or if the bitmap size has changed
|
| /packages/apps/MusicFX/src/com/android/musicfx/seekbar/ |
| ProgressBar.java | 23 import android.graphics.Bitmap; 212 Bitmap mSampleTile; 342 final Bitmap tileBitmap = ((BitmapDrawable) drawable).getBitmap(); [all...] |
| /packages/wallpapers/MagicSmoke/src/com/android/magicsmoke/ |
| MagicSmokeRS.java | 28 import android.graphics.Bitmap; 263 opts.inPreferredConfig = Bitmap.Config.ARGB_8888; 264 Bitmap in = BitmapFactory.decodeResource(mResources, id, opts);
|
| /cts/tests/tests/openglperf/src/android/openglperf/cts/ |
| PlanetsRenderer.java | 20 import android.graphics.Bitmap; 333 Bitmap bitmap = BitmapFactory.decodeStream(in); local 340 GLUtils.texImage2D(GL10.GL_TEXTURE_2D, 0, bitmap, 0);
|
| /cts/tests/tests/view/src/android/view/cts/ |
| MenuInflaterTest.java | 31 import android.graphics.Bitmap; 238 Bitmap expected = BitmapFactory.decodeResource(mActivity.getResources(), resId);
|
| /development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
| CubeMapActivity.java | 34 import android.graphics.Bitmap; 147 Bitmap bitmap; local 149 bitmap = BitmapFactory.decodeStream(is); 158 bitmap, 0); 159 bitmap.recycle();
|
| MatrixPaletteRenderer.java | 33 import android.graphics.Bitmap; 281 Bitmap bitmap; local 283 bitmap = BitmapFactory.decodeStream(is); 292 GLUtils.texImage2D(GL10.GL_TEXTURE_2D, 0, bitmap, 0); 293 bitmap.recycle();
|
| /development/samples/RandomMusicPlayer/src/com/example/android/musicplayer/ |
| MusicService.java | 26 import android.graphics.Bitmap; 144 Bitmap mDummyAlbumArt;
|
| /frameworks/base/core/java/android/content/ |
| ContextWrapper.java | 26 import android.graphics.Bitmap; 260 public void setWallpaper(Bitmap bitmap) throws IOException { 261 mBase.setWallpaper(bitmap);
|
| /frameworks/base/media/java/android/media/videoeditor/ |
| MediaVideoItem.java | 23 import android.graphics.Bitmap; 283 public Bitmap getThumbnail(int width, int height, long timeMs) {
|
| /frameworks/base/sax/tests/saxtests/src/android/sax/ |
| SafeSaxTest.java | 19 import android.graphics.Bitmap; 529 public Bitmap bitmap; // cached bitmap of the thumbnail field in class:SafeSaxTest.YouTubeVideo
|
| /packages/apps/Launcher2/src/com/android/launcher2/ |
| RocketLauncher.java | 30 import android.graphics.Bitmap; 62 HashMap<ComponentName, Bitmap> mIcons;
|
| /packages/apps/Mms/src/com/android/mms/ui/ |
| SlideView.java | 24 import android.graphics.Bitmap; 106 public void setImage(String name, Bitmap bitmap) { 117 if (null == bitmap) { 118 bitmap = BitmapFactory.decodeResource(getResources(), 122 mImageView.setImageBitmap(bitmap);
|
| /external/chromium/chrome/common/ |
| common_param_traits_unittest.cc | 76 // Tests bitmap serialization. 77 TEST(IPCMessageTest, Bitmap) { 78 SkBitmap bitmap; local 80 bitmap.setConfig(SkBitmap::kARGB_8888_Config, 10, 5); 81 bitmap.allocPixels(); 82 memset(bitmap.getPixels(), 'A', bitmap.getSize()); 85 IPC::ParamTraits<SkBitmap>::Write(&msg, bitmap); 91 EXPECT_EQ(bitmap.config(), output.config()); 92 EXPECT_EQ(bitmap.width(), output.width()) [all...] |
| /frameworks/base/core/java/android/provider/ |
| Contacts.java | 26 import android.graphics.Bitmap; 600 * Opens an InputStream for the person's photo and returns the photo as a Bitmap. 624 * Opens an InputStream for the person's photo and returns the photo as a Bitmap. 634 public static Bitmap loadContactPhoto(Context context, Uri person, 641 Bitmap bm = stream != null ? BitmapFactory.decodeStream(stream, null, options) : null; 648 private static Bitmap loadPlaceholderPhoto(int placeholderImageResource, Context context, [all...] |