Home
last modified time | relevance | path

Searched refs:background (Results 1 – 25 of 47) sorted by relevance

12

/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/
DKeyboardView.java295 final Drawable background = getBackground(); in onDrawKeyboard() local
296 if (background != null) { in onDrawKeyboard()
297 background.draw(canvas); in onDrawKeyboard()
331 final Drawable background = key.selectBackgroundDrawable( in onDrawKey() local
333 onDrawKeyBackground(key, canvas, background); in onDrawKey()
342 final Drawable background) { in onDrawKeyBackground() argument
349 final int intrinsicWidth = background.getIntrinsicWidth(); in onDrawKeyBackground()
350 final int intrinsicHeight = background.getIntrinsicHeight(); in onDrawKeyBackground()
364 final Rect bounds = background.getBounds(); in onDrawKeyBackground()
366 background.setBounds(0, 0, bgWidth, bgHeight); in onDrawKeyBackground()
[all …]
DKey.java901 final Drawable background; in selectBackgroundDrawable() local
903 background = functionalKeyBackground; in selectBackgroundDrawable()
905 background = spacebarBackground; in selectBackgroundDrawable()
907 background = keyBackground; in selectBackgroundDrawable()
910 background.setState(state); in selectBackgroundDrawable()
911 return background; in selectBackgroundDrawable()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
DKeyPreviewView.java80 final Drawable background = getBackground(); in setTextAndScaleX() local
81 if (background == null) { in setTextAndScaleX()
84 background.getPadding(mBackgroundPadding); in setTextAndScaleX()
85 final int maxWidth = background.getIntrinsicWidth() - mBackgroundPadding.left in setTextAndScaleX()
132 final Drawable background = getBackground(); in setPreviewBackground() local
133 if (background == null) { in setPreviewBackground()
137 background.setState(KEY_PREVIEW_BACKGROUND_STATE_TABLE[position][hasMoreKeysState]); in setPreviewBackground()
/packages/apps/MusicFX/src/com/android/musicfx/seekbar/
DProgressBar.java314 LayerDrawable background = (LayerDrawable) drawable; in tileify() local
315 final int N = background.getNumberOfLayers(); in tileify()
319 int id = background.getId(i); in tileify()
320 outDrawables[i] = tileify(background.getDrawable(i), in tileify()
327 newBg.setId(i, background.getId(i)); in tileify()
372 AnimationDrawable background = (AnimationDrawable) drawable; in tileifyIndeterminate() local
373 final int N = background.getNumberOfFrames(); in tileifyIndeterminate()
375 newBg.setOneShot(background.isOneShot()); in tileifyIndeterminate()
378 Drawable frame = tileify(background.getFrame(i), true); in tileifyIndeterminate()
380 newBg.addFrame(frame, background.getDuration(i)); in tileifyIndeterminate()
/packages/apps/UnifiedEmail/src/com/android/mail/ui/
DConversationTipView.java117 if (attr.background != -1) { in bindIcon()
118 image.setBackgroundResource(attr.background); in bindIcon()
273 public int background; field in ConversationTipView.ImageAttrSet
276 public ImageAttrSet(int resId, int background, String contentDescription) { in ImageAttrSet() argument
278 this.background = background; in ImageAttrSet()
/packages/apps/Launcher2/src/com/android/launcher2/
DBubbleTextView.java280 final Drawable background = mBackground; in draw() local
281 if (background != null) { in draw()
286 background.setBounds(0, 0, getRight() - getLeft(), getBottom() - getTop()); in draw()
291 background.draw(canvas); in draw()
294 background.draw(canvas); in draw()
/packages/apps/Launcher3/src/com/android/launcher3/
DBubbleTextView.java285 final Drawable background = mBackground; in draw() local
286 if (background != null) { in draw()
291 background.setBounds(0, 0, getRight() - getLeft(), getBottom() - getTop()); in draw()
296 background.draw(canvas); in draw()
299 background.draw(canvas); in draw()
DCellLayout.java353 void setPressedIcon(BubbleTextView icon, Bitmap background, int padding) { in setPressedIcon() argument
354 if (icon == null || background == null) { in setPressedIcon()
363 if (mTouchFeedbackView.setBitmap(background)) { in setPressedIcon()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/
DFrameLayoutWithShadows.java71 public void setBackground(Drawable background) { in setBackground() argument
72 super.setBackground(background); in setBackground()
73 if (background != null) { in setBackground()
79 background.setCallback(null); in setBackground()
80 background.setAlpha((int)(255 * mAlpha)); in setBackground()
/packages/apps/LegacyCamera/res/raw/
Dbackdropper.graph53 @filter MediaSource background {
86 @connect background[video] => replacer[background];
/packages/apps/Camera2/res/raw/
Dbackdropper.graph53 @filter MediaSource background {
88 @connect background[video] => replacer[background];
/packages/apps/Camera/res/raw/
Dbackdropper.graph53 @filter MediaSource background {
88 @connect background[video] => replacer[background];
/packages/apps/Gallery2/res/raw/
Dbackdropper.graph53 @filter MediaSource background {
88 @connect background[video] => replacer[background];
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
DCellBroadcastListItem.java66 Drawable background = message.isRead() ? in bind() local
70 setBackground(background); in bind()
/packages/apps/SoundRecorder/src/com/android/soundrecorder/
DVUMeter.java53 Drawable background = context.getResources().getDrawable(R.drawable.vumeter); in init() local
54 setBackgroundDrawable(background); in init()
/packages/apps/Settings/src/com/android/settings/widget/
DSetupWizardIllustration.java83 public void setBackground(Drawable background) { in setBackground() argument
84 mBackground = background; in setBackground()
/packages/apps/Email/emailcommon/src/com/android/emailcommon/service/
DEmailServiceProxy.java118 final long attachmentId, final boolean background) in loadAttachment() argument
124 mService.loadAttachment(cb, accountId, attachmentId, background); in loadAttachment()
DIEmailService.aidl31 boolean background); in loadAttachment() argument
/packages/apps/Mms/src/com/android/mms/ui/
DConversationListItem.java232 Drawable background = mContext.getResources().getDrawable(backgroundId); in updateBackground() local
233 setBackground(background); in updateBackground()
/packages/apps/UnifiedEmail/src/com/android/mail/browse/
DConversationItemView.java1354 final int background; in updateBackground() local
1356 background = mBackgroundOverrideResId; in updateBackground()
1358 background = R.drawable.conversation_item_background; in updateBackground()
1360 setBackgroundResource(background); in updateBackground()
/packages/apps/InCallUI/src/com/android/incallui/widget/multiwaveview/
DGlowPadView.java767 final Drawable background = getBackground(); in startBackgroundAnimation() local
768 if (mAlwaysTrackFinger && background != null) { in startBackgroundAnimation()
772 mBackgroundAnimator = Tweener.to(background, duration, in startBackgroundAnimation()
/packages/wallpapers/MusicVisualization/src/com/android/musicvis/vis4/
DVisualization4RS.java111 mTextures[0] = Allocation.createFromBitmapResource(mRS, mResources, R.drawable.background, in createScript()
/packages/apps/Settings/src/com/android/settings/applications/
DRunningState.java598 boolean update(Context context, boolean background) { in update() argument
599 mBackground = background; in update()
/packages/apps/Camera2/src/com/android/camera/ui/
DModeListView.java2099 public void setBackground(Bitmap background, RectF drawArea) { in setBackground() argument
2100 mBackground = background; in setBackground()
/packages/wallpapers/MusicVisualization/src/com/android/musicvis/vis5/
DVisualization5RS.java169 mTextures[0] = Allocation.createFromBitmapResource(mRS, mResources, R.drawable.background, in createScript()

12