Home
last modified time | relevance | path

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

12

/packages/services/Car/tests/carservice_test/src/com/android/car/
DVmsHalServiceSubscriptionEventTest.java43 List<VmsLayer> layers = new ArrayList<>(); in testEmptySubscriptions() local
44 subscriptionTestLogic(layers); in testEmptySubscriptions()
49 List<VmsLayer> layers = in testOneSubscription() local
51 subscriptionTestLogic(layers); in testOneSubscription()
56 List<VmsLayer> layers = Arrays.asList( in testManySubscriptions() local
62 subscriptionTestLogic(layers); in testManySubscriptions()
69 private void subscriptionTestLogic(List<VmsLayer> layers) throws Exception { in subscriptionTestLogic() argument
71 for (VmsLayer layer : layers) { in subscriptionTestLogic()
84 assertEquals(layers.size(), in subscriptionTestLogic()
88 int end = VmsSubscriptionsStateIntegerValuesIndex.SUBSCRIPTIONS_START + 3 * layers.size(); in subscriptionTestLogic()
[all …]
DVmsPublisherSubscriberTest.java569 private void assertSubscriptionState(int sequenceNumber, VmsLayer... layers) { in assertSubscriptionState() argument
570 assertSubscriptionState(sequenceNumber, new HashSet<>(Arrays.asList(layers)), in assertSubscriptionState()
580 private void assertSubscriptionState(int sequenceNumber, Set<VmsLayer> layers, in assertSubscriptionState() argument
586 assertEquals(layers, subscriptionState.getLayers()); in assertSubscriptionState()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/asset/
DAsset.java167 Drawable[] layers = new Drawable[2]; in loadDrawable()
168 layers[0] = placeholderDrawable; in loadDrawable()
169 layers[1] = new BitmapDrawable(resources, bitmap); in loadDrawable()
171 TransitionDrawable transitionDrawable = new TransitionDrawable(layers); in loadDrawable()
216 Drawable[] layers = new Drawable[2]; in loadDrawableWithTransition()
228 layers[0] = existingTransitionDrawable.findDrawableByLayerId(id); in loadDrawableWithTransition()
230 layers[0] = existingDrawable; in loadDrawableWithTransition()
232 layers[1] = new BitmapDrawable(resources, newBitmap); in loadDrawableWithTransition()
234 TransitionDrawable transitionDrawable = new TransitionDrawable(layers); in loadDrawableWithTransition()
/packages/services/Car/car-lib/src/android/car/vms/
DVmsSubscriptionState.java112 @NonNull Set<VmsLayer> layers, in VmsSubscriptionState() argument
115 this.mLayers = layers; in VmsSubscriptionState()
216 Set<VmsLayer> layers = unparcelLayers(in); in VmsSubscriptionState() local
220 this.mLayers = layers; in VmsSubscriptionState()
DVmsClient.java126 public void setSubscriptions(@NonNull Set<VmsAssociatedLayer> layers) { in setSubscriptions() argument
127 if (DBG) Log.d(TAG, "Setting subscriptions to " + layers); in setSubscriptions()
129 mService.setSubscriptions(mClientToken, new ArrayList<>(layers)); in setSubscriptions()
DIVmsBrokerService.aidl51 in List<VmsAssociatedLayer> layers) = 3; in setSubscriptions() argument
/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/surround_view/app/
DSurroundViewServiceCallback.cpp247 pDesc->layers = 1; in convertBufferDesc()
277 pDesc->layers, in attachRenderTarget()
421 << pDesc->layers in receiveFrames()
463 pDesc->layers, // layer count in receiveFrames()
/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/services/Car/service/src/com/android/car/vms/
DVmsClientInfo.java143 void setSubscriptions(List<VmsAssociatedLayer> layers) { in setSubscriptions() argument
145 mLayerSubscriptions = layers.stream() in setSubscriptions()
149 mLayerAndProviderSubscriptions = layers.stream() in setSubscriptions()
DVmsBrokerService.java171 public void setSubscriptions(IBinder clientToken, List<VmsAssociatedLayer> layers) { in setSubscriptions() argument
173 getClient(clientToken).setSubscriptions(layers); in setSubscriptions()
/packages/apps/ThemePicker/src/com/android/customization/picker/
DCustomizationPickerActivity.java267 Drawable[] layers = {icon, dot}; in showTipDot() local
268 LayerDrawable iconWithDot = new LayerDrawable(layers); in showTipDot()
287 LayerDrawable layers = (LayerDrawable) iconWithDot; in hideTipDot() local
288 Drawable icon = layers.getDrawable(0); in hideTipDot()
/packages/services/Car/evs/apps/default/
DRenderPixelCopy.cpp75 pTgtDesc->layers, in drawFrame()
101 pSrcDesc->layers, in drawFrame()
DRenderBase.cpp156 pDesc->layers, in attachRenderTarget()
DFormatConvert.cpp179 pDesc->layers = 1; in convertBufferDesc()
/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.java543 final Drawable[] layers = new Drawable[2]; in loadCachedPhoto() local
547 layers[0] = in loadCachedPhoto()
551 layers[0] = previousDrawable; in loadCachedPhoto()
553 layers[1] = getDrawableForBitmap(context.getResources(), cachedBitmap, request); in loadCachedPhoto()
554 TransitionDrawable drawable = new TransitionDrawable(layers); in loadCachedPhoto()
/packages/services/Car/evs/sampleDriver/
DGlWrapper.cpp362 pDesc->layers = 1; in updateImageTexture()
385 pDesc->layers, in updateImageTexture()
/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.java720 Set<VmsLayer> layers = subscriptionState.getLayers(); in createSubscriptionStateMessage() local
724 message.add(layers.size()); in createSubscriptionStateMessage()
729 for (VmsLayer layer : layers) { in createSubscriptionStateMessage()
/packages/services/Car/computepipe/runner/client_interface/
DAidlClientImpl.cpp144 desc.handle.description.layers = bufferDesc.layers; in DispatchPixelData()
/packages/services/Car/surround_view/service-impl/
DSurroundView2dSession.cpp159 pDesc->height, pDesc->format, pDesc->layers, in copyFromBufferToPointers()
541 pDesc->layers = 1; in handleFrames()
/packages/apps/Test/connectivity/sl4n/
DREADME.md7 automation of these layers via ADB.

12