/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/ |
H A D | KeyPreviewView.java | 80 final Drawable background = getBackground(); 81 if (background == null) { 84 background.getPadding(mBackgroundPadding); 85 final int maxWidth = background.getIntrinsicWidth() - mBackgroundPadding.left 132 final Drawable background = getBackground(); 133 if (background == null) { 137 background.setState(KEY_PREVIEW_BACKGROUND_STATE_TABLE[position][hasMoreKeysState]);
|
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/ |
H A D | CellBroadcastListItem.java | 66 Drawable background = message.isRead() ? 70 setBackground(background);
|
/packages/apps/Email/emailcommon/src/com/android/emailcommon/service/ |
H A D | IEmailService.aidl | 31 boolean background);
|
H A D | EmailServiceProxy.java | 106 * non-background loading. The service MUST use the loadAttachmentStatus callback when 113 * @param background whether or not this request corresponds to a background action (i.e. 118 final long attachmentId, final boolean background) 124 mService.loadAttachment(cb, accountId, attachmentId, background); 117 loadAttachment(final IEmailServiceCallback cb, final long accountId, final long attachmentId, final boolean background) argument
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
H A D | BubbleTextView.java | 133 // Otherwise, either clear the pressed/focused background, or create a background 142 // background to null so that it will get created when the view is drawn. 280 final Drawable background = mBackground; 281 if (background != null) { 286 background.setBounds(0, 0, getRight() - getLeft(), getBottom() - getTop()); 291 background.draw(canvas); 294 background.draw(canvas);
|
/packages/apps/SoundRecorder/src/com/android/soundrecorder/ |
H A D | VUMeter.java | 53 Drawable background = context.getResources().getDrawable(R.drawable.vumeter); 54 setBackgroundDrawable(background);
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/ |
H A D | KeyboardView.java | 293 // Draw keyboard background. 295 final Drawable background = getBackground(); 296 if (background != null) { 297 background.draw(canvas); 331 final Drawable background = key.selectBackgroundDrawable( 333 onDrawKeyBackground(key, canvas, background); 340 // Draw key background. 342 final Drawable background) { 347 // HACK: To disable expanding normal/functional key background. 349 final int intrinsicWidth = background 341 onDrawKeyBackground(final Key key, final Canvas canvas, final Drawable background) argument [all...] |
H A D | Key.java | 135 /** Background type that represents different key background visual than normal one. */ 895 * Returns the background drawable for the key, based on the current state and type of the key. 896 * @return the background drawable of the key. 901 final Drawable background; 903 background = functionalKeyBackground; 905 background = spacebarBackground; 907 background = keyBackground; 910 background.setState(state); 911 return background;
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
H A D | BubbleTextView.java | 61 // TODO: Remove custom background handling code, as no instance of BubbleTextView use any 62 // background. 87 // Draw the background itself as the parent is drawn twice. 285 final Drawable background = mBackground; 286 if (background != null) { 291 background.setBounds(0, 0, getRight() - getLeft(), getBottom() - getTop()); 296 background.draw(canvas); 299 background.draw(canvas);
|
/packages/apps/Settings/src/com/android/settings/widget/ |
H A D | SetupWizardIllustration.java | 35 * (foreground) to fit the width of the view and fills the rest with the background. 79 * The background will be drawn to fill up the rest of the view. It will also be scaled by the 83 public void setBackground(Drawable background) { argument 84 mBackground = background; 146 // Draw the background filling parts not covered by the illustration 148 // Scale the background so its size matches the foreground
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/ |
H A D | FrameLayoutWithShadows.java | 71 public void setBackground(Drawable background) { argument 72 super.setBackground(background); 73 if (background != null) { 74 // framework adds a callback on background to trigger a repaint 79 background.setCallback(null); 80 background.setAlpha((int)(255 * mAlpha)); 121 // draw background 9 patch
|
/packages/apps/MusicFX/src/com/android/musicfx/seekbar/ |
H A D | ProgressBar.java | 94 * // 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/Mms/src/com/android/mms/ui/ |
H A D | ConversationListItem.java | 232 Drawable background = mContext.getResources().getDrawable(backgroundId); 233 setBackground(background);
|
/packages/wallpapers/MusicVisualization/src/com/android/musicvis/vis4/ |
H A D | Visualization4RS.java | 111 mTextures[0] = Allocation.createFromBitmapResource(mRS, mResources, R.drawable.background,
|
/packages/apps/InCallUI/src/com/android/incallui/widget/multiwaveview/ |
H A D | GlowPadView.java | 311 // View should be large enough to contain the background + handle and 768 final Drawable background = getBackground(); 769 if (mAlwaysTrackFinger && background != null) { 773 mBackgroundAnimator = Tweener.to(background, duration,
|
/packages/apps/Exchange/src/com/android/exchange/service/ |
H A D | EasService.java | 88 final long attachmentId, final boolean background) {
|
/packages/wallpapers/MusicVisualization/src/com/android/musicvis/vis5/ |
H A D | Visualization5RS.java | 169 mTextures[0] = Allocation.createFromBitmapResource(mRS, mResources, R.drawable.background,
|
/packages/apps/Email/src/com/android/email/service/ |
H A D | EmailServiceStub.java | 123 final long attachmentId, final boolean background) throws RemoteException { 122 loadAttachment(final IEmailServiceCallback cb, final long accountId, final long attachmentId, final boolean background) argument
|
H A D | Pop3Service.java | 80 final long attachmentId, final boolean background) throws RemoteException {
|
H A D | EmailServiceUtils.java | 83 * no background thread that happens to be running will continue, possibly hitting an 87 * be a lot cleaner if our background services could handle this without crashing. 696 final long attachmentId, final boolean background) throws RemoteException { 695 loadAttachment(final IEmailServiceCallback cb, final long accountId, final long attachmentId, final boolean background) argument
|
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ |
H A D | ConversationItemView.java | 221 /** The resource id of the color to use to override the background. */ 826 Utils.traceBeginSection("set background resource"); 1042 // the background is dark blue for activated versus gray for non-activated. 1420 * Set the background for this item based on: 1421 * 1. Read / Unread (unread messages have a lighter background) 1427 final int background; 1429 background = mBackgroundOverrideResId; 1431 background = R.drawable.conversation_item_background_selector; 1433 setBackgroundResource(background); 1483 // We update the background afte [all...] |
/packages/apps/Camera2/src/com/android/camera/ui/ |
H A D | ModeListView.java | 97 // 60% opaque black background. 1087 * Sets the alpha on the list background. This is called whenever the list 1088 * is scrolling or animating, so that background can adjust its dimness. 1090 * @param alpha new alpha to be applied on list background color 1095 // Change alpha on the background color. 1098 // Set new color to list background. 1642 * When visible width of list is changed, the background of the list needs 1650 // background should be 50% transparent. 1662 * Gets called when UI elements such as background and gear icon need to adjust 2060 * Sets the bitmap to be drawn in the background an 2066 setBackground(Bitmap background, RectF drawArea) argument [all...] |
/packages/apps/Settings/src/com/android/settings/applications/ |
H A D | RunningState.java | 201 // background update thread and the UI thread. 594 boolean update(Context context, boolean background) { argument 595 mBackground = background; 1341 // The background items have changed; we need to re-build the 1347 // We now need to re-build the per-user list so that background
|
/packages/services/Telephony/src/com/android/phone/ |
H A D | PhoneUtils.java | 308 * <li>Else if there's a background call, hang that up. 327 log("hangup(): hanging up background call"); 367 static boolean hangupHoldingCall(Call background) { argument 369 return hangup(background); 411 // handle foreground call hangup while there is background call 726 // multiple background calls, for now, always act on the first background call. 731 * @param heldCall is the background call want to be swapped 1955 // for background holding calls may do.
|
/packages/apps/UnifiedEmail/src/com/android/mail/utils/ |
H A D | Utils.java | 134 private static final int[] STYLE_ATTR = new int[] {android.R.attr.background};
|