Home
last modified time | relevance | path

Searched refs:picture (Results 1 – 25 of 62) sorted by relevance

123

/frameworks/base/core/jni/
Dandroid_graphics_Picture.cpp37 Picture* picture = NULL; in android_graphics_Picture_deserialize() local
40 picture = Picture::CreateFromStream(strm); in android_graphics_Picture_deserialize()
43 return reinterpret_cast<jlong>(picture); in android_graphics_Picture_deserialize()
47 Picture* picture = reinterpret_cast<Picture*>(pictureHandle); in android_graphics_Picture_killPicture() local
48 SkASSERT(picture); in android_graphics_Picture_killPicture()
49 delete picture; in android_graphics_Picture_killPicture()
55 Picture* picture = reinterpret_cast<Picture*>(pictureHandle); in android_graphics_Picture_draw() local
57 SkASSERT(picture); in android_graphics_Picture_draw()
58 picture->draw(canvas); in android_graphics_Picture_draw()
63 Picture* picture = reinterpret_cast<Picture*>(pictureHandle); in android_graphics_Picture_serialize() local
[all …]
/frameworks/base/graphics/java/android/graphics/drawable/
DPictureDrawable.java40 public PictureDrawable(Picture picture) { in PictureDrawable() argument
41 mPicture = picture; in PictureDrawable()
58 public void setPicture(Picture picture) { in setPicture() argument
59 mPicture = picture; in setPicture()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DUserSwitcherController.java153 if (r == null || r.picture == null || in refreshUsers()
157 bitmaps.put(r.info.id, r.picture); in refreshUsers()
184 Bitmap picture = bitmaps.get(info.id); in refreshUsers() local
185 if (picture == null) { in refreshUsers()
186 picture = mUserManager.getUserIcon(info.id); in refreshUsers()
188 if (picture != null) { in refreshUsers()
189 picture = BitmapHelper.createCircularClip( in refreshUsers()
190 picture, avatarSize, avatarSize); in refreshUsers()
194 records.add(index, new UserRecord(info, picture, false /* isGuest */, in refreshUsers()
520 public final Bitmap picture; field in UserSwitcherController.UserRecord
[all …]
DKeyguardUserSwitcher.java257 if (item.picture == null) { in getView()
260 v.bind(name, item.picture); in getView()
DUserInfoController.java202 public void onUserInfoChanged(String name, Drawable picture); in onUserInfoChanged() argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
DUserDetailItemView.java88 public void bind(String name, Bitmap picture) { in bind() argument
90 mAvatar.setBitmap(picture); in bind()
93 public void bind(String name, Drawable picture) { in bind() argument
95 mAvatar.setDrawable(picture); in bind()
DUserDetailView.java74 if (item.picture == null) { in getView()
77 v.bind(name, item.picture); in getView()
/frameworks/base/graphics/java/android/graphics/
DPicture.java203 public void drawPicture(Picture picture) { in drawPicture() argument
204 if (mPicture == picture) { in drawPicture()
207 super.drawPicture(picture); in drawPicture()
DCanvas.java1923 public void drawPicture(@NonNull Picture picture) { in drawPicture() argument
1924 picture.endRecording(); in drawPicture()
1926 picture.draw(this); in drawPicture()
1933 public void drawPicture(@NonNull Picture picture, @NonNull RectF dst) { in drawPicture() argument
1936 if (picture.getWidth() > 0 && picture.getHeight() > 0) { in drawPicture()
1937 scale(dst.width() / picture.getWidth(), dst.height() / picture.getHeight()); in drawPicture()
1939 drawPicture(picture); in drawPicture()
1946 public void drawPicture(@NonNull Picture picture, @NonNull Rect dst) { in drawPicture() argument
1949 if (picture.getWidth() > 0 && picture.getHeight() > 0) { in drawPicture()
1950 scale((float) dst.width() / picture.getWidth(), in drawPicture()
[all …]
/frameworks/ex/camera2/public/src/com/android/ex/camera2/pos/
DAutoFocusStateMachine.java334 public synchronized void setPassiveAutoFocus(boolean picture, in setPassiveAutoFocus() argument
336 if (VERBOSE_LOGGING) Log.v(TAG, "setPassiveAutoFocus - picture " + picture); in setPassiveAutoFocus()
338 if (picture) { in setPassiveAutoFocus()
/frameworks/base/tests/Camera2Tests/CameraToo/tests/src/com/example/android/camera2/cameratoo/
DCameraTooTest.java180 File picture = newFiles.iterator().next(); in capturedImageSaver() local
181 FileInputStream istream = new FileInputStream(picture); in capturedImageSaver()
187 assertTrue(picture.delete()); in capturedImageSaver()
/frameworks/webview/chromium/plat_support/
Ddraw_sw.h48 typedef jobject (AwCreatePictureFunction)(JNIEnv* env, SkPicture* picture);
/frameworks/base/docs/html/training/camera/
Dcameradirect.jd89 <p>Taking a picture usually requires that your users see a preview of their subject before clicking
156 // surface. Preview must be started before you can take a picture.
179 // Preview must be started before you can take a picture.
198 method to take a picture once the preview is started. You can create {@link
213 <p>After a picture is taken, you must restart the preview before the user
214 can take another picture. In this example, the restart is done by overloading
Dindex.jd2 page.tags=camera,video,picture
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DKeyguardStatusBarView.java151 public void onUserInfoChanged(String name, Drawable picture) { in setUserInfoController()
152 mMultiUserAvatar.setImageDrawable(picture); in setUserInfoController()
DStatusBarHeaderView.java495 public void onUserInfoChanged(String name, Drawable picture) { in setUserInfoController()
496 mMultiUserAvatar.setImageDrawable(picture); in setUserInfoController()
/frameworks/base/docs/html/guide/practices/ui_guidelines/
Dactivity_task_design.jd254 of pictures, viewing a picture, cropping a picture, running
319 activity and then, by attaching a file, to a picture gallery to pick
320 from. Contacts, email and picture gallery are all separate
490 activity has a field for a picture of a contact, but the Gallery is
492 activity to get a picture. This is a good example of re-use of the
496 Edit contact and touches the picture field, which launches the Gallery
497 activity. The user then chooses the picture they want, crops and saves
498 it. Saving it causes the picture to be inserted into the picture field
503 Notice the Gallery returns a picture to the Contacts application that
528 starts Gallery, picks a picture to view, chooses <em>Menu</em> &gt; Share, and
[all …]
/frameworks/base/docs/html/guide/topics/media/
Dcamera.jd2 page.tags=photo,video,picture,mediarecorder
25 <li><a href="#capture-picture">Capturing pictures</a></li>
73 camera? Are you just interested in snapping a quick picture or video clip, or will your application
175 camera intent makes a request to capture a picture or video clip through an existing camera app and
194 interface appears on the device screen and the user can take a picture or video.</li>
198 finishes taking a picture or video (or cancels the operation), the system calls this method.</li>
209 save the picture. This setting is optional but strongly recommended. If you do not specify this
210 value, the camera application saves the requested picture in the default location with a default
228 // create Intent to take a picture and return control to the calling application
241 After the user finishes taking a picture (or cancels the operation), the user interface returns to
[all …]
/frameworks/base/docs/html/distribute/analyze/
Dindex.jd31 data in AdMob</a> and have the full picture of your app revenue.
/frameworks/base/docs/html/distribute/engage/
Dintents.jd7 such as sharing a picture, sending a message, or playing music. You can do this though
/frameworks/base/docs/html/design/tv/
Dstyle.jd56 top and bottom edges and a minimum of 48px from the right and left edges of the picture.</p>
88 <p>Some TVs have strong sharpness and contrast settings as their defaults. These picture
/frameworks/base/docs/html/about/versions/
Dandroid-1.5-highlights.jd69 music player, picture frame, and search</li>
107 <li>Shows user picture for Favorites</li>
/frameworks/base/docs/html/training/sign-in/
Dindex.jd37 Once users have signed in with Google, your app can welcome them by name, display their picture,
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/
DGlobalScreenshot.java149 Bitmap picture = Bitmap.createBitmap(previewWidth, previewHeight, data.image.getConfig()); in SaveImageInBackgroundTask() local
151 c.setBitmap(picture); in SaveImageInBackgroundTask()
183 .bigPicture(picture.createAshmemBitmap()); in SaveImageInBackgroundTask()
/frameworks/base/docs/html/tools/performance/batterystats-battery-historian/
Dcharts.jd111 cell signal levels and screen brightness. Provides an overall picture of what's happening

123