Home
last modified time | relevance | path

Searched refs:primary (Results 1 – 25 of 34) sorted by relevance

12

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
DActivityLaunchAnimator.java151 RemoteAnimationTarget primary = getPrimaryRemoteAnimationTarget( in onAnimationStart() local
153 if (primary == null) { in onAnimationStart()
161 mIsFullScreenLaunch = primary.position.y == 0 in onAnimationStart()
162 && primary.sourceContainerBounds.height() in onAnimationStart()
185 int targetWidth = primary.sourceContainerBounds.width(); in onAnimationStart()
202 primary.position.y, progress); in onAnimationStart()
205 primary.position.y + primary.sourceContainerBounds.bottom, in onAnimationStart()
209 applyParamsToWindow(primary); in onAnimationStart()
236 RemoteAnimationTarget primary = null; in getPrimaryRemoteAnimationTarget() local
239 primary = app; in getPrimaryRemoteAnimationTarget()
[all …]
/frameworks/base/cmds/statsd/src/
Datom_field_options.proto27 // Default value for fields that are not primary or exclusive state.
36 // exclusive state field, and any number of primary key fields.
45 // If the atom has 2 or more primary fields, it means the combination of the primary fields are
46 // the primary key.
54 // Sometimes, there is no primary key field, when the state is GLOBAL.
61 // Only fields of primary types can be annotated. AttributionNode cannot be primary keys (and they
70 // Log fields as their actual types e.g., all primary data types.
/frameworks/base/core/tests/coretests/src/android/widget/espresso/
DTextViewActions.java350 boolean primary) { in dragHandle() argument
355 new HandleCoordinates(textView, handleType, endIndex, primary), in dragHandle()
424 public HandleCoordinates(TextView textView, Handle handleType, int index, boolean primary) { in HandleCoordinates() argument
428 mPrimary = primary; in HandleCoordinates()
431 + " (" + (primary ? "primary" : "secondary" ) + ")"; in HandleCoordinates()
511 public TextCoordinates(int index, boolean primary) { in TextCoordinates() argument
513 mPrimary = primary; in TextCoordinates()
515 + " (" + (primary ? "primary" : "secondary" ) + ")"; in TextCoordinates()
540 private float[] locateTextAtIndex(TextView textView, int index, boolean primary) { in locateTextAtIndex() argument
547 (primary ? layout.getPrimaryHorizontal(index) in locateTextAtIndex()
/frameworks/opt/car/setupwizard/library/main/tests/robotests/src/com/android/car/setupwizardlib/
DCarSetupWizardCompatLayoutTest.java442 Button primary = layout.getPrimaryToolbarButton(); in testPartnerResourcesAreApplied() local
444 assertThat(getDrawbleDefaultColor(primary.getBackground())) in testPartnerResourcesAreApplied()
448 assertThat(primary.getTextSize()) in testPartnerResourcesAreApplied()
452 assertThat(primary.getPaddingStart()) in testPartnerResourcesAreApplied()
455 assertThat(primary.getPaddingEnd()) in testPartnerResourcesAreApplied()
458 assertThat(primary.getPaddingTop()) in testPartnerResourcesAreApplied()
461 assertThat(primary.getPaddingBottom()) in testPartnerResourcesAreApplied()
478 Button primary = layout.getPrimaryToolbarButton(); in testSetButtonTextColor() local
481 primary, PartnerConfig.CONFIG_LAYOUT_BG_COLOR); in testSetButtonTextColor()
483 assertThat(primary.getCurrentTextColor()) in testSetButtonTextColor()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/dex/
DPackageDexUsageTests.java559 private void assertPackageDexUsage(TestData primary, TestData... secondaries) { in assertPackageDexUsage() argument
560 assertPackageDexUsage(mPackageDexUsage, null, primary, secondaries); in assertPackageDexUsage()
564 TestData primary, TestData... secondaries) { in assertPackageDexUsage() argument
565 assertPackageDexUsage(packageDexUsage, users, primary, Arrays.asList(secondaries)); in assertPackageDexUsage()
569 TestData primary, List<TestData> secondaries) { in assertPackageDexUsage() argument
570 String packageName = primary == null in assertPackageDexUsage()
572 : primary.mPackageName; in assertPackageDexUsage()
573 boolean primaryUsedByOtherApps = primary != null && primary.mUsedByOtherApps; in assertPackageDexUsage()
578 if (primary != null) { in assertPackageDexUsage()
579 assertEquals(primaryUsedByOtherApps, pInfo.isUsedByOtherApps(primary.mDexFile)); in assertPackageDexUsage()
[all …]
/frameworks/base/telephony/java/com/android/internal/telephony/
DSmsCbEtwsInfo.java76 boolean primary, byte[] warningSecurityInformation) { in SmsCbEtwsInfo() argument
80 mPrimary = primary; in SmsCbEtwsInfo()
/frameworks/base/tools/stats_log_api_gen/
Dtest.proto149 // The atom has only primary field but no exclusive state field.
181 // Atoms can have exclusive state field, but no primary field. That means
189 // We can have more than one primary fields. That means their combination is a
190 // primary key.
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/
DCONTRIBUTORS.txt13 Proto2 C++ and Java primary author:
16 Proto2 Python primary authors:
20 Java Nano primary authors:
/frameworks/base/core/java/com/android/internal/content/
DPackageHelper.java270 final StorageVolume primary = storage.getPrimaryVolume(); in fitsOnExternal() local
271 return (params.sizeBytes > 0) && !primary.isEmulated() in fitsOnExternal()
272 && Environment.MEDIA_MOUNTED.equals(primary.getState()) in fitsOnExternal()
273 && params.sizeBytes <= storage.getStorageBytesUntilLow(primary.getPathFile()); in fitsOnExternal()
/frameworks/base/core/java/android/app/
DWallpaperColors.java183 Color primary = null, secondary = null, tertiary = null; in fromBitmap() local
190 primary = color; in fromBitmap()
210 return new WallpaperColors(primary, secondary, tertiary, HINT_FROM_BITMAP | hints); in fromBitmap()
/frameworks/native/services/vr/virtual_touchpad/idc/
Dvr-virtual-touchpad-0.idc16 # Virtual touchpad for the primary display
/frameworks/base/core/java/android/os/storage/
DStorageVolume.java133 boolean primary, boolean removable, boolean emulated, boolean allowMassStorage, in StorageVolume() argument
139 mPrimary = primary; in StorageVolume()
/frameworks/base/core/java/android/hardware/radio/
DProgramSelector.java472 Identifier primary = new Identifier(IDENTIFIER_TYPE_AMFM_FREQUENCY, frequencyKhz); in createAmFmSelector() local
485 return new ProgramSelector(programType, primary, secondary, null); in createAmFmSelector()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DManagedServicesTest.java643 boolean primary = i % 2 == 0; in testSetPackageOrComponentEnabled()
644 service.setPackageOrComponentEnabled(expectedForUser.get(i), userId, primary, in testSetPackageOrComponentEnabled() local
1151 private void verifyExpectedBoundEntries(ManagedServices service, boolean primary) in verifyExpectedBoundEntries() argument
1153 ArrayMap<Integer, String> verifyMap = primary ? mExpectedPrimary.get(service.mApprovalLevel) in verifyExpectedBoundEntries()
1186 private void verifyExpectedApprovedEntries(ManagedServices service, boolean primary) { in verifyExpectedApprovedEntries() argument
1187 ArrayMap<Integer, String> verifyMap = primary in verifyExpectedApprovedEntries()
1212 private void verifyExpectedApprovedPackages(ManagedServices service, boolean primary) { in verifyExpectedApprovedPackages() argument
1213 ArrayMap<Integer, String> verifyMap = primary in verifyExpectedApprovedPackages()
/frameworks/base/services/core/java/com/android/server/wm/
DTaskStack.java430 final boolean primary = in calculateDockedBoundsForConfigChange()
432 repositionSplitScreenStackAfterRotation(parentConfig, primary, inOutBounds); in calculateDockedBoundsForConfigChange()
435 if (primary) { in calculateDockedBoundsForConfigChange()
456 void repositionSplitScreenStackAfterRotation(Configuration parentConfig, boolean primary, in repositionSplitScreenStackAfterRotation() argument
460 final int primaryDockSide = primary ? dockSide : otherDockSide; in repositionSplitScreenStackAfterRotation()
910 private void getStackDockedModeBounds(Configuration parentConfig, boolean primary, in getStackDockedModeBounds() argument
917 if (primary) { in getStackDockedModeBounds()
/frameworks/av/drm/mediacas/plugins/clearkey/protos/
Dlicense_protos.proto45 // Organization table and part of the primary key for the Asset table.
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/
DRestrictedLockUtilsTest.java223 EnforcedAdmin primary = RestrictedLockUtilsInternal.checkIfKeyguardFeaturesDisabled( in checkIfKeyguardFeaturesAreDisabled_notMatchOtherFeatures_unifiedManagedProfile() local
225 assertThat(primary).isNull(); in checkIfKeyguardFeaturesAreDisabled_notMatchOtherFeatures_unifiedManagedProfile()
/frameworks/base/core/java/android/text/
DLayout.java1183 private float getHorizontal(int offset, boolean primary) { in getHorizontal() argument
1184 return primary ? getPrimaryHorizontal(offset) : getSecondaryHorizontal(offset); in getHorizontal()
1233 private float[] getLineHorizontals(int line, boolean clamped, boolean primary) { in getLineHorizontals() argument
1254 if (!primary) { in getLineHorizontals()
1542 public int getOffsetForHorizontal(int line, float horiz, boolean primary) { in getOffsetForHorizontal() argument
1555 new HorizontalMeasurementProvider(line, primary); in getOffsetForHorizontal()
1645 HorizontalMeasurementProvider(final int line, final boolean primary) { in HorizontalMeasurementProvider() argument
1647 mPrimary = primary; in HorizontalMeasurementProvider()
/frameworks/native/services/surfaceflinger/sysprop/
DSurfaceFlingerProperties.sysprop169 # Returns the orientation of the primary display device.
254 # Return the native panel primary data. The data includes red, green,
255 # blue and white. The primary format is CIE 1931 XYZ color space.
/frameworks/av/apex/
DAndroid.bp20 // Extractor process runs only with the primary ABI.
/frameworks/av/media/extractors/mkv/
DMatroskaExtractor.cpp1770 static inline bool isValidPrimary(const mkvparser::PrimaryChromaticity *primary) { in isValidPrimary() argument
1771 return primary != NULL && primary->x >= 0 && primary->x <= 1 in isValidPrimary()
1772 && primary->y >= 0 && primary->y <= 1; in isValidPrimary()
/frameworks/base/core/java/android/widget/
DDialerFilter.java70 mPrimary = (EditText) findViewById(com.android.internal.R.id.primary); in onFinishInflate()
/frameworks/hardware/interfaces/stats/1.0/
Dtypes.hal144 /** Represents slow I/O operations on the primary flash storage, aggregated. */
/frameworks/base/services/usb/java/com/android/server/usb/
DUsbDeviceManager.java516 final StorageVolume primary = in UsbHandler() local
519 boolean massStorageSupported = primary != null && primary.allowMassStorage(); in UsbHandler()
/frameworks/base/services/core/java/com/android/server/notification/
DManagedServices.java506 protected String getApproved(int userId, boolean primary) { in getApproved() argument
509 ArraySet<String> approved = allowedByType.getOrDefault(primary, new ArraySet<>()); in getApproved()

12