Home
last modified time | relevance | path

Searched refs:first (Results 1 – 25 of 62) sorted by relevance

123

/development/perftests/panorama/feature_stab/db_vlvm/
Ddb_utilities_indexing.cpp36 void db_LeanPartitionOnPivot(double pivot,double *dest,const double *source,long first,long last,lo… in db_LeanPartitionOnPivot() argument
44 s_point=source+first; in db_LeanPartitionOnPivot()
46 d_bottom=dest+first; in db_LeanPartitionOnPivot()
61 long first=0; in db_LeanQuickSelect() local
76 for(;last-first>2;) in db_LeanQuickSelect()
78 pivot=db_TripleMedian(source[first],source[last],source[(first+last)/2]); in db_LeanQuickSelect()
79 db_LeanPartitionOnPivot(pivot,dest,source,first,last,&first_equal,&last_equal); in db_LeanQuickSelect()
82 else if(last_equal<pos) first=last_equal+1; in db_LeanQuickSelect()
95 pivot=db_TripleMedian(source[first],source[last],source[(first+last)/2]); in db_LeanQuickSelect()
/development/ndk/samples/two-libs/jni/
DAndroid.mk27 LOCAL_MODULE := libtwolib-first
28 LOCAL_SRC_FILES := first.c
39 LOCAL_STATIC_LIBRARIES := libtwolib-first
Dfirst.h20 extern int first(int x, int y);
Dfirst.c19 int first(int x, int y) in first() function
Dsecond.c26 return first(x, y); in Java_com_example_twolibs_TwoLibs_add()
/development/samples/browseable/CardEmulation/src/com.example.android.cardemulation/
DCardService.java160 public static byte[] ConcatArrays(byte[] first, byte[]... rest) { in ConcatArrays() argument
161 int totalLength = first.length; in ConcatArrays()
165 byte[] result = Arrays.copyOf(first, totalLength); in ConcatArrays()
166 int offset = first.length; in ConcatArrays()
/development/samples/browseable/ElizaChat/src/com.example.android.wearable.elizachat/
DElizaResponder.java142 String first = WORDS_TO_REPLACE[i * 2]; in elzTalk() local
145 if (parts[j].equals(first)) { in elzTalk()
148 parts[j] = first; in elzTalk()
/development/ndk/sources/android/ndk_helper/
Dshader.cpp50 while( (pos = str.find( it->first, pos )) != std::string::npos ) in CompileShader()
58 str.replace( pos, it->first.length(), it->second ); in CompileShader()
59 str_replacement_map.replace( pos, it->first.length(), it->first.length(), in CompileShader()
/development/samples/ApiDemos/src/com/example/android/apis/content/
DMediaContentJob.java88 boolean first = true; in onStartJob()
90 if (first) { in onStartJob()
91 first = false; in onStartJob()
/development/samples/UiAutomator/
DREADME8 To run this demo you must build it first and push it on your device:
20 To run this demo you must build it first and push it on your device:
29 To run this demo you must build it first and push it on your device:
/development/tools/templates/
Djava_file.template8 /** Called when the activity is first created. */
/development/samples/ApiDemos/src/com/example/android/apis/view/
DList13.java143 int first = view.getFirstVisiblePosition(); in onScrollStateChanged() local
148 t.setText(mStrings[first + i]); in onScrollStateChanged()
/development/samples/browseable/ElevationBasic/
D_index.jd9 first view has a fixed elevation using XML and the second one is raised when the user
/development/perftests/panorama/feature_mos/src/mosaic/
DCSite.h28 short first; member
DBlend.cpp1134 double dx = (m_AllSites[ce->second].getVCenter().x - m_AllSites[ce->first].getVCenter().x); in ClipBlendRect()
1135 double dy = (m_AllSites[ce->second].getVCenter().y - m_AllSites[ce->first].getVCenter().y); in ClipBlendRect()
1136 double xmid = m_AllSites[ce->first].getVCenter().x + dx/2.0; in ClipBlendRect()
1137 double ymid = m_AllSites[ce->first].getVCenter().y + dy/2.0; in ClipBlendRect()
1197 MosaicFrame *first = frames[0]; in SelectRelevantFrames() local
1201 double fxpos = first->trs[0][2], fypos = first->trs[1][2]; in SelectRelevantFrames()
1205 double z = ProjZ(first->trs, midX, midY, 1.0); in SelectRelevantFrames()
1207 double prevX = firstX = ProjX(first->trs, midX, midY, z, 1.0); in SelectRelevantFrames()
1208 double prevY = firstY = ProjY(first->trs, midX, midY, z, 1.0); in SelectRelevantFrames()
1210 relevant_frames[0] = first; // Add first frame by default in SelectRelevantFrames()
[all …]
/development/samples/Support7Demos/src/com/example/android/supportv7/widget/
DRecyclerViewActivity.java251 int first = 0; in recycleViewsOutOfBounds() local
260 first = i; in recycleViewsOutOfBounds()
269 for (int i = first - 1; i >= 0; i--) { in recycleViewsOutOfBounds()
275 mFirstPosition += first; in recycleViewsOutOfBounds()
/development/samples/JetBoy/
DJETBOY_content_README.txt11 4. After importing the first time, you can use the OPEN command to open the .jtc file in the folder…
/development/samples/browseable/Quiz/
D_index.jd11 …displays them as notifications. Each notification contains the question as the first page, followed
/development/tools/idegen/
DREADME7 If this is your first time using IDEGen...
34 If this is your first time using IDEGen...
77 For example, if you want your applications's source root to come first,
/development/tools/yuv420sp2rgb/
Dyuv420sp2rgb.c278 int first = get_options(argc, argv, in main() local
287 if (first == argc) { in main()
311 infile = argv[first]; in main()
/development/scripts/
Dsymbol.py202 first = True
213 if first:
218 first = False
/development/samples/browseable/AppRestrictionSchema/src/com.example.android.apprestrictionschema/
DAppRestrictionSchemaFragment.java234 boolean first = true; in updateItems()
239 if (first) { in updateItems()
240 first = false; in updateItems()
/development/samples/browseable/BatchStepSensor/
D_index.jd14 steps since a listener was first registered for this sensor.
/development/perftests/panorama/
DREADME.txt22 The first number in the parenthesis is the time to align the frames; the second
/development/apps/Development/src/com/android/development/
DMediaScannerActivity.java235 String first = getRandomWord(longfirst ? 3 : 2); in getRandomName()
250 return first + " " + last; in getRandomName()

123