Home
last modified time | relevance | path

Searched refs:bg (Results 1 – 14 of 14) sorted by relevance

/packages/apps/Calendar/src/com/android/calendar/selectcalendars/
DSelectCalendarsSimpleAdapter.java340 int bg; in getBackground() local
341 bg = selected ? IS_SELECTED : 0; in getBackground()
342 bg |= (position == 0 && mOrientation == Configuration.ORIENTATION_LANDSCAPE) ? IS_TOP : 0; in getBackground()
343 bg |= position == mData.length - 1 ? IS_BOTTOM : 0; in getBackground()
344 bg |= (position > 0 && mData[position - 1].selected) ? IS_BELOW_SELECTED : 0; in getBackground()
345 return mRes.getDrawable(TabletCalendarItemBackgrounds.getBackgrounds()[bg]); in getBackground()
/packages/apps/Terminal/jni/
Dcom_android_terminal_Terminal.cpp494 cell->bg.red = 255; in getCellLocked()
505 cell->bg.blue = 255; in getCellLocked()
514 cell->bg.green = 255; in getCellLocked()
524 cell->bg.red = 128; in getCellLocked()
580 if (toArgb(a.bg) != toArgb(b.bg)) return false; in isCellStyleEqual()
619 env->SetIntField(run, cellRunBgField, toArgb(cell.bg)); in com_android_terminal_Terminal_nativeGetCellRun()
/packages/apps/Launcher2/src/com/android/launcher2/
DSearchDropTargetBar.java210 Drawable bg = mQSBSearchBar.getBackground(); in onSearchPackagesChanged() local
211 if (bg != null && (!searchVisible && !voiceVisible)) { in onSearchPackagesChanged()
213 mPreviousBackground = bg; in onSearchPackagesChanged()
DCellLayout.java434 Drawable bg; in onDraw() local
438 bg = mActiveGlowBackground; in onDraw()
440 bg = mNormalBackground; in onDraw()
443 bg.setAlpha((int) (mBackgroundAlpha * mBackgroundAlphaMultiplier * 255)); in onDraw()
444 bg.setBounds(mBackgroundRect); in onDraw()
445 bg.draw(canvas); in onDraw()
/packages/apps/Launcher3/src/com/android/launcher3/
DLauncherClings.java140 … Drawable bg = new BorderCropDrawable(mLauncher.getResources().getDrawable(R.drawable.cling_bg), in showLongPressCling() local
142 content.setBackground(bg); in showLongPressCling()
/packages/services/Telephony/src/com/android/phone/
DPhoneUtils.java286 final Call bg = cm.getFirstActiveBgCall(); in hangupAllCalls() local
291 if (bg != null && !bg.isIdle()) { in hangupAllCalls()
292 hangup(bg); in hangupAllCalls()
318 Call bg = cm.getFirstActiveBgCall(); in hangup() local
326 } else if (!bg.isIdle()) { in hangup()
328 hungup = hangup(bg); in hangup()
/packages/apps/Terminal/src/com/android/terminal/
DTerminalLineView.java67 m.bgPaint.setColor(m.run.bg); in onDraw()
DTerminal.java52 int bg = Color.DKGRAY; field in Terminal.CellRun
/packages/services/Car/car-ui-provider/src/android/car/ui/provider/
DCarUiEntry.java189 ImageView bg = (ImageView) mContentView.findViewById(R.id.background); in setBackground() local
190 bg.setBackground(bd); in setBackground()
DCarDrawerLayout.java814 final Drawable bg = v.getBackground(); in hasOpaqueBackground() local
815 return bg != null && bg.getOpacity() == PixelFormat.OPAQUE; in hasOpaqueBackground()
/packages/apps/UnifiedEmail/src/com/android/mail/utils/
DNotificationUtils.java957 Bitmap bg = sDefaultWearableBg.get(); in getDefaultWearableBg() local
958 if (bg == null) { in getDefaultWearableBg()
959 bg = BitmapFactory.decodeResource(context.getResources(), R.drawable.bg_email); in getDefaultWearableBg()
960 sDefaultWearableBg = new WeakReference<>(bg); in getDefaultWearableBg()
962 return bg; in getDefaultWearableBg()
/packages/apps/Calendar/src/com/android/calendar/
DUtils.java844 int bg = 0xffffffff; in getDeclinedColorFromColor() local
846 int r = (((color & 0x00ff0000) * a) + ((bg & 0x00ff0000) * (0xff - a))) & 0xff000000; in getDeclinedColorFromColor()
847 int g = (((color & 0x0000ff00) * a) + ((bg & 0x0000ff00) * (0xff - a))) & 0x00ff0000; in getDeclinedColorFromColor()
848 int b = (((color & 0x000000ff) * a) + ((bg & 0x000000ff) * (0xff - a))) & 0x0000ff00; in getDeclinedColorFromColor()
/packages/apps/Music/src/com/android/music/
DMusicUtils.java1286 Bitmap bg = Bitmap.createBitmap(vwidth, vheight, config); in setBackground() local
1287 Canvas c = new Canvas(bg); in setBackground()
1304 v.setBackgroundDrawable(new BitmapDrawable(bg)); in setBackground()
/packages/services/Car/bluetooth/bt-map-service/
Dbt_hci_startup_issues.txt91 3230 3230 3 14% R 983360K 45500K bg u0_a53 roid.music:main com.google.android.music:main
95 2466 3007 2 6% S 835584K 84444K bg u0_a13 Icing-Worker-0 com.google.android.gms
96 2689 2689 1 4% S 641984K 35004K bg u0_a33 id.car.pbapsink com.google.android.car.pbapsink
98 2466 2471 0 3% S 835584K 84444K bg u0_a13 Jit thread pool com.google.android.gms
100 2689 2695 2 2% S 641984K 35004K bg u0_a33 Jit thread pool com.google.android.car.pbapsink
101 1911 1916 2 1% R 672804K 45520K bg u0_a3 Jit thread pool android.process.acore
102 1265 1330 2 1% S 1081712K 84796K bg system android.bg system_server
116 2466 2466 2 0% S 835584K 84444K bg u0_a13 gle.android.gms com.google.android.gms
118 2689 2701 3 0% S 641984K 35004K bg u0_a33 HeapTaskDaemon com.google.android.car.pbapsink
1039 u:r:logd:s0 logd 156 1 12428 2616 30 10 0 3 bg sys_r…
[all …]