/packages/apps/UnifiedEmail/src/com/android/mail/browse/ |
D | ConversationViewAdapter.java | 132 final ConversationViewHeader v = (ConversationViewHeader) inflater.inflate( in createView() local 134 v.setCallbacks( in createView() 136 v.setSubject(mConversation.subject); in createView() 139 v.setFolders(mConversation); in createView() 141 v.setStarred(mConversation.starred); in createView() 142 v.setTag(OVERLAY_ITEM_ROOT_TAG); in createView() 144 return v; in createView() 148 public void bindView(View v, boolean measureOnly) { in bindView() argument 149 ConversationViewHeader header = (ConversationViewHeader) v; in bindView() 182 final ConversationFooterView v = (ConversationFooterView) in createView() local [all …]
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | FocusHelper.java | 34 public boolean onKey(View v, int keyCode, KeyEvent event) { in onKey() argument 35 return FocusHelper.handleIconKeyEvent(v, keyCode, event); in onKey() 43 public boolean onKey(View v, int keyCode, KeyEvent event) { in onKey() argument 44 return FocusHelper.handleFolderKeyEvent(v, keyCode, event); in onKey() 52 public boolean onKey(View v, int keyCode, KeyEvent event) { in onKey() argument 53 final Configuration configuration = v.getResources().getConfiguration(); in onKey() 54 … return FocusHelper.handleHotseatButtonKeyEvent(v, keyCode, event, configuration.orientation); in onKey() 75 static boolean handleAppsCustomizeKeyEvent(View v, int keyCode, KeyEvent e) { in handleAppsCustomizeKeyEvent() argument 80 if (v.getParent() instanceof ShortcutAndWidgetContainer) { in handleAppsCustomizeKeyEvent() 81 itemContainer = (ViewGroup) v.getParent(); in handleAppsCustomizeKeyEvent() [all …]
|
D | Launcher.java | 977 Log.v(TAG, "Launcher.onResume()"); in onResume() 1443 Log.v(TAG, "adding WeightWatcher"); in setupViews() 1856 final View v = key.findViewById(mWidgetsToAdvance.get(key).autoAdvanceViewId); 1858 if (v instanceof Advanceable) { 1861 ((Advanceable) v).advance(); 1874 View v = hostView.findViewById(appWidgetInfo.autoAdvanceViewId); in addWidgetToAutoAdvanceIfNeeded() 1875 if (v instanceof Advanceable) { in addWidgetToAutoAdvanceIfNeeded() 1877 ((Advanceable) v).fyiWillBeAdvancedByHostKThx(); in addWidgetToAutoAdvanceIfNeeded() 1981 final View v = getWindow().peekDecorView(); in onNewIntent() local 1982 if (v != null && v.getWindowToken() != null) { in onNewIntent() [all …]
|
/packages/apps/Browser/src/com/android/browser/ |
D | NavTabScroller.java | 139 View v = mContentView.getChildAt(0); in calcPadding() local 141 int pad = (getMeasuredWidth() - v.getMeasuredWidth()) / 2 + 2; in calcPadding() 144 int pad = (getMeasuredHeight() - v.getMeasuredHeight()) / 2 + 2; in calcPadding() 200 View v = mAdapter.getView(i, null, mContentView); in handleDataChanged() local 204 mContentView.addView(v, lp); in handleDataChanged() 206 adjustViewGap(v, i); in handleDataChanged() 243 View v = mContentView.getChildAt(pos); in snapToSelected() 244 if (v == null) return; in snapToSelected() 248 sx = (v.getLeft() + v.getRight() - getWidth()) / 2; in snapToSelected() 250 sy = (v.getTop() + v.getBottom() - getHeight()) / 2; in snapToSelected() [all …]
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/dialog/ |
D | SettingsLayoutAdapter.java | 92 public void onClick(View v) { 93 if (v != null && v.getWindowToken() != null && mListener != null) { 94 mListener.onRowClicked(((LayoutRowViewHolder) v.getTag(R.id.action_title)). 130 View v = null; in onCreateViewHolder() local 133 v = mInflater.inflate(R.layout.lb_dialog_action_list_item, parent, false); in onCreateViewHolder() 136 v = mInflater.inflate(R.layout.lb_dialog_static_list_item, parent, false); in onCreateViewHolder() 139 v.setTag(R.layout.lb_dialog_action_list_item, parent); in onCreateViewHolder() 140 LayoutRowViewHolder viewHolder = new LayoutRowViewHolder(v, mActionOnKeyPressAnimator, in onCreateViewHolder() 199 public LayoutRowViewHolder(View v, ActionOnKeyPressAnimator actionOnKeyPressAnimator, in LayoutRowViewHolder() argument 202 super(v); in LayoutRowViewHolder() [all …]
|
D | DialogActionAdapter.java | 70 public void onClick(View v) { 71 if (v != null && v.getWindowToken() != null && mListener != null) { 72 … mListener.onActionClicked(((ActionViewHolder) v.getTag(R.id.action_title)).getAction()); 92 View v = mInflater.inflate(R.layout.lb_dialog_action_list_item, parent, false); in onCreateViewHolder() local 93 v.setTag(R.layout.lb_dialog_action_list_item, parent); in onCreateViewHolder() 94 …return new ActionViewHolder(v, mActionOnKeyPressAnimator, mActionOnFocusAnimator, mOnClickListener… in onCreateViewHolder() 159 public ActionViewHolder(View v, ActionOnKeyPressAnimator actionOnKeyPressAnimator, in ActionViewHolder() argument 162 super(v); in ActionViewHolder() 260 private void fadeIn(View v) { in fadeIn() argument 261 v.setAlpha(0f); in fadeIn() [all …]
|
D | DialogFragment.java | 212 android.util.Log.v("DialogFragment", "onCreate"); in onCreate() 252 View v = inflater.inflate(R.layout.lb_dialog_fragment, container, false); in onCreateView() local 254 View contentContainer = v.findViewById(R.id.content_fragment); in onCreateView() 258 v.setTag(R.id.content_fragment, content); in onCreateView() 260 View actionContainer = v.findViewById(R.id.action_fragment); in onCreateView() 264 v.setTag(R.id.action_fragment, action); in onCreateView() 266 return v; in onCreateView() 357 View v = getView(); in setIcon() local 358 if (v != null) { in setIcon() 359 final ImageView iconImageView = (ImageView) v.findViewById(R.id.icon); in setIcon() [all …]
|
D | SettingsLayoutFragment.java | 256 View v = inflater.inflate(R.layout.lb_dialog_fragment, container, false); in onCreateView() local 258 View contentContainer = v.findViewById(R.id.content_fragment); in onCreateView() 262 v.setTag(R.id.content_fragment, content); in onCreateView() 264 View actionContainer = v.findViewById(R.id.action_fragment); in onCreateView() 268 v.setTag(R.id.action_fragment, action); in onCreateView() 277 return v; in onCreateView() 603 private void fadeIn(View v) { in fadeIn() argument 604 ObjectAnimator alphaAnimator = ObjectAnimator.ofFloat(v, "alpha", FADE_IN_ALPHA_START, in fadeIn() 606 alphaAnimator.setDuration(v.getContext().getResources().getInteger( in fadeIn() 685 private void prepareAndAnimateView(final View v, float initTransX, in prepareAndAnimateView() argument [all …]
|
/packages/apps/CellBroadcastReceiver/tests/src/com/android/cellbroadcastreceiver/tests/ |
D | SendTestBroadcastActivity.java | 105 public void onClick(View v) { in onCreate() 106 if (mDelayBeforeSending && v != null) { in onCreate() 119 public void onClick(View v) { in onCreate() 120 if (mDelayBeforeSending && v != null) { in onCreate() 133 public void onClick(View v) { in onCreate() 134 if (mDelayBeforeSending && v != null) { in onCreate() 147 public void onClick(View v) { in onCreate() 148 if (mDelayBeforeSending && v != null) { in onCreate() 161 public void onClick(View v) { in onCreate() 162 if (mDelayBeforeSending && v != null) { in onCreate() [all …]
|
/packages/apps/Mms/src/com/android/mms/transaction/ |
D | TransactionService.java | 176 Log.v(TAG, "Creating TransactionService"); in onCreate() 222 Log.v(TAG, "onNewIntent: serviceId: " + serviceId + ": " + intent.getExtras() + in onNewIntent() 224 Log.v(TAG, " networkAvailable=" + !noNetwork); in onNewIntent() 238 Log.v(TAG, "onNewIntent: cursor.count=" + count + " action=" + action); in onNewIntent() 243 Log.v(TAG, "onNewIntent: no pending messages. Stopping service."); in onNewIntent() 258 Log.v(TAG, "onNewIntent: msgType=" + msgType + " transactionType=" + in onNewIntent() 279 Log.v(TAG, "onNewIntent: failureType=" + failureType + in onNewIntent() 288 Log.v(TAG, "onNewIntent: skipping - autodownload off"); in onNewIntent() 303 Log.v(TAG, "onNewIntent: skipping - permanent error"); in onNewIntent() 308 Log.v(TAG, "onNewIntent: falling through and processing"); in onNewIntent() [all …]
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/ |
D | ScrollAdapterView.java | 277 ExpandedView v = mExpandedViews.get(i); in saveVisibleViewsUnchecked() local 278 saveViewUnchecked(v.expandedView, v.index); in saveVisibleViewsUnchecked() 374 ExpandedView(View v, int i, int t) { in ExpandedView() argument 375 expandedView = v; in ExpandedView() 562 ExpandedView v = mExpandedViews.get(i); 563 v.close(); 564 removeViewInLayout(v.expandedView); 565 mRecycleExpandedViews.recycleView(v.expandedView, v.viewType); 1042 ExpandedView v = findExpandedView(mExpandedViews, getAdapterIndex(expandableViewIndex)); 1043 if (v != null && v.expandedView.hasFocus()) { [all …]
|
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/ |
D | BluetoothOppService.java | 83 if (V) Log.v(TAG, "ContentObserver received notification"); in onChange() 149 if (V) Log.v(TAG, "onCreate"); in onCreate() 184 if (V) Log.v(TAG, "onStartCommand"); in onStartCommand() 200 if (V) Log.v(TAG, "Starting RfcommListener"); in startListener() 248 if (V) Log.v(TAG, "Update mInfo.id " + msg.arg1 + " for data uri= " 262 Log.v(TAG, "Update mInfo.id " + msg.arg1 + " for MEDIA_SCANNED_FAILED"); 336 if (V) Log.v(TAG, "start RfcommListener"); in startSocketListener() 338 if (V) Log.v(TAG, "RfcommListener started"); in startSocketListener() 343 if (V) Log.v(TAG, "onDestroy"); in onDestroy() 376 if (V) Log.v(TAG, [all …]
|
D | BluetoothOppTransfer.java | 149 if (V) Log.v(TAG, "receive RFCOMM_ERROR msg"); in handleMessage() 160 if (V) Log.v(TAG, "Transfer receive RFCOMM_CONNECTED msg"); in handleMessage() 175 if (V) Log.v(TAG, "receive MSG_SHARE_COMPLETE for info " + info.mId); in handleMessage() 181 if (V) Log.v(TAG, "continue session for info " + mCurrentShare.mId + in handleMessage() 186 if (V) Log.v(TAG, "Batch " + mBatch.mId + " is done"); in handleMessage() 197 if (V) Log.v(TAG, "receive MSG_SESSION_COMPLETE for batch " + mBatch.mId); in handleMessage() 207 if (V) Log.v(TAG, "receive MSG_SESSION_ERROR for batch " + mBatch.mId); in handleMessage() 216 if (V) Log.v(TAG, "receive MSG_SHARE_INTERRUPTED for batch " + mBatch.mId); in handleMessage() 221 Log.v(TAG, "receive MSG_SHARE_INTERRUPTED but mTransport = null"); in handleMessage() 228 if (V) Log.v(TAG, "mTransport closed "); in handleMessage() [all …]
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
D | FocusHelper.java | 37 public boolean onKey(View v, int keyCode, KeyEvent event) { in onKey() argument 38 return FocusHelper.handleIconKeyEvent(v, keyCode, event); in onKey() 46 public boolean onKey(View v, int keyCode, KeyEvent event) { in onKey() argument 47 return FocusHelper.handleFolderKeyEvent(v, keyCode, event); in onKey() 55 public boolean onKey(View v, int keyCode, KeyEvent event) { in onKey() argument 56 final Configuration configuration = v.getResources().getConfiguration(); in onKey() 57 … return FocusHelper.handleHotseatButtonKeyEvent(v, keyCode, event, configuration.orientation); in onKey() 66 public boolean onKey(View v, int keyCode, KeyEvent event) { in onKey() argument 67 return FocusHelper.handleAppsCustomizeTabKeyEvent(v, keyCode, event); in onKey() 75 private static TabHost findTabHostParent(View v) { in findTabHostParent() argument [all …]
|
D | HideFromAccessibilityHelper.java | 35 public void setImportantForAccessibilityToNo(View v, boolean onlyAllApps) { in setImportantForAccessibilityToNo() argument 37 setImportantForAccessibilityToNoHelper(v); in setImportantForAccessibilityToNo() 41 private void setImportantForAccessibilityToNoHelper(View v) { in setImportantForAccessibilityToNoHelper() argument 42 mPreviousValues.put(v, v.getImportantForAccessibility()); in setImportantForAccessibilityToNoHelper() 43 v.setImportantForAccessibility(View.IMPORTANT_FOR_ACCESSIBILITY_NO); in setImportantForAccessibilityToNoHelper() 46 if (v instanceof ViewGroup) { in setImportantForAccessibilityToNoHelper() 47 ViewGroup vg = (ViewGroup) v; in setImportantForAccessibilityToNoHelper() 59 public void restoreImportantForAccessibility(View v) { in restoreImportantForAccessibility() argument 61 restoreImportantForAccessibilityHelper(v); in restoreImportantForAccessibility() 66 private void restoreImportantForAccessibilityHelper(View v) { in restoreImportantForAccessibilityHelper() argument [all …]
|
D | AppsCustomizePagedView.java | 502 public void onClick(View v) { in onClick() argument 507 if (v instanceof PagedViewIcon) { in onClick() 509 final ApplicationInfo appInfo = (ApplicationInfo) v.getTag(); in onClick() 520 mLauncher.startActivitySafely(v, appInfo.intent, appInfo); in onClick() 522 } else if (v instanceof PagedViewWidget) { in onClick() 533 final ImageView p = (ImageView) v.findViewById(R.id.widget_preview); in onClick() 545 public boolean onKey(View v, int keyCode, KeyEvent event) { in onKey() argument 546 return FocusHelper.handleAppsCustomizeKeyEvent(v, keyCode, event); in onKey() 557 private void beginDraggingApplication(View v) { in beginDraggingApplication() argument 558 mLauncher.getWorkspace().onDragStartedWithItem(v); in beginDraggingApplication() [all …]
|
D | Folder.java | 194 public void onClick(View v) { in onClick() argument 195 Object tag = v.getTag(); in onClick() 200 v.getLocationOnScreen(pos); in onClick() 202 pos[0] + v.getWidth(), pos[1] + v.getHeight())); in onClick() 204 mLauncher.startActivitySafely(v, item.intent, item); in onClick() 208 public boolean onLongClick(View v) { in onLongClick() argument 212 Object tag = v.getTag(); in onLongClick() 215 if (!v.isInTouchMode()) { in onLongClick() 221 mLauncher.getWorkspace().onDragStartedWithItem(v); in onLongClick() 222 mLauncher.getWorkspace().beginDragShared(v, this); in onLongClick() [all …]
|
/packages/experimental/DreamTheater/src/com/android/dreamtheater/ |
D | BouncyDroid.java | 60 public Vec add(Vec v) { in add() argument 61 return new Vec(x + v.x, y + v.y); in add() 66 public Vec sub(Vec v) { in sub() argument 67 return new Vec(x - v.x, y - v.y); in sub() 83 Vec v = new Vec(); field in BouncyDroid.BouncyView.World.Body 103 p = p.add(v.mul(dt)); in step() 105 v = v.add(f.mul(dt/m)); in step() 109 v = v.add(f.mul(dt/m)); in step() 113 return "Body(m=" + m + " p=" + p + " v=" + v + ")"; in toString() 166 public void onClick(View v) { in BouncyView() [all …]
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/dialog/old/ |
D | ActionAdapter.java | 279 private void changeFocus(View v, boolean hasFocus, boolean shouldAnimate) { in changeFocus() argument 280 if (v == null) { in changeFocus() 283 Action action = (Action) v.getTag(R.id.action_title); in changeFocus() 292 TextView title = (TextView) v.findViewById(R.id.action_title); in changeFocus() 295 TextView description = (TextView) v.findViewById(R.id.action_description); in changeFocus() 298 ImageView checkmark = (ImageView) v.findViewById(R.id.action_checkmark); in changeFocus() 301 ImageView icon = (ImageView) v.findViewById(R.id.action_icon); in changeFocus() 304 View chevronBackground = v.findViewById(R.id.action_next_chevron_background); in changeFocus() 309 mOnFocusListener.onActionFocused((Action) v.getTag(R.id.action_title)); in changeFocus() 343 private void fadeIn(View v) { in fadeIn() argument [all …]
|
/packages/apps/Calendar/src/com/android/calendar/month/ |
D | MonthByWeekAdapter.java | 192 MonthWeekEventsView v; in getView() local 198 v = (MonthWeekEventsView) convertView; in getView() 201 if (mAnimateToday && v.updateToday(mSelectedDay.timezone)) { in getView() 213 v = new MonthWeekEventsView(mContext); in getView() 216 drawingParams = (HashMap<String, Integer>) v.getTag(); in getView() 219 v = new MonthWeekEventsView(mContext); in getView() 226 v.setLayoutParams(params); in getView() 227 v.setClickable(true); in getView() 228 v.setOnTouchListener(this); in getView() 250 v.setWeekParams(drawingParams, mSelectedDay.timezone); in getView() [all …]
|
/packages/wallpapers/NoiseField/src/com/android/noisefield/ |
D | noisefield.rs | 73 static void normalizef2(float v[]) { 74 float s = (float)sqrt(v[0] * v[0] + v[1] * v[1]); 75 v[0] = v[0] / s; 76 v[1] = v[1] / s; 79 static void normalizef3(float v[]) { 80 float s = (float)sqrt(v[0] * v[0] + v[1] * v[1] + v[2] * v[2]); 81 v[0] = v[0] / s; 82 v[1] = v[1] / s; 83 v[2] = v[2] / s; 120 float rx0, rx1, ry0, ry1, sx, sy, a, b, t, u, v; [all …]
|
/packages/apps/Camera/src/com/android/camera/ |
D | EffectsRecorder.java | 111 Log.v(TAG, "Can't find the class android.filterfw.core.Filter"); 113 Log.v(TAG, "Can't find the method Filter.isAvailable"); 204 if (mLogVerbose) Log.v(TAG, "EffectsRecorder created (" + this + ")"); in EffectsRecorder() 294 Log.v(TAG, "Current effects recorder index is " + sEffectsRecorderIndex); in EffectsRecorder() 419 if (mLogVerbose) Log.v(TAG, "Setting time lapse capture rate to " + fps + " fps"); in setCaptureRate() 426 if (mLogVerbose) Log.v(TAG, "setPreviewSurfaceTexture(" + this + ")"); in setPreviewSurfaceTexture() 454 if (mLogVerbose) Log.v(TAG, in setEffect() 527 if (mLogVerbose) Log.v(TAG, "Setting orientation hint to: " + degrees); in setOrientationHint() 644 Log.v(TAG, "New runner: " + mRunner in initializeEffect() 678 if (mLogVerbose) Log.v(TAG, "Setting the background to be mirrored"); in initializeEffect() [all …]
|
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/ |
D | TextCandidates1LineViewManager.java | 157 public void onClick(View v) { 158 if (!v.isShown()) { 163 if (v instanceof CandidateTextView) { 164 CandidateTextView text = (CandidateTextView)v; 175 public boolean onLongClick(View v) { 176 if (!v.isShown()) { 186 int wordcount = ((TextView)v).getId(); 189 displayDialog(v, mWord); 237 public boolean onTouch(View v, MotionEvent event) { in initView() 257 public void onClick(View v) { in initView() [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/Settings/tests/src/com/android/settings/vpn2/ |
D | VpnTests.java | 121 Log.v(TAG, "print out the vpn profiles"); in setUp() 136 Log.v(TAG, "disconnect legacy VPN"); in setUp() 143 Log.v(TAG, "Wait for legacy VPN to be disconnected."); in setUp() 160 Log.v(TAG, "profile: "); in printVpnProfile() 161 Log.v(TAG, "key: " + profile.key); in printVpnProfile() 162 Log.v(TAG, "name: " + profile.name); in printVpnProfile() 163 Log.v(TAG, "type: " + profile.type); in printVpnProfile() 164 Log.v(TAG, "server: " + profile.server); in printVpnProfile() 165 Log.v(TAG, "username: " + profile.username); in printVpnProfile() 166 Log.v(TAG, "password: " + profile.password); in printVpnProfile() [all …]
|