Home
last modified time | relevance | path

Searched refs:layers (Results 1 – 19 of 19) sorted by relevance

/packages/services/Car/tests/carservice_test/src/com/android/car/
DVmsHalServiceSubscriptionEventTest.java40 List<VmsLayer> layers = new ArrayList<>(); in testEmptySubscriptions() local
41 subscriptionTestLogic(layers); in testEmptySubscriptions()
46 List<VmsLayer> layers = in testOneSubscription() local
48 subscriptionTestLogic(layers); in testOneSubscription()
53 List<VmsLayer> layers = Arrays.asList( in testManySubscriptions() local
59 subscriptionTestLogic(layers); in testManySubscriptions()
66 private void subscriptionTestLogic(List<VmsLayer> layers) throws Exception { in subscriptionTestLogic() argument
68 for (VmsLayer layer : layers) { in subscriptionTestLogic()
81 assertEquals(layers.size(), in subscriptionTestLogic()
85 int end = VmsSubscriptionsStateIntegerValuesIndex.SUBSCRIPTIONS_START + 3 * layers.size(); in subscriptionTestLogic()
[all …]
DVmsPublisherSubscriberTest.java562 private void assertSubscriptionState(int sequenceNumber, VmsLayer... layers) { in assertSubscriptionState() argument
563 assertSubscriptionState(sequenceNumber, new HashSet<>(Arrays.asList(layers)), in assertSubscriptionState()
573 private void assertSubscriptionState(int sequenceNumber, Set<VmsLayer> layers, in assertSubscriptionState() argument
579 assertEquals(layers, subscriptionState.getLayers()); in assertSubscriptionState()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/asset/
DAsset.java163 Drawable[] layers = new Drawable[2]; in loadDrawable()
164 layers[0] = placeholderDrawable; in loadDrawable()
165 layers[1] = new BitmapDrawable(resources, bitmap); in loadDrawable()
167 TransitionDrawable transitionDrawable = new TransitionDrawable(layers); in loadDrawable()
209 Drawable[] layers = new Drawable[2]; in loadDrawableWithTransition()
219 layers[0] = existingTransitionDrawable.findDrawableByLayerId(id); in loadDrawableWithTransition()
221 layers[0] = existingDrawable; in loadDrawableWithTransition()
223 layers[1] = new BitmapDrawable(resources, newBitmap); in loadDrawableWithTransition()
225 TransitionDrawable transitionDrawable = new TransitionDrawable(layers); in loadDrawableWithTransition()
/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/
DPhotoTable.java467 Drawable[] layers = new Drawable[2]; in applyFrame() local
474 layers[0] = new BitmapDrawable(table.mResources, decodedPhoto); in applyFrame()
475 layers[1] = table.mResources.getDrawable(R.drawable.frame); in applyFrame()
476 LayerDrawable layerList = new LayerDrawable(layers); in applyFrame()
966 LayerDrawable layers = (LayerDrawable) image.getDrawable(); in getBitmap() local
967 if (layers == null) { in getBitmap()
970 BitmapDrawable bitmap = (BitmapDrawable) layers.getDrawable(0); in getBitmap()
986 LayerDrawable layers = (LayerDrawable) image.getDrawable(); in setHighlight() local
988 layers.getDrawable(1).setColorFilter(mHighlightColor, PorterDuff.Mode.SRC_IN); in setHighlight()
990 layers.getDrawable(1).clearColorFilter(); in setHighlight()
/packages/services/Car/car-lib/src/android/car/vms/
DVmsSubscriptionState.java143 List<VmsLayer> layers = new ArrayList<>(); in VmsSubscriptionState() local
144 in.readParcelableList(layers, VmsLayer.class.getClassLoader()); in VmsSubscriptionState()
145 mLayers = Collections.unmodifiableSet(new HashSet(layers)); in VmsSubscriptionState()
/packages/apps/ThemePicker/src/com/android/customization/widget/
DOptionSelectorController.java190 Drawable[] layers = {frame, checkmark}; in initOptions()
192 layers = new Drawable[]{checkmark}; in initOptions()
194 LayerDrawable checkedFrame = new LayerDrawable(layers); in initOptions()
197 int idx = layers.length - 1; in initOptions()
DDynamicAdaptiveIconDrawable.java411 final ChildDrawable[] layers = mLayerState.mChildren; in isProjected() local
413 if (layers[i].mDrawable != null && layers[i].mDrawable.isProjected()) { in isProjected()
/packages/apps/ThemePicker/src/com/android/customization/picker/
DCustomizationPickerActivity.java266 Drawable[] layers = {icon, dot}; in showTipDot() local
267 LayerDrawable iconWithDot = new LayerDrawable(layers); in showTipDot()
286 LayerDrawable layers = (LayerDrawable) iconWithDot; in hideTipDot() local
287 Drawable icon = layers.getDrawable(0); in hideTipDot()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/network/telephony/
DNetworkOperatorPreference.java132 final Drawable[] layers = {networkDrawable, signalDrawable}; in updateIcon() local
136 LayerDrawable icons = new LayerDrawable(layers); in updateIcon()
/packages/services/Car/tools/emulator/
Dvhal_emulator_test.py326 layers = rxMsg.value[0].int32_values[
330 self._log.info("testVms: %d available layers", layers)
331 for layer in xrange(layers):
/packages/apps/Dialer/java/com/android/dialer/contactphoto/
DContactPhotoManagerImpl.java544 final Drawable[] layers = new Drawable[2]; in loadCachedPhoto() local
548 layers[0] = in loadCachedPhoto()
552 layers[0] = previousDrawable; in loadCachedPhoto()
554 layers[1] = getDrawableForBitmap(context.getResources(), cachedBitmap, request); in loadCachedPhoto()
555 TransitionDrawable drawable = new TransitionDrawable(layers); in loadCachedPhoto()
/packages/apps/Contacts/src/com/android/contacts/
DContactPhotoManager.java962 final Drawable[] layers = new Drawable[2]; in loadCachedPhoto() local
967 layers[0] = previousTransitionDrawable.getDrawable( in loadCachedPhoto()
970 layers[0] = previousDrawable; in loadCachedPhoto()
972 layers[1] = getDrawableForBitmap(mContext.getResources(), cachedBitmap, request); in loadCachedPhoto()
973 TransitionDrawable drawable = new TransitionDrawable(layers); in loadCachedPhoto()
/packages/services/Car/service/src/com/android/car/hal/
DVmsHalService.java777 Set<VmsLayer> layers = subscriptionState.getLayers(); in createSubscriptionStateMessage() local
781 message.add(layers.size()); in createSubscriptionStateMessage()
786 for (VmsLayer layer : layers) { in createSubscriptionStateMessage()
/packages/apps/Test/connectivity/sl4n/
DREADME.md7 automation of these layers via ADB.
/packages/apps/Settings/src/com/android/settings/network/telephony/
DMobileNetworkUtils.java626 final Drawable[] layers = {networkDrawable, signalDrawable}; in getSignalStrengthIcon() local
630 final LayerDrawable icons = new LayerDrawable(layers); in getSignalStrengthIcon()
/packages/apps/Settings/tests/uitests/assets/
Dsearch_results_list207 Enable GPU debug layers;enable_gpu_debug_layers
468 Show hardware layers updates;show_hw_layers_updates
/packages/inputmethods/LatinIME/dictionaries/
Den_GB_wordlist.combined.gz1dictionary=main:en_gb,locale=en_GB,description=English (UK),date ...
Den_US_wordlist.combined.gz1dictionary=main:en_us,locale=en_US,description=English (US),date ...
Den_wordlist.combined.gz1dictionary=main:en,locale=en,description=English,date=1414726273, ...