Home
last modified time | relevance | path

Searched refs:secondary (Results 1 – 25 of 29) 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/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/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/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/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()
DBaseAccountType.java1206 protected static EditType build(int type, boolean secondary) { in build() argument
1207 return new EditType(type, Phone.getTypeLabelResource(type)).setSecondary(secondary); in build()
/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()
DBaseAccountType.java1039 protected static EditType build(int type, boolean secondary) { in build() argument
1040 return new EditType(type, Phone.getTypeLabelResource(type)).setSecondary(secondary); in build()
/packages/apps/Launcher3/src_ui_overrides/com/android/launcher3/uioverrides/dynamicui/
DWallpaperManagerCompatVOMR1.java70 Color secondary = colors.getSecondaryColor(); in convertColorsObject() local
73 int secondaryVal = secondary != null ? secondary.toArgb() : 0; in convertColorsObject()
DWallpaperManagerCompatVL.java156 int secondary = parts.length > 3 ? Integer.parseInt(parts[3]) : 0; in parseValue() local
159 return Pair.create(wallpaperId, new WallpaperColorsCompat(primary, secondary, tertiary, in parseValue()
/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/apps/Contacts/src/com/android/contacts/interactions/
DImportDialogFragment.java147 final CharSequence secondary = getSimSecondaryText(entry.mSim); in onCreateDialog()
148 if (TextUtils.isEmpty(secondary)) { in onCreateDialog()
151 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/apps/Dialer/java/com/android/dialer/searchfragment/nearbyplaces/
DNearbyPlaceViewHolder.java54 placeAddress = view.findViewById(R.id.secondary); in NearbyPlaceViewHolder()
/packages/apps/Tag/src/com/android/apps/tag/record/
DRecordUtils.java120 TextView text = (TextView) item.findViewById(R.id.secondary); in buildActivityView()
/packages/apps/DocumentsUI/src/com/android/documentsui/
DDrawerController.java133 @ColorRes int id = highlight ? R.color.secondary : in setDropTargetHighlight()
/packages/apps/Dialer/java/com/android/dialer/searchfragment/directories/
DDirectoryContactViewHolder.java60 numberView = view.findViewById(R.id.secondary); in DirectoryContactViewHolder()
/packages/apps/Car/CompanionDeviceSupport/src/com/android/car/companiondevicesupport/feature/calendarsync/proto/
Dcalendar.proto82 // A secondary color for the event.
/packages/apps/Contacts/src/com/android/contacts/editor/
DEventFieldEditorView.java290 return eventType.rawValue == Event.TYPE_BIRTHDAY && !eventType.secondary in isBirthdayType()
/packages/apps/Dialer/java/com/android/dialer/searchfragment/cp2/
DSearchContactViewHolder.java86 numberView = view.findViewById(R.id.secondary); in SearchContactViewHolder()
/packages/apps/Dialer/java/com/android/dialer/logging/
Ddialer_impression.proto81 // secondary or dialer is not default
88 // secondary or dialer is not default
/packages/providers/MediaProvider/src/com/android/providers/media/
DMediaProvider.java2073 String secondary = values.getAsString(MediaColumns.SECONDARY_DIRECTORY); in ensureFileColumns() local
2077 if (TextUtils.isEmpty(secondary)) secondary = defaultSecondary; in ensureFileColumns()
2080 if (secondary != null) { in ensureFileColumns()
2081 values.put(MediaColumns.RELATIVE_PATH, primary + '/' + secondary + '/'); in ensureFileColumns()
/packages/apps/Settings/tests/uitests/assets/
Dsearch_results_list478 Simulate secondary displays;overlay_display_devices
/packages/apps/Contacts/src/com/android/contacts/model/
DRawContactModifier.java171 final boolean validSecondary = (includeSecondary ? true : !type.secondary); in getValidTypes()

12