Home
last modified time | relevance | path

Searched refs:secondary (Results 1 – 25 of 43) sorted by relevance

12

/packages/apps/Dialer/java/com/android/incallui/
DCallCardPresenter.java121 private DialerCall secondary; field in CallCardPresenter
200 } else if (isIncomingEmergencyCall(primary) || isIncomingEmergencyCall(secondary)) { in onInCallScreenReady()
258 DialerCall secondary = null; in onStateChange() local
270 secondary = InCallPresenter.getCallToDisplay(callList, null, true); in onStateChange()
273 secondary = InCallPresenter.getCallToDisplay(callList, primary, true); in onStateChange()
277 LogUtil.v("CallCardPresenter.onStateChange", "secondary call: " + secondary); in onStateChange()
283 if (secondary != null) { in onStateChange()
284 secondaryNumber = secondary.getNumber(); in onStateChange()
291 !(DialerCall.areSame(this.secondary, secondary) in onStateChange()
294 this.secondary = secondary; in onStateChange()
[all …]
/packages/apps/Settings/src/com/android/settings/datetime/
DLocationProviderStatusPreferenceController.java99 @Nullable TimeZoneProviderStatus secondary = status.getSecondaryProviderReportedStatus(); in getLtzpStatusToReport() local
100 if (primary != null && secondary != null) { in getLtzpStatusToReport()
101 return pickWorstLtzpStatus(primary, secondary); in getLtzpStatusToReport()
105 return secondary; in getLtzpStatusToReport()
110 TimeZoneProviderStatus primary, TimeZoneProviderStatus secondary) { in pickWorstLtzpStatus() argument
112 int secondaryScore = scoreLtzpStatus(secondary); in pickWorstLtzpStatus()
113 return primaryScore >= secondaryScore ? primary : secondary; in pickWorstLtzpStatus()
/packages/apps/StorageManager/robotests/src/com/android/storagemanager/deletionhelper/
DAppsAsyncLoaderTest.java306 UsageStats secondary = mock(UsageStats.class); in test_getGreaterUsageStats_primaryIsNull() local
307 when(secondary.getLastTimeUsed()).thenReturn(1000L); in test_getGreaterUsageStats_primaryIsNull()
308 assertThat(mLoader.getGreaterUsageStats(PACKAGE_NAME, null, secondary)) in test_getGreaterUsageStats_primaryIsNull()
309 .isEqualTo(secondary); in test_getGreaterUsageStats_primaryIsNull()
323 UsageStats secondary = mock(UsageStats.class); in test_getGreaterUsageStats_primaryIsGreater() local
324 when(secondary.getLastTimeUsed()).thenReturn(900L); in test_getGreaterUsageStats_primaryIsGreater()
325 assertThat(mLoader.getGreaterUsageStats(PACKAGE_NAME, primary, secondary)) in test_getGreaterUsageStats_primaryIsGreater()
333 UsageStats secondary = mock(UsageStats.class); in test_getGreaterUsageStats_secondaryIsGreater() local
334 when(secondary.getLastTimeUsed()).thenReturn(1000L); in test_getGreaterUsageStats_secondaryIsGreater()
335 assertThat(mLoader.getGreaterUsageStats(PACKAGE_NAME, primary, secondary)) in test_getGreaterUsageStats_secondaryIsGreater()
[all …]
/packages/apps/Settings/src/com/android/settings/widget/
DChartGridView.java110 final Drawable secondary = mSecondary; in onDraw() local
111 if (secondary != null) { in onDraw()
112 final int secondaryHeight = secondary.getIntrinsicHeight(); in onDraw()
117 secondary.setBounds(0, (int) y, width, bottom); in onDraw()
118 secondary.draw(canvas); in onDraw()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
DCursorAnchorInfoUtils.java184 final float secondary = layout.getSecondaryHorizontal(offset); in extractFromTextViewInternal() local
191 left = secondary - charWidth; in extractFromTextViewInternal()
192 right = secondary; in extractFromTextViewInternal()
199 left = secondary; in extractFromTextViewInternal()
200 right = secondary + charWidth; in extractFromTextViewInternal()
/packages/apps/Dialer/java/com/android/contacts/common/model/account/
DAccountType.java325 public boolean secondary; field in AccountType.EditType
341 public EditType setSecondary(boolean secondary) { in setSecondary() argument
342 this.secondary = secondary; in setSecondary()
378 + secondary in toString()
/packages/apps/Contacts/src/com/android/contacts/model/account/
DAccountType.java358 public boolean secondary; field in AccountType.EditType
372 public EditType setSecondary(boolean secondary) { in setSecondary() argument
373 this.secondary = secondary; in setSecondary()
406 + " secondary=" + secondary in toString()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/customization/ui/
DCustomizationPickerActivity2.kt141 if (rootView.currentState == R.id.secondary) { in <lambda>()
149 if (rootView.currentState != R.id.secondary) { in <lambda>()
152 rootView.transitionToState(R.id.secondary) in <lambda>()
266 motionContainer.getConstraintSet(R.id.secondary)?.apply { in <lambda>()
/packages/apps/Contacts/src/com/android/contacts/activities/
DContactEditorSpringBoardActivity.java100 final String secondary = in onCreate() local
102 if (intent.hasExtra(primary) && intent.hasExtra(secondary)) { in onCreate()
104 intent.getIntExtra(secondary, -1)); in onCreate()
/packages/services/Car/tools/telemetry/lua-interpreter/static/css/
Dindex.css6 --mdc-theme-on-secondary: #d2e3fc;
9 --mdc-theme-secondary: #8ab4f83d;
/packages/apps/Contacts/src/com/android/contacts/interactions/
DImportDialogFragment.java151 final CharSequence secondary = getSimSecondaryText(entry.mSim); in onCreateDialog()
152 if (TextUtils.isEmpty(secondary)) { in onCreateDialog()
155 secondaryText.setText(secondary); in onCreateDialog()
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/testing/
DTestEvents.java49 TestEvents.builder().mouse().secondary().build();
227 public Builder secondary() { in secondary() method in TestEvents.Builder
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/wear/elements/
DToggleChip.kt166 val checkedToggleControlColor = MaterialTheme.colors.secondary in toggleChipDisabledColors()
210 val checkedToggleControlColor = MaterialTheme.colors.secondary in toggleChipBackgroundColors()
/packages/modules/Uwb/service/uci/jni/
DAndroid.bp59 // build targets with secondary architectures, as the MTS test suite packaging logic flattens
/packages/modules/Connectivity/remoteauth/service/jni/
DAndroid.bp71 // build targets with secondary architectures, as the MTS test suite packaging logic flattens
/packages/modules/AdServices/sdksandbox/tests/hostsidetests/SdkSandboxMetricsHostTest/app/src/com/android/tests/sdksandbox/secondary/
DSdkSandboxMetricsSecondaryTestApp.java17 package com.android.tests.sdksandbox.secondary;
/packages/apps/Dialer/java/com/android/dialer/searchfragment/nearbyplaces/
DNearbyPlaceViewHolder.java54 placeAddress = view.findViewById(R.id.secondary); in NearbyPlaceViewHolder()
/packages/apps/AvatarPicker/src/main/java/com/android/avatarpicker/ui/
DAvatarPickerActivity.kt98 color = MaterialTheme.colorScheme.secondary, in <lambda>()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/wear/theme/
DWearPermissionTheme.kt54 secondary = tonalPalette.tertiary90, in overlayColors()
/packages/apps/Tag/src/com/android/apps/tag/record/
DRecordUtils.java120 TextView text = (TextView) item.findViewById(R.id.secondary); in buildActivityView()
/packages/apps/Dialer/java/com/android/dialer/searchfragment/directories/
DDirectoryContactViewHolder.java60 numberView = view.findViewById(R.id.secondary); in DirectoryContactViewHolder()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/orientation/
DPortraitPagedViewHandler.java775 FloatProperty secondary, DeviceProfile deviceProfile) { in getSplitSelectTaskOffset() argument
777 return new Pair<>(primary, secondary); in getSplitSelectTaskOffset()
779 return new Pair<>(secondary, primary); in getSplitSelectTaskOffset()
DRecentsPagedOrientationHandler.kt90 secondary: FloatProperty<T>, in setSecondary()
/packages/apps/DocumentsUI/src/com/android/documentsui/
DDrawerController.java140 @ColorRes int id = highlight ? R.color.secondary : in setDropTargetHighlight()
/packages/apps/Contacts/src/com/android/contacts/editor/
DEventFieldEditorView.java290 return eventType.rawValue == Event.TYPE_BIRTHDAY && !eventType.secondary in isBirthdayType()

12