HomeSort by relevance Sort by last modified time
    Searched refs:when (Results 1 - 25 of 1572) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /packages/apps/UnifiedEmail/src/com/android/mail/
FormattedDateBuilder.java 49 * @param when The time to generate a formatted date for
52 public CharSequence formatShortDateTime(long when) {
53 if (DateUtils.isToday(when)) {
54 return formatDateTime(when, DateUtils.FORMAT_SHOW_TIME);
55 } else if (isCurrentYear(when)) {
56 return formatDateTime(when, DateUtils.FORMAT_SHOW_DATE | DateUtils.FORMAT_ABBREV_MONTH);
58 return formatDateTime(when, DateUtils.FORMAT_SHOW_DATE | DateUtils.FORMAT_NUMERIC_DATE);
71 * @param when The time to generate a formatted date for
74 public CharSequence formatLongDateTime(long when) {
75 if (DateUtils.isToday(when)) {
    [all...]
  /external/chromium_org/third_party/WebKit/Source/modules/webaudio/
OscillatorNode.idl 43 [RaisesException] void start(optional double when);
44 [RaisesException] void stop(optional double when);
46 [RaisesException, ImplementedAs=start] void noteOn(double when);
47 [RaisesException, ImplementedAs=stop] void noteOff(double when);
AudioBufferSourceNode.idl 38 [RaisesException] void start(optional double when, optional double grainOffset, optional double grainDuration);
39 [RaisesException] void stop(optional double when);
  /external/littlemock/src/com/google/testing/littlemock/
Behaviour.java 26 public <T> T when(T mock); method in interface:Behaviour
  /libcore/luni/src/main/java/java/util/
TimerTask.java 35 long when; field in class:TimerTask
42 * The time when task will be executed, or the time when task was launched
48 * Method called from the Timer for synchronized getting of when field.
52 return when;
57 * Method called from the Timer object when scheduling an event @param time
73 return when > 0 || scheduledTime > 0;
93 boolean willRun = !cancelled && when > 0;
Timer.java 25 * <p>Each timer has one thread on which tasks are executed sequentially. When
38 * successive run of a task is scheduled without regard for when the
44 * <p>When a timer is no longer needed, users should call {@link #cancel}, which
96 while (timers[current].when < timers[parent].when) {
115 && timers[child + 1].when < timers[child].when) {
120 if (timers[current].when < timers[child].when) {
179 * {@code when} field of TaskScheduled object
561 long when = delay + System.currentTimeMillis(); local
    [all...]
  /external/chromium_org/chrome/browser/resources/help/
channel_change_page.css 20 .show-when-selected-channel-requires-powerwash,
21 .show-when-selected-channel-requires-delayed-update,
22 .show-when-selected-channel-good,
23 .show-when-selected-channel-unstable {
28 .show-when-selected-channel-requires-powerwash,
30 .show-when-selected-channel-requires-delayed-update,
31 .selected-channel-good .show-when-selected-channel-good,
32 .selected-channel-unstable .show-when-selected-channel-unstable {
  /libcore/dalvik/src/main/java/org/apache/harmony/dalvik/ddmc/
DdmVmInternal.java 39 * @param when when to send the next HPIF chunk
40 * @return true on success. false if 'when' is bad or if there was
43 native public static boolean heapInfoNotify(int when);
51 native public static boolean heapSegmentNotify(int when, int what,
  /frameworks/base/include/androidfw/
ZipUtils.h 66 static inline void zipTimeToTimespec(long when, struct tm* timespec) {
67 const long date = when >> 16;
72 timespec->tm_hour = (when >> 11) & 0x1F;
73 timespec->tm_min = (when >> 5) & 0x3F;
74 timespec->tm_sec = (when & 0x1F) << 1;
  /external/libunwind/include/
libunwind-dynamic.h 35 when a program registers a dynamically generated procedure, it uses
88 int32_t when; /* when does it take effect? */ member in struct:unw_dyn_op
179 #define _U_dyn_op_save_reg(op, qp, when, reg, dst) \
180 (*(op) = _U_dyn_op (UNW_DYN_SAVE_REG, (qp), (when), (reg), (dst)))
182 #define _U_dyn_op_spill_fp_rel(op, qp, when, reg, offset) \
183 (*(op) = _U_dyn_op (UNW_DYN_SPILL_FP_REL, (qp), (when), (reg), \
186 #define _U_dyn_op_spill_sp_rel(op, qp, when, reg, offset) \
187 (*(op) = _U_dyn_op (UNW_DYN_SPILL_SP_REL, (qp), (when), (reg), \
190 #define _U_dyn_op_add(op, qp, when, reg, value)
    [all...]
  /system/core/adb/
mutex_list.h 7 #error ADB_MUTEX not defined when including this file
  /frameworks/testing/espresso/espresso-lib-tests/src/androidTest/java/com/google/android/apps/common/testing/ui/espresso/action/
TypeTextActionTest.java 20 import static org.mockito.Mockito.when;
55 when(mockUiController.injectMotionEvent(isA(MotionEvent.class))).thenReturn(true);
56 when(mockUiController.injectString(stringToBeTyped)).thenReturn(true);
63 when(mockUiController.injectMotionEvent(isA(MotionEvent.class))).thenReturn(true);
64 when(mockUiController.injectString(stringToBeTyped)).thenReturn(false);
80 when(mockUiController.injectMotionEvent(isA(MotionEvent.class))).thenReturn(true);
81 when(mockUiController.injectString(stringToBeTyped))
  /frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
CameraUtilsBinderDecoratorTest.java 74 when(mock.doNothing()).thenReturn(SOME_ARBITRARY_DOUBLE);
75 when(mock.doSomethingPositive()).thenReturn(SOME_ARBITRARY_POSITIVE_INT);
76 when(mock.doSomethingNoError()).thenReturn(NO_ERROR);
77 when(mock.doSomethingPermissionDenied()).thenReturn(PERMISSION_DENIED);
78 when(mock.doSomethingAlreadyExists()).thenReturn(ALREADY_EXISTS);
79 when(mock.doSomethingBadValue()).thenReturn(BAD_VALUE);
80 when(mock.doSomethingDeadObject()).thenReturn(DEAD_OBJECT);
81 when(mock.doSomethingBadPolicy()).thenReturn(EACCES);
82 when(mock.doSomethingDeviceBusy()).thenReturn(EBUSY);
83 when(mock.doSomethingNoSuchDevice()).thenReturn(ENODEV)
    [all...]
ImageReaderTest.java 81 * Return null when there is nothing in the image queue.
85 when(mReader.acquireNextImage()).thenReturn(null);
86 when(mReader.acquireNextImageNoThrowISE()).thenReturn(null);
95 when(mReader.acquireNextImage()).thenReturn(mImage1);
96 when(mReader.acquireNextImageNoThrowISE()).thenReturn(null);
106 when(mReader.acquireNextImage()).thenReturn(mImage1);
107 when(mReader.acquireNextImageNoThrowISE()).thenReturn(mImage2).thenReturn(null);
118 when(mReader.acquireNextImage()).thenReturn(mImage1);
119 when(mReader.acquireNextImageNoThrowISE()).thenReturn(mImage2).
133 when(mReader.acquireNextImage()).thenThrow(new IllegalStateException())
    [all...]
  /external/icu/icu4c/source/samples/date/
date.c 47 static void date(UDate when, const UChar *tz, UDateFormatStyle style, const char *format, UErrorCode *status);
76 UDate when; local
160 /* get the 'when' (or now) */
161 when = getWhen(millis, seconds, format, style, parse, tz, &status);
167 date(when, tz, style, format, &status);
240 date(UDate when,
255 printf("%.0f\n", when);
258 printf("%.3f\n", when/1000.0);
268 len = udat_format(fmt, when, 0, len, 0, status);
273 udat_format(fmt, when, s, len + 1, 0, status)
296 UDate when=0; local
    [all...]
  /external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/template/
group-file-parser.rb 134 when ?a then "\a"
135 when ?b then "\b"
136 when ?e then "\e"
137 when ?f then "\f"
138 when ?n then "\n"
139 when ?r then "\r"
140 when ?s then "\s"
141 when ?t then "\t"
142 when ?v then "\v"
153 when TEMPLAT
    [all...]
  /build/core/
target_test_internal.mk 23 $(error $(LOCAL_PATH): Do not set LOCAL_MODULE_PATH when building test $(LOCAL_MODULE))
27 $(error $(LOCAL_PATH): Do not set LOCAL_MODULE_PATH_32 when building test $(LOCAL_MODULE))
31 $(error $(LOCAL_PATH): Do not set LOCAL_MODULE_PATH_64 when building test $(LOCAL_MODULE))
  /packages/experimental/NotificationShowcase/src/com/android/example/notificationshowcase/
ProgressService.java 49 UpdateRunnable(int id, long when, int progress) {
51 mWhen = when;
58 Log.v(TAG, "id: " + mId + " when: " + mWhen + " progress: " + mProgress);
79 final long when = intent.getLongExtra("when", 0L); local
81 handler.postDelayed(new UpdateRunnable(id, when, progress), 1000);
84 public static void startProgressUpdater(Context context, int id, long when, int progress) {
89 progressIntent.putExtra("when", when);
  /frameworks/base/libs/androidfw/tests/
ZipUtils_test.cpp 41 long when = 0x3EDD7514; local
43 ZipUtils::zipTimeToTimespec(when, &t);
  /bootable/recovery/minadbd/
mutex_list.h 7 #error ADB_MUTEX not defined when including this file
  /external/apache-xml/src/main/java/org/apache/xalan/templates/
ElemChoose.java 33 * <!ELEMENT xsl:choose (xsl:when+, xsl:otherwise?)>
92 ElemWhen when = (ElemWhen) childElem; local
94 // must be xsl:when
98 // System.err.println("\""+when.getTest().getPatternString()+"\"");
100 // if(when.getTest().getPatternString().equals("COLLECTION/icuser/ictimezone/LITERAL='GMT +13:00 Pacific/Tongatapu'"))
103 if (when.getTest().bool(xctxt, sourceNode, when)) {
104 transformer.executeChildTemplates(when, true);
  /external/chromium_org/third_party/leveldatabase/src/port/win/
stdint.h 11 #error This file should only be included when compiling with MSVC.
  /external/chromium_org/third_party/yasm/source/config/win/
stdint.h 11 #error This file should only be included when compiling with MSVC.
25 // Technically, these should only be definied when __STDC_CONSTANT_MACROS
  /external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.apache.ant_1.7.1.v20090120-1145/bin/
antenv.cmd 33 when param='-lcp' then mode = 'l'
34 when param='-cp' | param='-classpath' then mode = 'c'
35 when abbrev('-opts', param, 4) then mode = 'o'
36 when abbrev('-args', param, 4) then mode = 'a'
39 when mode = 'a' then args = space(args param, 1)
40 when mode = 'c' then cp = space(cp param, 1)
41 when mode = 'l' then lcp = space(lcp param, 1)
42 when mode = 'o' then opts = space(opts param, 1)
  /external/jsr305/ri/src/main/java/javax/annotation/
CheckForNull.java 8 import javax.annotation.meta.When;
12 @Nonnull(when = When.MAYBE)

Completed in 449 milliseconds

1 2 3 4 5 6 7 8 91011>>