/packages/apps/StorageManager/robotests/src/com/android/storagemanager/deletionhelper/ |
D | AppsAsyncLoaderTest.java | 308 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/ |
D | CharEscapers.java | 880 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/ |
D | ContactsSource.java | 196 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()
|
D | FallbackSource.java | 160 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/ |
D | ChartGridView.java | 110 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()
|
D | ChartNetworkSeriesView.java | 155 public void setSecondary(boolean secondary) { in setSecondary() argument 156 mSecondary = secondary; in setSecondary()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/ |
D | CursorAnchorInfoUtils.java | 184 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/ |
D | AccountType.java | 325 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()
|
D | BaseAccountType.java | 1206 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/ |
D | AccountType.java | 358 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()
|
D | BaseAccountType.java | 1039 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/ |
D | WallpaperManagerCompatVOMR1.java | 70 Color secondary = colors.getSecondaryColor(); in convertColorsObject() local 73 int secondaryVal = secondary != null ? secondary.toArgb() : 0; in convertColorsObject()
|
D | WallpaperManagerCompatVL.java | 159 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/ |
D | CallCardPresenter.java | 254 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/ |
D | ContactEditorSpringBoardActivity.java | 100 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/ |
D | ImportDialogFragment.java | 143 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/ |
D | UserInputHandler_MouseTest.java | 116 mInputHandler.onDown(mEvent.secondary().build()); in testRightClickDown_StartsContextMenu() 117 mContextMenuClickHandler.assertLastArgument(mEvent.secondary().build()); in testRightClickDown_StartsContextMenu()
|
D | UserInputHandler_RangeTest.java | 155 TestEvent fistClick = mEvent.at(7).secondary().build(); in testRightClickEstablishesRange()
|
/packages/apps/Dialer/java/com/android/dialer/searchfragment/nearbyplaces/ |
D | NearbyPlaceViewHolder.java | 52 placeAddress = view.findViewById(R.id.secondary); in NearbyPlaceViewHolder()
|
/packages/apps/Tag/src/com/android/apps/tag/record/ |
D | RecordUtils.java | 120 TextView text = (TextView) item.findViewById(R.id.secondary); in buildActivityView()
|
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/selection/ |
D | BandControllerTest.java | 67 mBandController.shouldStart(goodStartEventBuilder().secondary().build())); in testBadStart_SecondaryButton()
|
/packages/apps/Dialer/java/com/android/dialer/searchfragment/cp2/ |
D | SearchContactViewHolder.java | 71 numberView = view.findViewById(R.id.secondary); in SearchContactViewHolder()
|
/packages/apps/Contacts/src/com/android/contacts/editor/ |
D | EventFieldEditorView.java | 290 return eventType.rawValue == Event.TYPE_BIRTHDAY && !eventType.secondary in isBirthdayType()
|
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/testing/ |
D | TestEvent.java | 503 public Builder secondary() { in secondary() method in TestEvent.Builder
|
/packages/apps/Contacts/src/com/android/contacts/model/ |
D | RawContactModifier.java | 171 final boolean validSecondary = (includeSecondary ? true : !type.secondary); in getValidTypes()
|