Searched refs:card (Results 1 - 24 of 24) sorted by relevance

/frameworks/base/libs/hwui/tests/common/scenes/
H A DHwLayerAnimation.cpp30 sp<RenderNode> card; member in class:HwLayerAnimation
32 card = TestUtils::createNode(0, 0, 200, 200,
38 canvas.drawRenderNode(card.get());
42 card->mutateStagingProperties().setTranslationX(curFrame);
43 card->mutateStagingProperties().setTranslationY(curFrame);
44 card->setPropertyFieldsDirty(RenderNode::X | RenderNode::Y);
H A DOvalAnimation.cpp30 sp<RenderNode> card; member in class:OvalAnimation
33 card = TestUtils::createNode(0, 0, 200, 200,
40 canvas.drawRenderNode(card.get());
45 card->mutateStagingProperties().setTranslationX(curFrame);
46 card->mutateStagingProperties().setTranslationY(curFrame);
47 card->setPropertyFieldsDirty(RenderNode::X | RenderNode::Y);
H A DClippingAnimation.cpp30 sp<RenderNode> card; member in class:ClippingAnimation
33 card = TestUtils::createNode(0, 0, 200, 400,
59 canvas.drawRenderNode(card.get());
63 card->mutateStagingProperties().setTranslationX(curFrame);
64 card->mutateStagingProperties().setTranslationY(curFrame);
65 card->setPropertyFieldsDirty(RenderNode::X | RenderNode::Y);
H A DRectGridAnimation.cpp31 sp<RenderNode> card; member in class:RectGridAnimation
36 card = TestUtils::createNode(50, 50, 250, 250,
51 canvas.drawRenderNode(card.get());
57 card->mutateStagingProperties().setTranslationX(curFrame);
58 card->mutateStagingProperties().setTranslationY(curFrame);
59 card->setPropertyFieldsDirty(RenderNode::X | RenderNode::Y);
H A DSaveLayerAnimation.cpp30 sp<RenderNode> card; member in class:SaveLayerAnimation
34 card = TestUtils::createNode(0, 0, 400, 800,
57 canvas.drawRenderNode(card.get());
61 card->mutateStagingProperties().setTranslationX(curFrame);
62 card->mutateStagingProperties().setTranslationY(curFrame);
63 card->setPropertyFieldsDirty(RenderNode::X | RenderNode::Y);
H A DTextAnimation.cpp30 sp<RenderNode> card; member in class:TextAnimation
33 card = TestUtils::createNode(0, 0, width, height,
51 canvas.drawRenderNode(card.get());
56 card->mutateStagingProperties().setTranslationX(curFrame);
57 card->mutateStagingProperties().setTranslationY(curFrame);
58 card->setPropertyFieldsDirty(RenderNode::X | RenderNode::Y);
H A DPartialDamageAnimation.cpp45 sp<RenderNode> card = TestUtils::createNode(x, y, variable
50 canvas.drawRenderNode(card.get());
51 cards.push_back(card);
H A DShadowGrid2Animation.cpp37 sp<RenderNode> card = createCard(x, y, dp(50), dp(50)); variable
38 canvas.drawRenderNode(card.get());
39 cards.push_back(card);
H A DShadowGridAnimation.cpp37 sp<RenderNode> card = createCard(x, y, dp(100), dp(100)); variable
38 canvas.drawRenderNode(card.get());
39 cards.push_back(card);
H A DRecentsAnimation.cpp50 sp<RenderNode> card = createCard(x, y, cardsize, cardsize, thumb); variable
51 card->mutateStagingProperties().setElevation(i * dp(8));
52 renderer.drawRenderNode(card.get());
54 mCards.push_back(card);
H A DShapeAnimation.cpp32 sp<RenderNode> card; member in class:ShapeAnimation
34 card = TestUtils::createNode(0, 0, width, height,
98 canvas.drawRenderNode(card.get());
102 card->mutateStagingProperties().setTranslationY(frameNr % 150);
103 card->setPropertyFieldsDirty(RenderNode::Y);
H A DListViewAnimation.cpp69 // update card position
70 auto card = cards[(ci + cardIndexOffset) % cards.size()]; variable
72 card->mutateStagingProperties().setLeftTopRightBottom(
74 card->setPropertyFieldsDirty(RenderNode::X | RenderNode::Y);
138 snprintf(buf, sizeof(buf), "This card is #%d", cardId);
141 TestUtils::drawUtf8ToCanvas(&canvas, "This is some more text on the card", textPaint,
/frameworks/base/services/usb/java/com/android/server/usb/
H A DUsbAudioDevice.java42 public UsbAudioDevice(int card, int device, argument
44 mCard = card;
53 sb.append("UsbAudioDevice: [card: " + mCard);
63 return "[card:" + mCard + " device:" + mDevice + " " + mDeviceName + "]";
H A DUsbAlsaManager.java92 public AlsaDevice(int type, int card, int device) { argument
94 mCard = card;
108 sb.append("AlsaDevice: [card: " + mCard);
169 // and disconnected with its address (card , device) and force the
181 Slog.e(TAG, "Invalid alsa card or device alsaCard: " + alsaCard +
214 private AlsaDevice waitForAlsaDevice(int card, int device, int type) { argument
216 Slog.e(TAG, "waitForAlsaDevice(c:" + card + " d:" + device + ")");
219 AlsaDevice testDevice = new AlsaDevice(type, card, device);
247 int card = -1, device = -1;
268 card
297 selectAudioCard(int card) argument
460 setAccessoryAudioState(boolean enabled, int card, int device) argument
474 setPeripheralMidiState(boolean enabled, int card, int device) argument
[all...]
H A DUsbMidiDevice.java140 public static UsbMidiDevice create(Context context, Bundle properties, int card, int device) { argument
142 int subDeviceCount = nativeGetSubdeviceCount(card, device);
148 UsbMidiDevice midiDevice = new UsbMidiDevice(card, device, subDeviceCount);
157 private UsbMidiDevice(int card, int device, int subdeviceCount) { argument
158 mAlsaCard = card;
341 private static native int nativeGetSubdeviceCount(int card, int device); argument
342 private native FileDescriptor[] nativeOpen(int card, int device, int subdeviceCount); argument
H A DUsbDeviceManager.java650 int card = -1;
657 card = scanner.nextInt();
667 mUsbAlsaManager.setAccessoryAudioState(enabled, card, device);
/frameworks/base/core/java/com/android/internal/alsa/
H A DAlsaDevicesParser.java194 public int getDefaultDeviceNum(int card) { argument
206 public boolean hasPlaybackDevices(int card) { argument
208 if (deviceRecord.mCardNum == card &&
221 public boolean hasCaptureDevices(int card) { argument
223 if (deviceRecord.mCardNum == card &&
236 public boolean hasMIDIDevices(int card) { argument
238 if (deviceRecord.mCardNum == card &&
H A DAlsaCardsParser.java196 // Choose the most-recently added EXTERNAL card
200 Slog.d(TAG, rec.mCardName + " card:" + rec.mCardNum + " usb:" + rec.mIsUsb);
208 // or return the first added EXTERNAL card?
211 Slog.d(TAG, rec.mCardName + " card:" + rec.mCardNum + " usb:" + rec.mIsUsb);
222 // return an external card if possible
223 int card = getDefaultUsbCard();
225 Slog.d(TAG, "getDefaultCard() default usb card:" + card);
228 if (card < 0 && getNumCardRecords() > 0) {
229 // otherwise return the (internal) card wit
[all...]
/frameworks/base/services/core/jni/
H A Dcom_android_server_UsbMidiDevice.cpp43 jint card, jint device)
50 snprintf(path, sizeof(path), "/dev/snd/controlC%d", card);
84 android_server_UsbMidiDevice_open(JNIEnv *env, jobject thiz, jint card, jint device, argument
89 snprintf(path, sizeof(path), "/dev/snd/midiC%dD%d", card, device);
42 android_server_UsbMidiDevice_get_subdevice_count(JNIEnv *env, jobject , jint card, jint device) argument
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
H A DIccRecords.java372 UiccCard card = parentApp.getUiccCard();
373 if (card != null) {
374 String brandOverride = card.getOperatorBrandOverride();
382 log("getServiceProviderName: card is null, providerName=" + providerName);
587 * provided the SIM card. Returns null of SIM is not yet ready
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DInboundSmsHandler.java911 UiccCard card = UiccController.getInstance().getUiccCard(mPhone.getPhoneId());
912 if (card != null) {
913 carrierPackages = card.getCarrierPackageNamesForIntent(
H A DSMSDispatcher.java1724 UiccCard card = UiccController.getInstance().getUiccCard(mPhone.getPhoneId());
1725 if (card == null) {
1729 List<String> carrierPackages = card.getCarrierPackageNamesForIntent(
H A DGsmCdmaPhone.java3073 // update voice radio tech in icc card proxy
3173 UiccCard card = mUiccController.getUiccCard(getPhoneId());
3174 if (card == null) {
3178 boolean status = card.setOperatorBrandOverride(brand);
/frameworks/base/services/core/java/com/android/server/audio/
H A DAudioService.java572 public static String makeAlsaAddressString(int card, int device) { argument
573 return "card=" + card + ";device=" + device + ";";

Completed in 345 milliseconds