/packages/apps/DevCamera/src/com/android/devcamera/ |
D | CameraDeviceReport.java | 55 Log.v(TAG, "Number of cameras:" + cameralist.length); in printCameraSystemInfo() 72 Log.v(TAG, "============= CAMERA " + id + " INFO ============="); in printCameraInfo() 86 Log.v(TAG, "SENSOR_INFO_ACTIVE_ARRAY_SIZE: " in printCameraInfo() 89 Log.v(TAG, "SENSOR_INFO_ACTIVE_ARRAY_SIZE: null"); in printCameraInfo() 93 Log.v(TAG, "SENSOR_INFO_PIXEL_ARRAY_SIZE: " + size2.getWidth() + "x" + size2.getHeight()); in printCameraInfo() 96 Log.v(TAG, "SENSOR_INFO_PHYSICAL_SIZE: " + size3.getWidth() + "x" + size3.getHeight()); in printCameraInfo() 100 Log.v(TAG, "SENSOR_ORIENTATION: " + sensorOrientation); in printCameraInfo() 102 Log.v(TAG, "SENSOR_INFO_TIMESTAMP_SOURCE: " + in printCameraInfo() 105 Log.v(TAG, "LENS_INFO_FOCUS_DISTANCE_CALIBRATION: " + in printCameraInfo() 109 Log.v(TAG, "STATISTICS_INFO_AVAILABLE_FACE_DETECT_MODES: "); in printCameraInfo() [all …]
|
/packages/apps/CellBroadcastReceiver/tests/testapp/src/com/android/cellbroadcastreceiver/tests/ |
D | SendTestBroadcastActivity.java | 108 public void onClick(View v) { in onCreate() 109 if (mDelayBeforeSending && v != null) { in onCreate() 122 public void onClick(View v) { in onCreate() 123 if (mDelayBeforeSending && v != null) { in onCreate() 137 public void onClick(View v) { in onCreate() 138 if (mDelayBeforeSending && v != null) { in onCreate() 151 public void onClick(View v) { in onCreate() 152 if (mDelayBeforeSending && v != null) { in onCreate() 165 public void onClick(View v) { in onCreate() 166 if (mDelayBeforeSending && v != null) { in onCreate() [all …]
|
/packages/modules/StatsD/lib/libkll/encoding/ |
D | varint.h | 30 static char* Encode32(char* ptr, uint32_t v); 31 static char* Encode64(char* ptr, uint64_t v); 34 static int Length64(uint64_t v); 39 static char* Encode32Inline(char* ptr, uint32_t v); 42 inline int Varint::Length64(uint64_t v) { in Length64() argument 46 uint32_t log2value = BitsUtil::Log2FloorNonZero64(v | 0x1); in Length64() 50 inline char* Varint::Encode32Inline(char* sptr, uint32_t v) { in Encode32Inline() argument 54 if (v < (1 << 7)) { in Encode32Inline() 55 *(ptr++) = static_cast<uint8_t>(v); in Encode32Inline() 56 } else if (v < (1 << 14)) { in Encode32Inline() [all …]
|
D | varint.cpp | 20 char* Varint::Encode32(char* sptr, uint32_t v) { in Encode32() argument 21 return Encode32Inline(sptr, v); in Encode32() 24 char* Varint::Encode64(char* sptr, uint64_t v) { in Encode64() argument 25 if (v < (1u << 28)) { in Encode64() 26 return Varint::Encode32(sptr, v); in Encode64() 32 const uint32_t x32 = v | (1 << 7) | (1 << 21); in Encode64() 33 const uint32_t y32 = v | (1 << 14) | (1 << 28); in Encode64() 38 if (v < (1ull << 35)) { in Encode64() 39 *(ptr++) = v >> 28; in Encode64() 42 *(ptr++) = (v >> 28) | (1 << 7); in Encode64() [all …]
|
/packages/apps/DocumentsUI/src/com/android/documentsui/ |
D | ItemDragListener.java | 66 public boolean onDrag(final View v, DragEvent event) { in onDrag() argument 69 return mDragHost.canHandleDragEvent(v); in onDrag() 71 handleEnteredEvent(v, event); in onDrag() 74 handleLocationEvent(v, event.getX(), event.getY()); in onDrag() 77 mDragHost.onDragExited(v); in onDrag() 78 handleExitedEndedEvent(v, event); in onDrag() 82 handleExitedEndedEvent(v, event); in onDrag() 85 return handleDropEvent(v, event); in onDrag() 91 private void handleEnteredEvent(View v, DragEvent event) { in handleEnteredEvent() argument 92 mDragHost.onDragEntered(v); in handleEnteredEvent() [all …]
|
/packages/apps/Car/libs/car-ui-lib/car-rotary-lib/src/main/java/com/android/car/ui/utils/ |
D | ViewUtils.java | 146 /* targetPredicate= */ v -> v instanceof FocusParkingView, in hideFocus() 501 v -> !isScrollableContainer(v) && canTakeFocus(v) && requestFocus(v), in focusOnFirstRegularView() 502 /* skipPredicate= */ v -> !v.isShown()); in focusOnFirstRegularView() 514 /* targetPredicate= */ v -> isScrollableContainer(v) && canTakeFocus(v), in focusOnScrollableContainer() 515 /* skipPredicate= */ v -> !v.isShown()); in focusOnScrollableContainer() 555 /* targetPredicate= */ v -> v.isFocusedByDefault() && canTakeFocus(v), in findFocusedByDefaultView() 556 /* skipPredicate= */ v -> !v.isShown()); in findFocusedByDefaultView() 587 /* targetPredicate= */ v -> v != view && canTakeFocus(v), in findFirstFocusableDescendant() 588 /* skipPredicate= */ v -> !v.isShown()); in findFirstFocusableDescendant() 599 /* targetPredicate= */ v -> v != view && v.isSelected() && canTakeFocus(v), in findFirstSelectedFocusableDescendant() [all …]
|
/packages/apps/Launcher3/src/com/android/launcher3/touch/ |
D | ItemClickHandler.java | 79 private static void onClick(View v) { in onClick() argument 82 if (v.getWindowToken() == null) return; in onClick() 84 Launcher launcher = Launcher.getLauncher(v.getContext()); in onClick() 87 Object tag = v.getTag(); in onClick() 89 onClickAppShortcut(v, (WorkspaceItemInfo) tag, launcher); in onClick() 91 if (v instanceof FolderIcon) { in onClick() 92 onClickFolderIcon(v); in onClick() 95 startAppShortcutOrInfoActivity(v, (AppInfo) tag, launcher in onClick() 98 if (v instanceof PendingAppWidgetHostView) { in onClick() 99 onClickPendingWidget((PendingAppWidgetHostView) v, launcher); in onClick() [all …]
|
D | ItemLongClickListener.java | 52 private static boolean onWorkspaceItemLongClick(View v) { in onWorkspaceItemLongClick() argument 54 Launcher launcher = Launcher.getLauncher(v.getContext()); in onWorkspaceItemLongClick() 57 if (!(v.getTag() instanceof ItemInfo)) return false; in onWorkspaceItemLongClick() 60 beginDrag(v, launcher, (ItemInfo) v.getTag(), launcher.getDefaultWorkspaceDragOptions()); in onWorkspaceItemLongClick() 64 public static void beginDrag(View v, Launcher launcher, ItemInfo info, in beginDrag() argument 69 if (!folder.getIconsInReadingOrder().contains(v)) { in beginDrag() 72 folder.startDrag(v, dragOptions); in beginDrag() 78 CellLayout.CellInfo longClickCellInfo = new CellLayout.CellInfo(v, info); in beginDrag() 82 private static boolean onAllAppsItemLongClick(View v) { in onAllAppsItemLongClick() argument 84 v.cancelLongPress(); in onAllAppsItemLongClick() [all …]
|
/packages/services/Car/service/src/com/android/car/hal/ |
D | CarPropertyUtils.java | 72 VehiclePropValue.RawValue v = halValue.value; in toCarPropertyValue() local 77 v.int32Values.get(0) == 1); in toCarPropertyValue() 80 v.floatValues.get(0)); in toCarPropertyValue() 83 v.int32Values.get(0)); in toCarPropertyValue() 86 v.int64Values.get(0)); in toCarPropertyValue() 88 Float[] values = new Float[v.floatValues.size()]; in toCarPropertyValue() 90 values[i] = v.floatValues.get(i); in toCarPropertyValue() 94 Integer[] values = new Integer[v.int32Values.size()]; in toCarPropertyValue() 96 values[i] = v.int32Values.get(i); in toCarPropertyValue() 100 Long[] values = new Long[v.int64Values.size()]; in toCarPropertyValue() [all …]
|
/packages/services/Telephony/src/com/android/phone/ |
D | EmergencyActionGroup.java | 157 public void onClick(View v) { in onClick() argument 158 Intent intent = (Intent) v.getTag(R.id.tag_intent); in onClick() 160 if (v.getId() == R.id.action1 || v.getId() == R.id.action2 || v.getId() == R.id.action3) { in onClick() 167 revealTheButton(v); in onClick() 169 } else if (v.getId() == R.id.selected_container) { in onClick() 176 private void revealTheButton(View v) { in revealTheButton() argument 177 CharSequence buttonText = ((Button) v).getText(); in revealTheButton() 186 int centerX = v.getLeft() + v.getWidth() / 2; in revealTheButton() 187 int centerY = v.getTop() + v.getHeight() / 2; in revealTheButton() 197 animateHintText(mSelectedLabel, v, reveal); in revealTheButton() [all …]
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/dialog/old/ |
D | ActionAdapter.java | 273 private void changeFocus(View v, boolean hasFocus, boolean shouldAnimate) { in changeFocus() argument 274 if (v == null) { in changeFocus() 277 Action action = (Action) v.getTag(R.id.action_title); in changeFocus() 286 TextView title = (TextView) v.findViewById(R.id.action_title); in changeFocus() 289 TextView description = (TextView) v.findViewById(R.id.action_description); in changeFocus() 292 ImageView checkmark = (ImageView) v.findViewById(R.id.action_checkmark); in changeFocus() 295 ImageView icon = (ImageView) v.findViewById(R.id.action_icon); in changeFocus() 298 View chevronBackground = v.findViewById(R.id.action_next_chevron_background); in changeFocus() 303 mOnFocusListener.onActionFocused((Action) v.getTag(R.id.action_title)); in changeFocus() 334 public void onClick(View v) { in onClick() argument [all …]
|
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/hvac/ |
D | HvacTestFragment.java | 289 private void configureOutsideTemp(View v, CarPropertyConfig prop) { in configureOutsideTemp() argument 293 private void configureDualOn(View v, CarPropertyConfig prop) { in configureDualOn() argument 295 mTbDual = (ToggleButton) v.findViewById(R.id.tbDual); in configureDualOn() 304 private void configureAcOn(View v, CarPropertyConfig prop) { in configureAcOn() argument 306 mTbAc = (ToggleButton) v.findViewById(R.id.tbAc); in configureAcOn() 315 private void configureAutoModeOn(View v, CarPropertyConfig prop) { in configureAutoModeOn() argument 317 mTbAuto = (ToggleButton) v.findViewById(R.id.tbAuto); in configureAutoModeOn() 327 private void configureFanPosition(View v, CarPropertyConfig prop) { in configureFanPosition() argument 329 RadioGroup rg = (RadioGroup) v.findViewById(R.id.rgFanPosition); in configureFanPosition() 366 mRbFanPositionFace = (RadioButton) v.findViewById(R.id.rbPositionFace); in configureFanPosition() [all …]
|
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/ |
D | BluetoothOppTransfer.java | 123 Log.v(TAG, "Device :" + device + "- OPP device: " + mBatch.mDestination in onReceive() 129 Log.v(TAG, "ACTION_ACL_DISCONNECTED to be processed for batch: " in onReceive() 223 Log.v(TAG, "receive TRANSPORT_ERROR msg"); in handleMessage() 236 Log.v(TAG, "Transfer receive TRANSPORT_CONNECTED msg"); in handleMessage() 253 Log.v(TAG, "receive MSG_SHARE_COMPLETE for info " + info.mId); in handleMessage() 261 Log.v(TAG, "continue session for info " + mCurrentShare.mId in handleMessage() 268 Log.v(TAG, "Batch " + mBatch.mId + " is done"); in handleMessage() 282 Log.v(TAG, "receive MSG_SESSION_COMPLETE for batch " + mBatch.mId); in handleMessage() 294 Log.v(TAG, "receive MSG_SESSION_ERROR for batch " + mBatch.mId); in handleMessage() 313 Log.v(TAG, "receive MSG_SHARE_INTERRUPTED for batch " + mBatch.mId); in handleMessage() [all …]
|
D | BluetoothOppService.java | 99 Log.v(TAG, "ContentObserver received notification"); in onChange() 196 Log.v(TAG, "onCreate"); in create() 225 Log.v(TAG, "start()"); in start() 253 Log.v(TAG, "Starting RfcommListener"); in startListener() 363 Log.v(TAG, "Update mInfo.id " + msg.arg1 + " for data uri= " 378 Log.v(TAG, "Update mInfo.id " + msg.arg1 + " for MEDIA_SCANNED_FAILED"); 479 Log.v(TAG, "onDestroy"); in cleanup() 524 Log.v(TAG, "Bluetooth state changed: STATE_ON"); 551 Log.v(TAG, "Bluetooth state changed: STATE_TURNING_OFF"); 601 Log.v(TAG, "pendingUpdate is " + mPendingUpdate + " sListenStarted is " in run() [all …]
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/ |
D | ScrollAdapterView.java | 267 ExpandedView v = mExpandedViews.get(i); in saveVisibleViewsUnchecked() local 268 saveViewUnchecked(v.expandedView, v.index); in saveVisibleViewsUnchecked() 364 ExpandedView(View v, int i, int t) { in ExpandedView() argument 365 expandedView = v; in ExpandedView() 552 ExpandedView v = mExpandedViews.get(i); 553 v.close(); 554 removeViewInLayout(v.expandedView); 555 mRecycleExpandedViews.recycleView(v.expandedView, v.viewType); 1013 ExpandedView v = findExpandedView(mExpandedViews, getAdapterIndex(expandableViewIndex)); 1014 if (v != null && v.expandedView.hasFocus()) { [all …]
|
/packages/apps/Car/tests/RotaryPlayground/src/com/android/car/rotaryplayground/ |
D | RotaryMenu.java | 49 cardButton.setOnClickListener(v -> { in onCreateView() 50 selectTab(v); in onCreateView() 55 gridButton.setOnClickListener(v -> { in onCreateView() 56 selectTab(v); in onCreateView() 61 directManipulationButton.setOnClickListener(v -> { in onCreateView() 62 selectTab(v); in onCreateView() 67 sysUiDirectManipulationButton.setOnClickListener(v -> { in onCreateView() 68 selectTab(v); in onCreateView() 73 notificationButton.setOnClickListener(v -> { in onCreateView() 74 selectTab(v); in onCreateView() [all …]
|
/packages/apps/Launcher3/src/com/android/launcher3/folder/ |
D | FolderPagedView.java | 267 public void removeItem(View v) { in removeItem() argument 269 getPageAt(i).removeView(v); in removeItem() 305 View v = list.size() > i ? list.get(i) : null; in arrangeChildren() local 316 if (v != null) { in arrangeChildren() 317 CellLayout.LayoutParams lp = (CellLayout.LayoutParams) v.getLayoutParams(); in arrangeChildren() 318 ItemInfo info = (ItemInfo) v.getTag(); in arrangeChildren() 320 currentPage.addViewToCellLayout(v, -1, info.getViewId(), lp, true); in arrangeChildren() 322 if (mOrganizer.isItemInPreview(rank) && v instanceof BubbleTextView) { in arrangeChildren() 323 ((BubbleTextView) v).verifyHighRes(); in arrangeChildren() 405 View v = page.getChildAt(i, j); in iterateOverItems() local [all …]
|
/packages/apps/DocumentsUI/src/com/android/documentsui/sidebar/ |
D | DragHost.java | 59 public boolean canHandleDragEvent(View v) { in canHandleDragEvent() argument 60 return v instanceof RootItemView; in canHandleDragEvent() 64 public void setDropTargetHighlight(View v, boolean highlight) { in setDropTargetHighlight() argument 66 RootItemView itemView = (RootItemView) v; in setDropTargetHighlight() 71 public void onViewHovered(View v) { in onViewHovered() argument 73 RootItemView itemView = (RootItemView) v; in onViewHovered() 76 mDestinationLookup.lookup(v).open(); in onViewHovered() 80 public void onDragEntered(View v) { in onDragEntered() argument 81 final Item item = mDestinationLookup.lookup(v); in onDragEntered() 85 mDragAndDropManager.updateStateToNotAllowed(v); in onDragEntered() [all …]
|
/packages/services/Car/tests/NetworkPreferenceApp/src/com/google/android/car/networking/preferenceupdater/fragments/ |
D | ManagerFragment.java | 117 View v = inflater.inflate(R.layout.manager, container, false); in onCreateView() local 125 defineViewsFromFragment(v); in onCreateView() 139 return v; in onCreateView() 150 private void defineViewsFromFragment(View v) { in defineViewsFromFragment() argument 151 mOEMPaidAppsEditText = v.findViewById(R.id.OEMPaidAppsEditText); in defineViewsFromFragment() 152 mOEMPaidNoFallbackAppsEditText = v.findViewById(R.id.OEMPaidNoFallbackAppsEditText); in defineViewsFromFragment() 153 mOEMPaidOnlyAppsEditText = v.findViewById(R.id.OEMPaidOnlyAppsEditText); in defineViewsFromFragment() 154 mOEMPrivateOnlyAppsEditText = v.findViewById(R.id.OEMPrivateOnlyAppsEditText); in defineViewsFromFragment() 155 mOEMPaidWifiSSIDsEditText = v.findViewById(R.id.OEMPaidWifiSSIDsEditText); in defineViewsFromFragment() 156 mOEMPrivateWifiSSIDsEditText = v.findViewById(R.id.OEMPrivateWifiSSIDsEditText); in defineViewsFromFragment() [all …]
|
/packages/apps/LegacyCamera/src/com/android/camera/ |
D | EffectsRecorder.java | 138 if (mLogVerbose) Log.v(TAG, "EffectsRecorder created (" + this + ")"); in EffectsRecorder() 244 if (mLogVerbose) Log.v(TAG, "Setting time lapse capture rate to " + fps + " fps"); in setCaptureRate() 251 if (mLogVerbose) Log.v(TAG, "setPreviewDisplay (" + this + ")"); in setPreviewDisplay() 277 if (mLogVerbose) Log.v(TAG, in setEffect() 350 if (mLogVerbose) Log.v(TAG, "Setting orientation hint to: " + degrees); in setOrientationHint() 407 Log.v(TAG, "Effects framework initializing. Recording size " in initializeFilterFramework() 433 Log.v(TAG, "Effect initializing. Preview size " in initializeEffect() 465 Log.v(TAG, "New runner: " + mRunner in initializeEffect() 499 if (mLogVerbose) Log.v(TAG, "Setting the background to be mirrored"); in initializeEffect() 510 if (mLogVerbose) Log.v(TAG, "Starting preview (" + this + ")"); in startPreview() [all …]
|
/packages/apps/Car/SystemUI/tests/src/com/android/systemui/car/hvac/ |
D | HvacControllerTest.java | 92 TemperatureTextView v = setupMockTemperatureTextView(AREA_ID, TEMP); in addTemperatureViewToController_usingTemperatureView_registersView() local 93 mHvacController.addTemperatureViewToController(v); in addTemperatureViewToController_usingTemperatureView_registersView() 95 verify(v).setTemp(TEMP); in addTemperatureViewToController_usingTemperatureView_registersView() 100 TemperatureTextView v = setupMockTemperatureTextView(AREA_ID, TEMP); in addTemperatureViewToController_usingSameTemperatureView_registersFirstView() local 101 mHvacController.addTemperatureViewToController(v); in addTemperatureViewToController_usingSameTemperatureView_registersFirstView() 102 verify(v).setTemp(TEMP); in addTemperatureViewToController_usingSameTemperatureView_registersFirstView() 103 resetTemperatureView(v, AREA_ID); in addTemperatureViewToController_usingSameTemperatureView_registersFirstView() 105 mHvacController.addTemperatureViewToController(v); in addTemperatureViewToController_usingSameTemperatureView_registersFirstView() 106 verify(v, never()).setTemp(TEMP); in addTemperatureViewToController_usingSameTemperatureView_registersFirstView() 128 TemperatureTextView v = setupMockTemperatureTextView(AREA_ID, TEMP); in setTemperatureToFahrenheit_callsViewSetDisplayInFahrenheit() local [all …]
|
/packages/modules/StatsD/statsd/src/ |
D | FieldValue.h | 277 Value(int32_t v) { in Value() 278 int_value = v; in Value() 282 Value(int64_t v) { in Value() 283 long_value = v; in Value() 287 Value(float v) { in Value() 288 float_value = v; in Value() 292 Value(double v) { in Value() 293 double_value = v; in Value() 297 Value(const std::string& v) { in Value() 298 str_value = v; in Value() [all …]
|
/packages/apps/Test/connectivity/sl4n/rapidjson/include/rapidjson/internal/ |
D | strtod.h | 148 DiyFp v(significand, 0); in StrtodDiyFp() 149 v = v.Normalize(); in StrtodDiyFp() 150 error <<= -v.e; in StrtodDiyFp() 168 v = v * kPow10[adjustment]; in StrtodDiyFp() 173 v = v * cachedPower; in StrtodDiyFp() 177 const int oldExp = v.e; in StrtodDiyFp() 178 v = v.Normalize(); in StrtodDiyFp() 179 error <<= oldExp - v.e; in StrtodDiyFp() 181 const unsigned effectiveSignificandSize = Double::EffectiveSignificandSize(64 + v.e); in StrtodDiyFp() 185 v.f >>= scaleExp; in StrtodDiyFp() [all …]
|
/packages/apps/Messaging/src/com/android/messaging/ui/ |
D | VCardDetailAdapter.java | 55 PersonItemView v; in getChildView() local 57 v = instantiateView(parent); in getChildView() 59 v = (PersonItemView) convertView; in getChildView() 65 v.bind(item.getDisplayItem()); in getChildView() 66 return v; in getChildView() 92 PersonItemView v; in getGroupView() local 94 v = instantiateView(parent); in getGroupView() 96 v = (PersonItemView) convertView; in getGroupView() 100 v.bind(item.getDisplayItem()); in getGroupView() 101 return v; in getGroupView() [all …]
|
/packages/apps/Car/libs/car-ui-lib/paintbooth/src/main/java/com/android/car/ui/paintbooth/toolbar/ |
D | ToolbarActivity.java | 94 mButtons.add(Pair.create("Toggle progress bar", v -> { in onCreate() 98 mButtons.add(Pair.create("Change title", v -> in onCreate() 101 mButtons.add(Pair.create("Add/Change subtitle", v -> { in onCreate() 110 mButtons.add(Pair.create(getString(R.string.toolbar_cycle_nav_button), v -> { in onCreate() 124 mButtons.add(Pair.create(getString(R.string.toolbar_toggle_logo), v -> { in onCreate() 129 mButtons.add(Pair.create(getString(R.string.toolbar_cycle_state), v -> { in onCreate() 139 mButtons.add(Pair.create(getString(R.string.toolbar_show_tabs_in_subpage), v -> in onCreate() 142 mButtons.add(Pair.create(getString(R.string.toolbar_toggle_search_hint), v -> { in onCreate() 151 v -> toolbar.setBackgroundShown(!toolbar.getBackgroundShown()))); in onCreate() 153 mButtons.add(Pair.create(getString(R.string.toolbar_add_tab), v -> toolbar.addTab( in onCreate() [all …]
|