/frameworks/base/core/tests/coretests/src/android/app/activity/ |
D | ServiceTest.java | 200 getContext().startService(new Intent(service).putExtras(bundle)); in startExpectResult() 204 getContext().startService(new Intent(service).putExtras(bundle)); in startExpectResult() 210 getContext().stopService(service); in startExpectResult() 218 getContext().stopService(service); in startExpectResult() 224 getContext().startService(service); in startExpectNoPermission() 238 getContext().bindService(service, conn, 0); in bindExpectResult() 239 getContext().startService(service); in bindExpectResult() 243 getContext().bindService(service, conn2, 0); in bindExpectResult() 246 getContext().unbindService(conn2); in bindExpectResult() 251 getContext().stopService(service); in bindExpectResult() [all …]
|
D | SubActivityTest.java | 27 mIntent.putExtra("component", new ComponentName(getContext(), SubActivityScreen.class)); in testPendingResult() 33 mIntent.putExtra("component", new ComponentName(getContext(), SubActivityScreen.class)); in testNoResult() 39 mIntent.putExtra("component", new ComponentName(getContext(), SubActivityScreen.class)); in testResult() 46 new ComponentName(getContext(), RemoteSubActivityScreen.class)); in testFinishSub() 53 new ComponentName(getContext(), RemoteSubActivityScreen.class)); in testRemoteNoResult() 60 new ComponentName(getContext(), RemoteSubActivityScreen.class)); in testRemoteResult() 66 mIntent.putExtra("component", new ComponentName(getContext(), SubActivityScreen.class)); in testRemoteFinishSub() 73 new ComponentName(getContext(), RemoteSubActivityScreen.class)); in testRemoteRestartNoResult() 81 new ComponentName(getContext(), RemoteSubActivityScreen.class)); in testRemoteRestartResult() 88 mIntent.putExtra("component", new ComponentName(getContext(), SubActivityScreen.class)); in testRemoteRestartFinishSub()
|
D | LaunchTest.java | 29 mIntent.putExtra("component", new ComponentName(getContext(), TestedActivity.class)); in testColdActivity() 35 mIntent.putExtra("component", new ComponentName(getContext(), LocalActivity.class)); in testLocalActivity() 41 mIntent.putExtra("component", new ComponentName(getContext(), TestedScreen.class)); in testColdScreen() 47 mIntent.putExtra("component", new ComponentName(getContext(), LocalScreen.class)); in testLocalScreen() 66 mIntent.putExtra("component", new ComponentName(getContext(), ClearTop.class)); in testClearTopInCreate() 72 mIntent.putExtra("component", new ComponentName(getContext(), ClearTop.class)); in testClearTopWhileResumed()
|
D | BroadcastTest.java | 180 getContext().registerReceiver(mReceiver, filter, permission, null); in registerMyReceiver() 192 getContext().unregisterReceiver(mReceiver); in unregisterMyReceiverNoCheck() 279 getContext().sendOrderedBroadcast( in testResult() 314 Intent sticky = getContext().registerReceiver(null, filter); in testSetSticky() 330 Intent sticky = getContext().registerReceiver(null, filter); in testClearSticky() 344 Intent sticky = getContext().registerReceiver(null, filter); in testReplaceSticky() 376 getContext().sendBroadcast(makeBroadcastIntent(BROADCAST_REGISTERED)); in testRegisteredReceivePermissionGranted() 391 getContext().sendOrderedBroadcast( in testRegisteredReceivePermissionDenied() 401 getContext().sendBroadcast( in testRegisteredBroadcastPermissionGranted() 418 getContext().sendOrderedBroadcast( in testRegisteredBroadcastPermissionDenied() [all …]
|
/frameworks/base/core/tests/coretests/src/android/content/pm/ |
D | PackageHelperTests.java | 165 volume = PackageHelper.resolveInstallVolume(getContext(), "package.name", in testResolveInstallVolumeInternal_SystemApp() 171 volume = PackageHelper.resolveInstallVolume(getContext(), "package.name", in testResolveInstallVolumeInternal_SystemApp() 177 volume = PackageHelper.resolveInstallVolume(getContext(), "package.name", in testResolveInstallVolumeInternal_SystemApp() 183 volume = PackageHelper.resolveInstallVolume(getContext(), "package.name", in testResolveInstallVolumeInternal_SystemApp() 193 PackageHelper.resolveInstallVolume(getContext(), "package.name", in testResolveInstallVolumeInternal_SystemApp() 203 PackageHelper.resolveInstallVolume(getContext(), "package.name", in testResolveInstallVolumeInternal_SystemApp() 213 PackageHelper.resolveInstallVolume(getContext(), "package.name", in testResolveInstallVolumeInternal_SystemApp() 223 PackageHelper.resolveInstallVolume(getContext(), "package.name", in testResolveInstallVolumeInternal_SystemApp() 241 volume = PackageHelper.resolveInstallVolume(getContext(), "package.name", in testResolveInstallVolumeInternal_3rdParty_existing_not_too_big() 247 volume = PackageHelper.resolveInstallVolume(getContext(), "package.name", in testResolveInstallVolumeInternal_3rdParty_existing_not_too_big() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/ |
D | DemoModeFragment.java | 62 Context context = getContext(); in onCreatePreferences() 78 ContentResolver contentResolver = getContext().getContentResolver(); in onCreatePreferences() 99 MetricsLogger.visibility(getContext(), MetricsEvent.TUNER_DEMO_MODE, true); in onResume() 105 MetricsLogger.visibility(getContext(), MetricsEvent.TUNER_DEMO_MODE, false); in onPause() 110 getContext().getContentResolver().unregisterContentObserver(mDemoModeObserver); in onDestroy() 115 boolean enabled = Settings.Global.getInt(getContext().getContentResolver(), in updateDemoModeEnabled() 122 boolean enabled = Settings.Global.getInt(getContext().getContentResolver(), in updateDemoModeOn() 136 MetricsLogger.action(getContext(), MetricsEvent.TUNER_DEMO_MODE_ENABLED, enabled); in onPreferenceChange() 139 MetricsLogger.action(getContext(), MetricsEvent.TUNER_DEMO_MODE_ON, enabled); in onPreferenceChange() 155 getContext().sendBroadcast(intent); in startDemoMode() [all …]
|
D | TunerFragment.java | 73 if (!PluginPrefs.hasPlugins(getContext())) { in onCreatePreferences() 86 if (Settings.Secure.getInt(getContext().getContentResolver(), SETTING_SEEN_TUNER_WARNING, in onCreatePreferences() 95 return new AmbientDisplayConfiguration(getContext()).alwaysOnAvailable(); in alwaysOnAvailable() 103 MetricsLogger.visibility(getContext(), MetricsEvent.TUNER, true); in onResume() 110 MetricsLogger.visibility(getContext(), MetricsEvent.TUNER, false); in onPause() 125 TunerService.showResetRequest(getContext(), new Runnable() { in onOptionsItemSelected() 141 return new AlertDialog.Builder(getContext()) in onCreateDialog() 147 Settings.Secure.putInt(getContext().getContentResolver(), in onCreateDialog()
|
D | PluginFragment.java | 64 getContext().registerReceiver(mReceiver, filter); in onCreate() 66 getContext().registerReceiver(mReceiver, filter); in onCreate() 72 getContext().unregisterReceiver(mReceiver); in onDestroy() 77 mPluginEnabler = new PluginEnablerImpl(getContext()); in onCreatePreferences() 83 PreferenceScreen screen = getPreferenceManager().createPreferenceScreen(getContext()); in loadPrefs() 85 Context prefContext = getPreferenceManager().getContext(); in loadPrefs() 86 mPluginPrefs = new PluginPrefs(getContext()); in loadPrefs() 87 PackageManager pm = getContext().getPackageManager(); in loadPrefs() 199 getContext().sendBroadcast(intent); in persistBoolean() 212 ResolveInfo result = v.getContext().getPackageManager().resolveActivity( in onBindViewHolder() [all …]
|
/frameworks/base/core/tests/coretests/src/android/view/accessibility/ |
D | FindViewByIdTest.java | 41 private Context getContext() { in getContext() method in FindViewByIdTest 52 LinearLayout contentView = new LinearLayout(getContext()); in testFindViewById() 54 View child1 = new View(getContext()); in testFindViewById() 55 View child2 = new View(getContext()); in testFindViewById() 69 LinearLayout contentView = new LinearLayout(getContext()); in testFindViewByIdReturnNullIfRemovedFromHierarchy() 71 View child1 = new View(getContext()); in testFindViewByIdReturnNullIfRemovedFromHierarchy() 72 View child2 = new View(getContext()); in testFindViewByIdReturnNullIfRemovedFromHierarchy() 87 LinearLayout contentView = new LinearLayout(getContext()); in testFindViewByIdReturnNullIfNotImportant() 89 View child1 = new View(getContext()); in testFindViewByIdReturnNullIfNotImportant() 90 View child2 = new View(getContext()); in testFindViewByIdReturnNullIfNotImportant()
|
/frameworks/base/services/core/java/com/android/server/display/color/ |
D | ColorDisplayService.java | 237 final ContentResolver cr = getContext().getContentResolver(); in onUserChanged() 364 final ContentResolver cr = getContext().getContentResolver(); in setUp() 393 setUpDisplayCompositionColorSpaces(getContext().getResources()); in setUp() 399 if (mNightDisplayTintController.isAvailable(getContext())) { in setUp() 405 .setUp(getContext(), DisplayTransformManager.needsLinearColorMatrix()); in setUp() 419 if (mDisplayWhiteBalanceTintController.isAvailable(getContext())) { in setUp() 421 mDisplayWhiteBalanceTintController.setUp(getContext(), true /* needsLinear */); in setUp() 431 getContext().getContentResolver().unregisterContentObserver(mContentObserver); in tearDown() 434 if (mNightDisplayTintController.isAvailable(getContext())) { in tearDown() 442 if (mDisplayWhiteBalanceTintController.isAvailable(getContext())) { in tearDown() [all …]
|
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | GlobalSortKeyComparatorTest.java | 48 Notification n = new Notification.Builder(getContext(), TEST_CHANNEL_ID) in testComparator() 50 NotificationRecord left = new NotificationRecord(getContext(), in testComparator() 57 NotificationRecord right = new NotificationRecord(getContext(), in testComparator() 64 NotificationRecord last = new NotificationRecord(getContext(), in testComparator() 87 Notification n = new Notification.Builder(getContext(), TEST_CHANNEL_ID) in testNoCrash_leftNull() 89 NotificationRecord left = new NotificationRecord(getContext(), in testNoCrash_leftNull() 95 NotificationRecord right = new NotificationRecord(getContext(), in testNoCrash_leftNull() 117 Notification n = new Notification.Builder(getContext(), TEST_CHANNEL_ID) in testNoCrash_rightNull() 119 NotificationRecord left = new NotificationRecord(getContext(), in testNoCrash_rightNull() 126 NotificationRecord right = new NotificationRecord(getContext(), in testNoCrash_rightNull()
|
D | NotificationIntrusivenessExtractorTest.java | 44 final Notification.Builder builder = new Notification.Builder(getContext()) in testNonIntrusive() 51 NotificationRecord r = new NotificationRecord(getContext(), sbn, channel); in testNonIntrusive() 59 final Notification.Builder builder = new Notification.Builder(getContext()) in testIntrusive_fillScreen() 62 getContext(), 0, new Intent(""), 0), true) in testIntrusive_fillScreen() 69 NotificationRecord r = new NotificationRecord(getContext(), sbn, channel); in testIntrusive_fillScreen() 77 final Notification.Builder builder = new Notification.Builder(getContext()) in testOldNotificationsNotIntrusive() 80 getContext(), 0, new Intent(""), 0), true) in testOldNotificationsNotIntrusive() 88 NotificationRecord r = new NotificationRecord(getContext(), sbn, channel); in testOldNotificationsNotIntrusive()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | MccTableTest.java | 89 LocaleUtils.getLocaleFromMcc(getContext(), 302, null)); in testLocale() 91 LocaleUtils.getLocaleFromMcc(getContext(), 234, null)); in testLocale() 93 LocaleUtils.getLocaleFromMcc(getContext(), 0, "en")); in testLocale() 95 LocaleUtils.getLocaleFromMcc(getContext(), 454, null)); in testLocale() 97 LocaleUtils.getLocaleFromMcc(getContext(), 454, "en")); in testLocale() 99 LocaleUtils.getLocaleFromMcc(getContext(), 466, null)); in testLocale() 102 private Context getContext() { in getContext() method in MccTableTest 103 return InstrumentationRegistry.getContext(); in getContext()
|
/frameworks/base/packages/SettingsProvider/test/src/com/android/providers/settings/ |
D | BaseSettingsProviderTest.java | 64 ContentResolver contentResolver = getContext().getContentResolver(); in setStringViaFrontEndApiSetting() 86 ContentResolver contentResolver = getContext().getContentResolver(); in getStringViaFrontEndApiSetting() 117 return getContext().getContentResolver().insert(uri, values); in insertStringViaProviderApi() 122 return getContext().getContentResolver().delete(uri, "name=?", new String[]{name}); in deleteStringViaProviderApi() 130 return getContext().getContentResolver().update(uri, values, "name=?", in updateStringViaProviderApiSetting() 154 Cursor cursor = getContext().getContentResolver().query(uri, NAME_VALUE_COLUMNS, in queryStringViaProviderApi() 239 return Settings.Global.getString(getContext().getContentResolver(), name); in getSetting() 243 return Settings.Secure.getString(getContext().getContentResolver(), name); in getSetting() 247 return Settings.System.getString(getContext().getContentResolver(), name); in getSetting() 259 Settings.Global.putString(getContext().getContentResolver(), name, value); in putSetting() [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/appop/ |
D | AppOpsNotedWatcherTest.java | 54 final AppOpsManager appOpsManager = getContext().getSystemService(AppOpsManager.class); in testWatchNotedOps() 60 getContext().getPackageName()); in testWatchNotedOps() 62 getContext().getPackageName()); in testWatchNotedOps() 68 eq(Process.myUid()), eq(getContext().getPackageName()), in testWatchNotedOps() 72 eq(Process.myUid()), eq(getContext().getPackageName()), in testWatchNotedOps() 82 private static Context getContext() { in getContext() method in AppOpsNotedWatcherTest 83 return InstrumentationRegistry.getContext(); in getContext()
|
D | AppOpsActiveWatcherTest.java | 59 final AppOpsManager appOpsManager = getContext().getSystemService(AppOpsManager.class); in testWatchActiveOps() 69 eq(Process.myUid()), eq(getContext().getPackageName()), eq(true)); in testWatchActiveOps() 79 Process.myUid(), getContext().getPackageName())).isTrue(); in testWatchActiveOps() 87 eq(Process.myUid()), eq(getContext().getPackageName()), eq(false)); in testWatchActiveOps() 91 Process.myUid(), getContext().getPackageName())).isFalse(); in testWatchActiveOps() 117 final AppOpsManager appOpsManager = getContext().getSystemService(AppOpsManager.class); in testIsRunning() 155 private static Context getContext() { in getContext() method in AppOpsActiveWatcherTest 156 return InstrumentationRegistry.getContext(); in getContext()
|
/frameworks/base/tests/NetworkSecurityConfigTest/src/android/security/net/config/ |
D | XmlConfigTests.java | 48 XmlConfigSource source = new XmlConfigSource(getContext(), R.xml.empty_config, in testEmptyConfigFile() 68 XmlConfigSource source = new XmlConfigSource(getContext(), R.xml.empty_trust, in testEmptyAnchors() 87 XmlConfigSource source = new XmlConfigSource(getContext(), R.xml.domain1, in testBasicDomainConfig() 124 XmlConfigSource source = new XmlConfigSource(getContext(), R.xml.pins1, in testBasicPinning() 140 XmlConfigSource source = new XmlConfigSource(getContext(), R.xml.expired_pin, in testExpiredPin() 155 XmlConfigSource source = new XmlConfigSource(getContext(), R.xml.override_pins, in testOverridesPins() 170 XmlConfigSource source = new XmlConfigSource(getContext(), R.xml.bad_pin, in testBadPin() 186 XmlConfigSource source = new XmlConfigSource(getContext(), R.xml.multiple_domains, in testMultipleDomains() 208 XmlConfigSource source = new XmlConfigSource(getContext(), R.xml.multiple_configs, in testMultipleDomainConfigs() 224 XmlConfigSource source = new XmlConfigSource(getContext(), R.xml.subdomains, in testIncludeSubdomains() [all …]
|
/frameworks/rs/cpu_ref/ |
D | rsCpuIntrinsic.cpp | 35 mCtx->getContext()->setError(RS_ERROR_FATAL_DRIVER, in invokeFunction() 40 mCtx->getContext()->setError(RS_ERROR_FATAL_DRIVER, in invokeRoot() 46 mCtx->getContext()->setError(RS_ERROR_FATAL_DRIVER, in invokeInit() 51 mCtx->getContext()->setError(RS_ERROR_FATAL_DRIVER, in setGlobalVar() 58 mCtx->getContext()->setError(RS_ERROR_FATAL_DRIVER, in setGlobalVarWithElemDims() 63 mCtx->getContext()->setError(RS_ERROR_FATAL_DRIVER, in setGlobalBind() 68 mCtx->getContext()->setError(RS_ERROR_FATAL_DRIVER, in setGlobalObj()
|
/frameworks/rs/cpp/ |
D | Allocation.cpp | 144 const void *typeID = RS::dispatch->AllocationGetType(mRS->getContext(), getID()); in updateFromNative() 165 tryDispatch(mRS, RS::dispatch->AllocationSyncAll(mRS->getContext(), getIDSafe(), srcLocation)); in syncAll() 181 p = RS::dispatch->AllocationGetPointer(mRS->getContext(), getIDSafe(), 0, in getPointer() 232 … tryDispatch(mRS, RS::dispatch->Allocation1DData(mRS->getContext(), getIDSafe(), off, mSelectedLOD, in copy1DRangeFrom() 236 … tryDispatch(mRS, RS::dispatch->Allocation1DData(mRS->getContext(), getIDSafe(), off, mSelectedLOD, in copy1DRangeFrom() 254 … tryDispatch(mRS, RS::dispatch->Allocation1DRead(mRS->getContext(), getIDSafe(), off, mSelectedLOD, in copy1DRangeTo() 259 … tryDispatch(mRS, RS::dispatch->Allocation1DRead(mRS->getContext(), getIDSafe(), off, mSelectedLOD, in copy1DRangeTo() 267 tryDispatch(mRS, RS::dispatch->AllocationCopy2DRange(mRS->getContext(), getIDSafe(), off, 0, in copy1DRangeFrom() 299 tryDispatch(mRS, RS::dispatch->Allocation2DData(mRS->getContext(), getIDSafe(), xoff, in copy2DRangeFrom() 305 tryDispatch(mRS, RS::dispatch->Allocation2DData(mRS->getContext(), getIDSafe(), xoff, in copy2DRangeFrom() [all …]
|
D | Script.cpp | 25 tryDispatch(mRS, RS::dispatch->ScriptInvokeV(mRS->getContext(), getID(), slot, v, len)); in invoke() 35 …tryDispatch(mRS, RS::dispatch->ScriptForEach(mRS->getContext(), getID(), slot, in_id, out_id, usr,… in forEach() 43 …tryDispatch(mRS, RS::dispatch->ScriptBindAllocation(mRS->getContext(), getID(), BaseObj::getObjID(… in bindAllocation() 48 …tryDispatch(mRS, RS::dispatch->ScriptSetVarObj(mRS->getContext(), getID(), index, (o == nullptr) ?… in setVar() 52 tryDispatch(mRS, RS::dispatch->ScriptSetVarV(mRS->getContext(), getID(), index, v, len)); in setVar()
|
D | ScriptIntrinsicBLAS.cpp | 218 nScriptIntrinsicBLAS_Single(mRS, mRS->getContext(), getID(), RsBlas_sgemv, in SGEMV() 229 nScriptIntrinsicBLAS_Double(mRS, mRS->getContext(), getID(), RsBlas_dgemv, in DGEMV() 240 nScriptIntrinsicBLAS_Complex(mRS, mRS->getContext(), getID(), RsBlas_cgemv, in CGEMV() 251 nScriptIntrinsicBLAS_Z(mRS, mRS->getContext(), getID(), RsBlas_zgemv, in ZGEMV() 267 nScriptIntrinsicBLAS_Single(mRS, mRS->getContext(), getID(), RsBlas_sgbmv, in SGBMV() 283 nScriptIntrinsicBLAS_Double(mRS, mRS->getContext(), getID(), RsBlas_dgbmv, in DGBMV() 299 nScriptIntrinsicBLAS_Complex(mRS, mRS->getContext(), getID(), RsBlas_cgbmv, in CGBMV() 315 nScriptIntrinsicBLAS_Z(mRS, mRS->getContext(), getID(), RsBlas_zgbmv, in ZGBMV() 378 nScriptIntrinsicBLAS_Single(mRS, mRS->getContext(), getID(), RsBlas_strmv, in STRMV() 387 nScriptIntrinsicBLAS_Double(mRS, mRS->getContext(), getID(), RsBlas_dtrmv, in DTRMV() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ |
D | KeyguardSliceProvider.java | 213 ListBuilder builder = new ListBuilder(getContext(), mSliceUri, ListBuilder.INFINITY); in onBindSlice() 250 : IconCompat.createFromIcon(getContext(), mediaIcon); in addMediaLocked() 262 IconCompat icon = IconCompat.createWithResource(getContext(), in addPrimaryActionLocked() 275 IconCompat alarmIcon = IconCompat.createWithResource(getContext(), in addNextAlarmLocked() 292 .setContentDescription(getContext().getResources() in addZenModeLocked() 295 IconCompat.createWithResource(getContext(), R.drawable.stat_sys_dnd), in addZenModeLocked() 315 mAlarmManager = getContext().getSystemService(AlarmManager.class); in onCreateSliceProvider() 316 mContentResolver = getContext().getContentResolver(); in onCreateSliceProvider() 317 mNextAlarmController = new NextAlarmControllerImpl(getContext()); in onCreateSliceProvider() 319 mZenModeController = new ZenModeControllerImpl(getContext(), mHandler); in onCreateSliceProvider() [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/ |
D | KeyguardClockSwitchTest.java | 79 .injectable(LayoutInflater.from(getContext())); in setUp() 83 mBigClockContainer = new FrameLayout(getContext()); in setUp() 84 mBigClock = new TextClock(getContext()); in setUp() 93 TextClock pluginView = new TextClock(getContext()); in onPluginConnected_showPluginClock() 131 when(plugin1.getView()).thenReturn(new TextClock(getContext())); in onPluginConnected_showSecondPluginClock() 135 when(plugin2.getView()).thenReturn(new TextClock(getContext())); in onPluginConnected_showSecondPluginClock() 156 TextClock pluginView = new TextClock(getContext()); in onPluginDisconnected_showDefaultClock() 170 FrameLayout bigClockContainer = new FrameLayout(getContext()); in onPluginDisconnected_hidePluginBigClock() 175 TextClock pluginView = new TextClock(getContext()); in onPluginDisconnected_hidePluginBigClock() 200 when(plugin1.getView()).thenReturn(new TextClock(getContext())); in onPluginDisconnected_secondOfTwoDisconnected() [all …]
|
/frameworks/opt/car/setupwizard/library/main/src/com/android/car/setupwizardlib/ |
D | CarSetupWizardBaseLayout.java | 166 LayoutInflater inflater = LayoutInflater.from(getContext()); in init() 172 getContext(), PartnerConfig.CONFIG_TOOLBAR_BUTTON_ICON_BACK); in init() 181 mPartnerConfigHelper.getColor(getContext(), PartnerConfig.CONFIG_TOOLBAR_BG_COLOR); in init() 220 getContext(), in init() 227 getContext(), in init() 430 Button newPrimaryButton = (Button) inflate(getContext(), layoutId, null); in createPrimaryToolbarButton() 568 float marginEnd = PartnerConfigHelper.get(getContext()).getDimension( in inflateSecondaryToolbarButtonIfNecessary() 569 getContext(), in inflateSecondaryToolbarButtonIfNecessary() 581 int color = mPartnerConfigHelper.getColor(getContext(), config); in setButtonTextColor() 594 Drawable background = mPartnerConfigHelper.getDrawable(getContext(), bgConfig); in setBackground() [all …]
|
D | CarSetupWizardLayout.java | 164 LayoutInflater inflater = LayoutInflater.from(getContext()); in init() 170 getContext(), PartnerConfig.CONFIG_TOOLBAR_BUTTON_ICON_BACK); in init() 179 mPartnerConfigHelper.getColor(getContext(), PartnerConfig.CONFIG_TOOLBAR_BG_COLOR); in init() 428 Button newPrimaryButton = (Button) inflate(getContext(), layoutId, null); in createPrimaryToolbarButton() 565 float marginEnd = PartnerConfigHelper.get(getContext()).getDimension( in maybeInflateSecondaryToolbarButton() 566 getContext(), in maybeInflateSecondaryToolbarButton() 578 int color = mPartnerConfigHelper.getColor(getContext(), config); in setButtonTextColor() 591 Drawable background = mPartnerConfigHelper.getDrawable(getContext(), bgConfig); in setBackground() 605 int color = mPartnerConfigHelper.getColor(getContext(), config); in setBackgroundColor() 618 getContext(), in setButtonTextSize() [all …]
|