/packages/apps/DeskClock/src/com/android/deskclock/timer/ |
D | TimerFullScreenFragment.java | 99 public ClickAction(int action, TimerObj t) { in ClickAction() argument 101 mTimer = t; in ClickAction() 153 TimerObj t = mTimers.get(i); in findTimerPositionById() local 154 if (t.mTimerId == id) { in findTimerPositionById() 225 public void addTimer(TimerObj t) { in addTimer() argument 226 mTimers.add(0, t); in addTimer() 330 TimerObj t = mAdapter.getItem(i); 331 if (t.mState == TimerObj.STATE_RUNNING || t.mState == TimerObj.STATE_TIMESUP) { 332 long timeLeft = t.updateTimeLeft(false); 333 if (t.mView != null) { [all …]
|
D | TimerFragment.java | 108 final TimerObj t = mAdapter.getTimerAt(i); 109 if (t.mState == TimerObj.STATE_RUNNING || t.mState == TimerObj.STATE_TIMESUP) { 110 final long timeLeft = t.updateTimeLeft(false); 111 if (t.mView != null) { 112 t.mView.setTime(timeLeft, false); 116 t.mView.findViewById(R.id.reset_add); 117 final boolean canAddMinute = TimerObj.MAX_TIMER_LENGTH - t.mTimeLeft 123 if (t.mTimeLeft <= 0 && t.mState != TimerObj.STATE_RESTART) { 124 t.setState(TimerObj.STATE_TIMESUP); 125 if (t.mView != null) { [all …]
|
D | TimerReceiver.java | 93 TimerObj t = Timers.findTimer(mTimers, timerId); in onReceive() local 97 if (t == null) { in onReceive() 102 t.setState(TimerObj.STATE_TIMESUP); in onReceive() 103 t.writeToSharedPref(prefs); in onReceive() 131 if (t != null) { in onReceive() 132 cancelTimesUpNotification(context, t); in onReceive() 136 if (t == null) { in onReceive() 139 } else if (t.mState != TimerObj.STATE_TIMESUP) { in onReceive() 145 t.setState(t.getDeleteAfterUse() ? TimerObj.STATE_DELETED : TimerObj.STATE_RESTART); in onReceive() 146 t.mTimeLeft = t.mOriginalLength = t.mSetupLength; in onReceive() [all …]
|
/packages/apps/Browser/src/com/android/browser/ |
D | TabControl.java | 39 void onThumbnailUpdated(Tab t); in onThumbnailUpdated() argument 75 Tab t = getTab(mCurrentTab); in getCurrentWebView() local 76 if (t == null) { in getCurrentWebView() 79 return t.getWebView(); in getCurrentWebView() 88 Tab t = getTab(mCurrentTab); in getCurrentTopWebView() local 89 if (t == null) { in getCurrentTopWebView() 92 return t.getTopWindow(); in getCurrentTopWebView() 100 Tab t = getTab(mCurrentTab); in getCurrentSubWindow() local 101 if (t == null) { in getCurrentSubWindow() 104 return t.getSubWebView(); in getCurrentSubWindow() [all …]
|
/packages/apps/Messaging/src/com/android/messaging/util/ |
D | CubicBezierInterpolator.java | 43 private float getX(final float t) { in getX() argument 44 return getCoordinate(t, mX1, mX2); in getX() 47 private float getY(final float t) { in getY() argument 48 return getCoordinate(t, mY1, mY2); in getY() 51 private float getCoordinate(float t, float p1, float p2) { in getCoordinate() argument 53 if (t == 0.0f || t == 1.0f) { in getCoordinate() 54 return t; in getCoordinate() 58 float ip0 = linearInterpolate(0, p1, t); in getCoordinate() 59 float ip1 = linearInterpolate(p1, p2, t); in getCoordinate() 60 float ip2 = linearInterpolate(p2, 1, t); in getCoordinate() [all …]
|
/packages/apps/Camera/jni/feature_stab/db_vlvm/ |
D | db_utilities_indexing.h | 193 double t,best; in db_MaxAbsIndex3() local 197 t=fabs(s[1]);if(t>best){best=t;pos=1;} in db_MaxAbsIndex3() 198 t=fabs(s[2]);if(t>best){pos=2;} in db_MaxAbsIndex3() 204 double t,best; in db_MaxAbsIndex9() local 208 t=fabs(s[1]);if(t>best){best=t;pos=1;} in db_MaxAbsIndex9() 209 t=fabs(s[2]);if(t>best){best=t;pos=2;} in db_MaxAbsIndex9() 210 t=fabs(s[3]);if(t>best){best=t;pos=3;} in db_MaxAbsIndex9() 211 t=fabs(s[4]);if(t>best){best=t;pos=4;} in db_MaxAbsIndex9() 212 t=fabs(s[5]);if(t>best){best=t;pos=5;} in db_MaxAbsIndex9() 213 t=fabs(s[6]);if(t>best){best=t;pos=6;} in db_MaxAbsIndex9() [all …]
|
/packages/apps/LegacyCamera/jni/feature_stab/db_vlvm/ |
D | db_utilities_indexing.h | 193 double t,best; in db_MaxAbsIndex3() local 197 t=fabs(s[1]);if(t>best){best=t;pos=1;} in db_MaxAbsIndex3() 198 t=fabs(s[2]);if(t>best){pos=2;} in db_MaxAbsIndex3() 204 double t,best; in db_MaxAbsIndex9() local 208 t=fabs(s[1]);if(t>best){best=t;pos=1;} in db_MaxAbsIndex9() 209 t=fabs(s[2]);if(t>best){best=t;pos=2;} in db_MaxAbsIndex9() 210 t=fabs(s[3]);if(t>best){best=t;pos=3;} in db_MaxAbsIndex9() 211 t=fabs(s[4]);if(t>best){best=t;pos=4;} in db_MaxAbsIndex9() 212 t=fabs(s[5]);if(t>best){best=t;pos=5;} in db_MaxAbsIndex9() 213 t=fabs(s[6]);if(t>best){best=t;pos=6;} in db_MaxAbsIndex9() [all …]
|
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/field/datetime/parser/ |
D | DateTimeParser.java | 140 Date d; Time t; in date_time() local 157 t = time(); in date_time() 162 t.getHour(), in date_time() 163 t.getMinute(), in date_time() 164 t.getSecond(), in date_time() 165 t.getZone());} // time zone offset in date_time() 212 Token t; in day() local 213 t = jj_consume_token(DIGITS); in day() 214 {if (true) return parseDigits(t);} in day() 277 Token t; in year() local [all …]
|
/packages/services/Telephony/src/org/apache/james/mime4j/field/datetime/parser/ |
D | DateTimeParser.java | 140 Date d; Time t; in date_time() local 157 t = time(); in date_time() 162 t.getHour(), in date_time() 163 t.getMinute(), in date_time() 164 t.getSecond(), in date_time() 165 t.getZone());} // time zone offset in date_time() 212 Token t; in day() local 213 t = jj_consume_token(DIGITS); in day() 214 {if (true) return parseDigits(t);} in day() 277 Token t; in year() local [all …]
|
/packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/ |
D | TiledTexture.java | 81 public synchronized void addTexture(TiledTexture t) { in addTexture() argument 82 if (t.isReady()) return; in addTexture() 83 mTextures.addLast(t); in addTexture() 97 TiledTexture t = deque.peekFirst(); in onGLIdle() local 98 if (t.uploadNextTile(canvas)) { in onGLIdle() 284 Tile t = mTiles[i]; in drawMixed() local 285 src.set(0, 0, t.contentWidth, t.contentHeight); in drawMixed() 286 src.offset(t.offsetX, t.offsetY); in drawMixed() 288 src.offset(BORDER_SIZE - t.offsetX, BORDER_SIZE - t.offsetY); in drawMixed() 289 canvas.drawMixed(t, color, ratio, mSrcRect, mDestRect); in drawMixed() [all …]
|
D | TextureUploader.java | 55 public synchronized void addBgTexture(UploadedTexture t) { in addBgTexture() argument 56 if (t.isContentValid()) return; in addBgTexture() 57 mBgTextures.addLast(t); in addBgTexture() 58 t.setIsUploading(true); in addBgTexture() 62 public synchronized void addFgTexture(UploadedTexture t) { in addFgTexture() argument 63 if (t.isContentValid()) return; in addFgTexture() 64 mFgTextures.addLast(t); in addFgTexture() 65 t.setIsUploading(true); in addFgTexture() 72 UploadedTexture t; in upload() local 75 t = deque.removeFirst(); in upload() [all …]
|
/packages/apps/Gallery/tests/src/com/android/camera/ |
D | BitmapManagerUnitTests.java | 72 Thread t = new DecodeThread(); in testCanThreadDecoding() local 75 assertTrue(mBitmapManager.canThreadDecoding(t)); in testCanThreadDecoding() 78 mBitmapManager.cancelThreadDecoding(t, mContext.getContentResolver()); in testCanThreadDecoding() 79 assertFalse(mBitmapManager.canThreadDecoding(t)); in testCanThreadDecoding() 82 mBitmapManager.allowThreadDecoding(t); in testCanThreadDecoding() 83 assertTrue(mBitmapManager.canThreadDecoding(t)); in testCanThreadDecoding() 87 DecodeThread t = new DecodeThread(); in testDefaultAllowDecoding() local 89 t.start(); in testDefaultAllowDecoding() 90 t.join(); in testDefaultAllowDecoding() 93 assertNotNull(t.getBitmap()); in testDefaultAllowDecoding() [all …]
|
/packages/apps/Contacts/src/com/android/contacts/quickcontact/ |
D | WebAddress.java | 79 String t; in WebAddress() local 81 t = m.group(MATCH_GROUP_SCHEME); in WebAddress() 82 if (t != null) mScheme = t.toLowerCase(Locale.ROOT); in WebAddress() 83 t = m.group(MATCH_GROUP_AUTHORITY); in WebAddress() 84 if (t != null) mAuthInfo = t; in WebAddress() 85 t = m.group(MATCH_GROUP_HOST); in WebAddress() 86 if (t != null) mHost = t; in WebAddress() 87 t = m.group(MATCH_GROUP_PORT); in WebAddress() 88 if (t != null && t.length() > 0) { in WebAddress() 91 mPort = Integer.parseInt(t); in WebAddress() [all …]
|
/packages/apps/Gallery/src/com/android/camera/ |
D | BitmapManager.java | 71 private synchronized ThreadStatus getOrCreateThreadStatus(Thread t) { in getOrCreateThreadStatus() argument 72 ThreadStatus status = mThreadStatus.get(t); in getOrCreateThreadStatus() 75 mThreadStatus.put(t, status); in getOrCreateThreadStatus() 84 private synchronized void setDecodingOptions(Thread t, in setDecodingOptions() argument 86 getOrCreateThreadStatus(t).mOptions = options; in setDecodingOptions() 89 synchronized void removeDecodingOptions(Thread t) { in removeDecodingOptions() argument 90 ThreadStatus status = mThreadStatus.get(t); in removeDecodingOptions() 98 public synchronized boolean canThreadDecoding(Thread t) { in canThreadDecoding() argument 99 ThreadStatus status = mThreadStatus.get(t); in canThreadDecoding() 109 public synchronized void allowThreadDecoding(Thread t) { in allowThreadDecoding() argument [all …]
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/ |
D | ProvisionLogger.java | 45 public static void logd(String message, Throwable t) { in logd() argument 47 Log.d(getTag(), message, t); in logd() local 54 public static void logd(Throwable t) { in logd() argument 56 Log.d(getTag(), "", t); in logd() local 72 public static void logv(String message, Throwable t) { in logv() argument 74 Log.v(getTag(), message, t); in logv() local 81 public static void logv(Throwable t) { in logv() argument 83 Log.v(getTag(), "", t); in logv() local 99 public static void logi(String message, Throwable t) { in logi() argument 101 Log.i(getTag(), message, t); in logi() local [all …]
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
D | DeleteDropTarget.java | 288 public float getInterpolation(float t) { in createFlingToTrashAnimatorListener() 289 return t * t * t * t * t * t * t * t; in createFlingToTrashAnimatorListener() 296 float t = ((Float) animation.getAnimatedValue()).floatValue(); in createFlingToTrashAnimatorListener() local 297 float tp = scaleAlphaInterpolator.getInterpolation(t); in createFlingToTrashAnimatorListener() 303 float x = (1f - t) * (1f - t) * (x1 - x1o) + 2 * (1f - t) * t * (x2 - x1o) + in createFlingToTrashAnimatorListener() 304 (t * t) * x3; in createFlingToTrashAnimatorListener() 305 float y = (1f - t) * (1f - t) * (y1 - y1o) + 2 * (1f - t) * t * (y2 - x1o) + in createFlingToTrashAnimatorListener() 306 (t * t) * y3; in createFlingToTrashAnimatorListener() 344 float t = ((Float) animation.getAnimatedValue()).floatValue(); 362 dragView.setAlpha(1f - mAlphaInterpolator.getInterpolation(t)); [all …]
|
/packages/apps/UnifiedEmail/src/com/android/emailcommon/utility/ |
D | TextUtilities.java | 644 for (SearchTerm t: terms) { in highlightTerms() 645 if (chrLowerCase == t.mTermLowerCase.charAt(t.mMatchLength)) { in highlightTerms() 646 if (t.mMatchLength++ == 0) { in highlightTerms() 648 t.mMatchStart = i; in highlightTerms() 650 if (t.mMatchLength == t.mLength) { in highlightTerms() 651 String matchText = text.substring(t.mMatchStart, t.mMatchStart + t.mLength); in highlightTerms() 653 if (t.mMatchStart <= lastOut) { in highlightTerms() 669 lastOut = t.mMatchStart + t.mLength - 1; in highlightTerms() 670 t.mMatchLength = 0; in highlightTerms() 671 t.mMatchStart = -1; in highlightTerms() [all …]
|
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/ |
D | Log.java | 59 public void trace(Object message, Throwable t) { in trace() argument 61 android.util.Log.v(LOG_TAG, toString(message, t)); in trace() 69 public void debug(Object message, Throwable t) { in debug() argument 71 android.util.Log.d(LOG_TAG, toString(message, t)); in debug() 79 public void info(Object message, Throwable t) { in info() argument 81 android.util.Log.i(LOG_TAG, toString(message, t)); in info() 88 public void warn(Object message, Throwable t) { in warn() argument 89 android.util.Log.w(LOG_TAG, toString(message, t)); in warn() 96 public void error(Object message, Throwable t) { in error() argument 97 android.util.Log.e(LOG_TAG, toString(message, t)); in error() [all …]
|
/packages/services/Telephony/src/org/apache/james/mime4j/ |
D | Log.java | 57 public void trace(Object message, Throwable t) { in trace() argument 59 android.util.Log.v(LOG_TAG, toString(message, t)); in trace() 67 public void debug(Object message, Throwable t) { in debug() argument 69 android.util.Log.d(LOG_TAG, toString(message, t)); in debug() 77 public void info(Object message, Throwable t) { in info() argument 79 android.util.Log.i(LOG_TAG, toString(message, t)); in info() 86 public void warn(Object message, Throwable t) { in warn() argument 87 android.util.Log.w(LOG_TAG, toString(message, t)); in warn() 94 public void error(Object message, Throwable t) { in error() argument 95 android.util.Log.e(LOG_TAG, toString(message, t)); in error() [all …]
|
/packages/apps/Camera2/src/com/android/camera/exif/ |
D | ExifInterface.java | 1054 for (ExifTag t : tags) { in rewriteExif() 1055 mod.modifyTag(t); in rewriteExif() 1180 ExifTag t = getTag(tagId, ifdId); in getTagValue() local 1181 return (t == null) ? null : t.getValue(); in getTagValue() 1206 ExifTag t = getTag(tagId, ifdId); in getTagStringValue() local 1207 if (t == null) { in getTagStringValue() 1210 return t.getValueAsString(); in getTagStringValue() 1301 ExifTag t = getTag(tagId, ifdId); in getTagLongValues() local 1302 if (t == null) { in getTagLongValues() 1305 return t.getValueAsLongs(); in getTagLongValues() [all …]
|
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/exif/ |
D | ExifInterface.java | 1072 for (ExifTag t : tags) { in rewriteExif() 1073 mod.modifyTag(t); in rewriteExif() 1201 ExifTag t = getTag(tagId, ifdId); in getTagValue() local 1202 return (t == null) ? null : t.getValue(); in getTagValue() 1227 ExifTag t = getTag(tagId, ifdId); in getTagStringValue() local 1228 if (t == null) { in getTagStringValue() 1231 return t.getValueAsString(); in getTagStringValue() 1322 ExifTag t = getTag(tagId, ifdId); in getTagLongValues() local 1323 if (t == null) { in getTagLongValues() 1326 return t.getValueAsLongs(); in getTagLongValues() [all …]
|
/packages/apps/Messaging/src/com/android/messaging/util/exif/ |
D | ExifInterface.java | 1072 for (ExifTag t : tags) { in rewriteExif() 1073 mod.modifyTag(t); in rewriteExif() 1201 ExifTag t = getTag(tagId, ifdId); in getTagValue() local 1202 return (t == null) ? null : t.getValue(); in getTagValue() 1227 ExifTag t = getTag(tagId, ifdId); in getTagStringValue() local 1228 if (t == null) { in getTagStringValue() 1231 return t.getValueAsString(); in getTagStringValue() 1322 ExifTag t = getTag(tagId, ifdId); in getTagLongValues() local 1323 if (t == null) { in getTagLongValues() 1326 return t.getValueAsLongs(); in getTagLongValues() [all …]
|
/packages/apps/Launcher3/WallpaperPicker/src/com/android/gallery3d/exif/ |
D | ExifInterface.java | 1072 for (ExifTag t : tags) { in rewriteExif() 1073 mod.modifyTag(t); in rewriteExif() 1201 ExifTag t = getTag(tagId, ifdId); in getTagValue() local 1202 return (t == null) ? null : t.getValue(); in getTagValue() 1227 ExifTag t = getTag(tagId, ifdId); in getTagStringValue() local 1228 if (t == null) { in getTagStringValue() 1231 return t.getValueAsString(); in getTagStringValue() 1322 ExifTag t = getTag(tagId, ifdId); in getTagLongValues() local 1323 if (t == null) { in getTagLongValues() 1326 return t.getValueAsLongs(); in getTagLongValues() [all …]
|
/packages/apps/UnifiedEmail/src/com/google/android/mail/common/html/parser/ |
D | HtmlTreeBuilder.java | 69 public void visitTag(HtmlDocument.Tag t) { in visitTag() argument 70 tableFixer.seeTag(t); in visitTag() 72 HTML.Element element = t.getElement(); in visitTag() 74 tree.addSingularTag(t); in visitTag() 75 } else if (t.isSelfTerminating()) { in visitTag() 83 t.getAttributes(), t.getOriginalHtmlBeforeAttributes(), in visitTag() 84 t.getOriginalHtmlAfterAttributes())); in visitTag() 89 tree.addStartTag(t); in visitTag() 95 public void visitEndTag(HtmlDocument.EndTag t) { in visitEndTag() argument 98 HTML.Element element = t.getElement(); in visitEndTag() [all …]
|
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/field/address/parser/ |
D | AddressListParser.java | 506 jjtreeOpenNodeScope(jjtn000);Token t; in local_part() local 510 t = jj_consume_token(DOTATOM); in local_part() 513 t = jj_consume_token(QUOTEDSTRING); in local_part() 534 t = jj_consume_token(9); in local_part() 540 …if (t.image.charAt(t.image.length() - 1) != '.' || t.kind == AddressListParserConstants.QUOTEDSTRI… in local_part() 544 t = jj_consume_token(DOTATOM); in local_part() 547 t = jj_consume_token(QUOTEDSTRING); in local_part() 568 jjtreeOpenNodeScope(jjtn000);Token t; in domain() local 572 t = jj_consume_token(DOTATOM); in domain() 586 t = jj_consume_token(9); in domain() [all …]
|