Searched refs:background (Results 1 - 24 of 24) sorted by relevance

/packages/apps/Gallery2/src/com/android/gallery3d/photoeditor/actions/
H A DColorSeekBar.java45 private Bitmap background; field in class:ColorSeekBar
64 if (background != null) {
65 background.recycle();
67 background = Bitmap.createBitmap(w, h, Bitmap.Config.ARGB_8888);
68 Canvas canvas = new Canvas(background);
103 setBackgroundDrawable(new BitmapDrawable(getResources(), background));
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
H A DCellBroadcastListItem.java75 Drawable background = message.isRead() ?
79 setBackgroundDrawable(background);
/packages/apps/VideoEditor/src/com/android/videoeditor/util/
H A DImageUtils.java295 * @param drawableId The overlay background drawable if
306 final Drawable background = context.getResources().getDrawable(drawableId);
307 background.setBounds(INSET, startHeight, width - INSET,
309 background.draw(canvas);
338 * @param drawableId The overlay background drawable if
349 final Drawable background = context.getResources().getDrawable(drawableId);
350 background.setBounds(INSET, startHeight, width - INSET, height - INSET);
351 background.draw(canvas);
416 * @param drawableId The overlay background drawable if
427 final Drawable background
[all...]
/packages/apps/Launcher2/src/com/android/launcher2/
H A DBubbleTextView.java130 // Otherwise, either clear the pressed/focused background, or create a background
139 // background to null so that it will get created when the view is drawn.
271 final Drawable background = mBackground;
272 if (background != null) {
277 background.setBounds(0, 0, mRight - mLeft, mBottom - mTop);
282 background.draw(canvas);
285 background.draw(canvas);
/packages/apps/Email/emailcommon/src/com/android/emailcommon/service/
H A DIEmailService.aidl32 oneway void loadAttachment(long attachmentId, boolean background);
H A DEmailServiceProxy.java119 * non-background loading. The service MUST use the loadAttachmentStatus callback when
124 * @param background whether or not this request corresponds to a background action (i.e.
127 public void loadAttachment(final long attachmentId, final boolean background) argument
133 mService.loadAttachment(attachmentId, background);
/packages/apps/Gallery2/src/com/android/gallery3d/app/
H A DMovieControllerOverlay.java63 private final View background; field in class:MovieControllerOverlay
93 background = new View(context);
94 background.setBackgroundColor(context.getResources().getColor(R.color.darker_transparent));
95 addView(background, matchParent);
192 background.setVisibility(View.INVISIBLE);
243 background.setAnimation(null);
319 background.layout(l, y, r, b);
360 background.setVisibility(View.VISIBLE);
H A DManageCachePage.java327 mStaticBackground.setImage(R.drawable.background, R.drawable.background_portrait);
H A DAlbumPage.java403 mStaticBackground.setImage(R.drawable.background,
H A DAlbumSetPage.java408 mStaticBackground.setImage(R.drawable.background,
/packages/apps/SoundRecorder/src/com/android/soundrecorder/
H A DVUMeter.java53 Drawable background = context.getResources().getDrawable(R.drawable.vumeter);
54 setBackgroundDrawable(background);
/packages/apps/Email/src/com/android/email/
H A DMessagingListener.java111 boolean background) {
106 loadAttachmentFailed( long accountId, long messageId, long attachmentId, MessagingException me, boolean background) argument
H A DGroupMessagingListener.java191 boolean background) {
193 l.loadAttachmentFailed(accountId, messageId, attachmentId, me, background);
186 loadAttachmentFailed( long accountId, long messageId, long attachmentId, MessagingException me, boolean background) argument
H A DController.java398 * a simple message list. We should also at this point queue up a background task of
1517 MessagingException me, boolean background) {
1533 // want to avoid displaying toast for background operations, we force
1538 listener.loadAttachmentCallback(background ? null : me, accountId, messageId,
1799 public void loadAttachment(long attachmentId, boolean background)
1829 attachmentId, legacyListener, background);
1516 loadAttachmentFailed(long accountId, long messageId, long attachmentId, MessagingException me, boolean background) argument
H A DMessagingController.java236 * background and results are passed through the {@link MessagingListener}. If the
324 * Start background synchronization of the specified folder.
449 // groups of messages at a time, as a background task. However, we can't just return
1910 final long attachmentId, MessagingListener listener, final boolean background) {
1922 background);
1941 background);
1996 accountId, messageId, attachmentId, me, background);
1909 loadAttachment(final long accountId, final long messageId, final long mailboxId, final long attachmentId, MessagingListener listener, final boolean background) argument
/packages/apps/MusicFX/src/com/android/musicfx/seekbar/
H A DProgressBar.java94 * // Start lengthy operation in a background thread
164 * if your application uses a light colored theme (a white background).</p>
314 LayerDrawable background = (LayerDrawable) drawable;
315 final int N = background.getNumberOfLayers();
319 int id = background.getId(i);
320 outDrawables[i] = tileify(background.getDrawable(i),
327 newBg.setId(i, background.getId(i));
372 AnimationDrawable background = (AnimationDrawable) drawable;
373 final int N = background.getNumberOfFrames();
375 newBg.setOneShot(background
[all...]
/packages/apps/Email/src/com/android/email/service/
H A DEmailServiceUtils.java107 public void loadAttachment(long attachmentId, boolean background) throws RemoteException { argument
/packages/apps/Mms/src/com/android/mms/ui/
H A DConversationListItem.java184 Drawable background = mContext.getResources().getDrawable(backgroundId);
186 setBackgroundDrawable(background);
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/
H A DKeyboardView.java521 // Draw key background.
529 final Drawable background = params.mKeyBackground;
530 background.setState(drawableState);
531 final Rect bounds = background.getBounds();
533 background.setBounds(0, 0, bgWidth, bgHeight);
536 background.draw(canvas);
917 // Set the preview background state
/packages/wallpapers/MusicVisualization/src/com/android/musicvis/vis4/
H A DVisualization4RS.java111 mTextures[0] = Allocation.createFromBitmapResource(mRS, mResources, R.drawable.background);
/packages/wallpapers/MusicVisualization/src/com/android/musicvis/vis5/
H A DVisualization5RS.java169 mTextures[0] = Allocation.createFromBitmapResource(mRS, mResources, R.drawable.background,
/packages/apps/Settings/src/com/android/settings/applications/
H A DRunningState.java121 // background update thread and the UI thread.
468 boolean update(Context context, boolean background) { argument
472 mBackground = background;
/packages/apps/Phone/src/com/android/phone/
H A DPhoneUtils.java149 // all background calls instead of the first one to update
150 // the background connections, if there are new connections.
321 * <li>Else if there's a background call, hang that up.
340 log("hangup(): hanging up background call");
401 static boolean hangupHoldingCall(Call background) { argument
403 return hangup(background);
445 // handle foreground call hangup while there is background call
708 * @param heldCall is the background call want to be swapped
/packages/apps/Exchange/src/com/android/exchange/
H A DExchangeService.java407 public void loadAttachment(long attachmentId, boolean background) throws RemoteException {
1220 // After two tries, kill the process. Most likely, this will happen in the background
1493 // Handle alerts in a background thread, as we are typically called from a
1565 // If background data is now on, we want to kick ExchangeService
1567 kick("background data on");
1728 * 1) as a background service instantiated via startService (which happens on boot, when the
1731 * 2) to execute an RPC call from the UI, in which case the background service will already be
1734 * If the running background service detects that there are no EAS accounts (on boot, if none
1738 * The goal is to ensure that the background service is running at all times when there is at
1743 * background servic
[all...]

Completed in 583 milliseconds