Home
last modified time | relevance | path

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

12

/packages/apps/StorageManager/robotests/src/com/android/storagemanager/deletionhelper/
DAppsAsyncLoaderTest.java308 UsageStats secondary = mock(UsageStats.class); in test_getGreaterUsageStats_primaryIsNull() local
309 when(secondary.getLastTimeUsed()).thenReturn(1000L); in test_getGreaterUsageStats_primaryIsNull()
310 assertThat(mLoader.getGreaterUsageStats(PACKAGE_NAME, null, secondary)) in test_getGreaterUsageStats_primaryIsNull()
311 .isEqualTo(secondary); in test_getGreaterUsageStats_primaryIsNull()
325 UsageStats secondary = mock(UsageStats.class); in test_getGreaterUsageStats_primaryIsGreater() local
326 when(secondary.getLastTimeUsed()).thenReturn(900L); in test_getGreaterUsageStats_primaryIsGreater()
327 assertThat(mLoader.getGreaterUsageStats(PACKAGE_NAME, primary, secondary)) in test_getGreaterUsageStats_primaryIsGreater()
335 UsageStats secondary = mock(UsageStats.class); in test_getGreaterUsageStats_secondaryIsGreater() local
336 when(secondary.getLastTimeUsed()).thenReturn(1000L); in test_getGreaterUsageStats_secondaryIsGreater()
337 assertThat(mLoader.getGreaterUsageStats(PACKAGE_NAME, primary, secondary)) in test_getGreaterUsageStats_secondaryIsGreater()
[all …]
/packages/apps/UnifiedEmail/src/com/google/android/mail/common/base/
DCharEscapers.java880 CharEscaper secondary) { in fallThrough() argument
882 checkNotNull(secondary); in fallThrough()
883 return new FallThroughCharEscaper(primary, secondary); in fallThrough()
1084 private final CharEscaper secondary; field in CharEscapers.FallThroughCharEscaper
1086 public FallThroughCharEscaper(CharEscaper primary, CharEscaper secondary) { in FallThroughCharEscaper() argument
1088 this.secondary = secondary; in FallThroughCharEscaper()
1095 result = secondary.escape(c); in escape()
/packages/experimental/LoaderApp/src/com/android/loaderapp/model/
DContactsSource.java196 public boolean secondary; field in ContactsSource.DataKind
249 public boolean secondary; field in ContactsSource.EditType
259 public EditType setSecondary(boolean secondary) { in setSecondary() argument
260 this.secondary = secondary; in setSecondary()
DFallbackSource.java160 kind.secondary = true; in inflateNickname()
312 kind.secondary = true; in inflateIm()
391 kind.secondary = true; in inflateNote()
409 kind.secondary = true; in inflateWebsite()
430 kind.secondary = true; in inflateEvent()
/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()
DChartNetworkSeriesView.java155 public void setSecondary(boolean secondary) { in setSecondary() argument
156 mSecondary = secondary; in setSecondary()
/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/com/android/launcher3/compat/
DWallpaperManagerCompatVOMR1.java70 Color secondary = colors.getSecondaryColor(); in convertColorsObject() local
73 int secondaryVal = secondary != null ? secondary.toArgb() : 0; in convertColorsObject()
DWallpaperManagerCompatVL.java159 int secondary = parts.length > 3 ? Integer.parseInt(parts[3]) : 0; in parseValue() local
162 return Pair.create(wallpaperId, new WallpaperColorsCompat(primary, secondary, tertiary, in parseValue()
/packages/apps/Dialer/java/com/android/incallui/
DCallCardPresenter.java254 DialerCall secondary = null; in onStateChange() local
266 secondary = getCallToDisplay(callList, null, true); in onStateChange()
269 secondary = getCallToDisplay(callList, primary, true); in onStateChange()
273 LogUtil.v("CallCardPresenter.onStateChange", "secondary call: " + secondary); in onStateChange()
278 !(DialerCall.areSame(mSecondary, secondary) in onStateChange()
279 && DialerCall.areSameNumber(mSecondary, secondary)); in onStateChange()
281 mSecondary = secondary; in onStateChange()
/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.java143 final CharSequence secondary = getSimSecondaryText(entry.mSim); in onCreateDialog()
144 if (TextUtils.isEmpty(secondary)) { in onCreateDialog()
147 secondaryText.setText(secondary); in onCreateDialog()
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/dirlist/
DUserInputHandler_MouseTest.java116 mInputHandler.onDown(mEvent.secondary().build()); in testRightClickDown_StartsContextMenu()
117 mContextMenuClickHandler.assertLastArgument(mEvent.secondary().build()); in testRightClickDown_StartsContextMenu()
DUserInputHandler_RangeTest.java155 TestEvent fistClick = mEvent.at(7).secondary().build(); in testRightClickEstablishesRange()
/packages/apps/Dialer/java/com/android/dialer/searchfragment/nearbyplaces/
DNearbyPlaceViewHolder.java52 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/tests/unit/com/android/documentsui/selection/
DBandControllerTest.java67 mBandController.shouldStart(goodStartEventBuilder().secondary().build())); in testBadStart_SecondaryButton()
/packages/apps/Dialer/java/com/android/dialer/searchfragment/cp2/
DSearchContactViewHolder.java71 numberView = view.findViewById(R.id.secondary); in SearchContactViewHolder()
/packages/apps/Contacts/src/com/android/contacts/editor/
DEventFieldEditorView.java290 return eventType.rawValue == Event.TYPE_BIRTHDAY && !eventType.secondary in isBirthdayType()
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/testing/
DTestEvent.java503 public Builder secondary() { in secondary() method in TestEvent.Builder
/packages/apps/Contacts/src/com/android/contacts/model/
DRawContactModifier.java171 final boolean validSecondary = (includeSecondary ? true : !type.secondary); in getValidTypes()

12