Home
last modified time | relevance | path

Searched refs:getLocation (Results 1 – 25 of 45) sorted by relevance

12

/frameworks/base/tests/LocationTracker/src/com/android/locationtracker/data/
DCSVFormatter.java52 if (entry.getLocation().hasAccuracy()) { in getOutput()
53 rowOutput.append(entry.getLocation().getAccuracy()); in getOutput()
56 rowOutput.append(entry.getLocation().getLatitude()); in getOutput()
58 rowOutput.append(entry.getLocation().getLongitude()); in getOutput()
60 if (entry.getLocation().hasAltitude()) { in getOutput()
61 rowOutput.append(entry.getLocation().getAltitude()); in getOutput()
64 if (entry.getLocation().hasSpeed()) { in getOutput()
65 rowOutput.append(entry.getLocation().getSpeed()); in getOutput()
68 if (entry.getLocation().hasBearing()) { in getOutput()
69 rowOutput.append(entry.getLocation().getBearing()); in getOutput()
[all …]
DKMLFormatter.java48 Location loc = entry.getLocation(); in getOutput()
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
DStaggeredGridDefault.java34 if (getLocation(mFirstVisibleIndex).row == rowIndex) { in getRowMax()
38 Location loc = getLocation(i); in getRowMax()
46 Location loc = getLocation(mLastVisibleIndex); in getRowMax()
52 loc = getLocation(i); in getRowMax()
71 Location loc = getLocation(mLastVisibleIndex); in getRowMin()
77 loc = getLocation(i); in getRowMin()
84 if (getLocation(mFirstVisibleIndex).row == rowIndex) { in getRowMin()
88 Location loc = getLocation(i); in getRowMin()
106 Location loc = getLocation(indexLimit); in findRowMax()
114 loc = getLocation(i); in findRowMax()
[all …]
DStaggeredGrid.java97 public final Location getLocation(int index) { in getLocation() method in StaggeredGrid
148 offset = getLocation(mFirstVisibleIndex).offset; in prependVisbleItemsWithCache()
166 Location loc = getLocation(itemIndex); in prependVisbleItemsWithCache()
205 Location loc = getLocation(cachedIndex); in calculateOffsetAfterLastItem()
218 int offset = isReversedFlow() ? -getLocation(cachedIndex).size - mSpacing: in calculateOffsetAfterLastItem()
219 getLocation(cachedIndex).size + mSpacing; in calculateOffsetAfterLastItem()
221 offset -= getLocation(i).offset; in calculateOffsetAfterLastItem()
245 Location oldFirstLoc = mFirstIndex >= 0 ? getLocation(mFirstIndex) : null; in prependVisibleItemToRow()
320 Location loc = getLocation(itemIndex); in appendVisbleItemsWithCache()
412 CircularIntArray row = mTmpItemPositionsInRows[getLocation(i).row]; in getItemPositionsInRows()
DGrid.java271 Location location = getLocation(index); in getRowIndex()
281 public abstract Location getLocation(int index); in getLocation() method in Grid
/frameworks/native/libs/input/
DKeyLayoutMap.cpp201 ALOGD("Parsing %s: '%s'.", mTokenizer->getLocation().string(), in parse()
222 ALOGE("%s: Expected keyword, got '%s'.", mTokenizer->getLocation().string(), in parse()
230 mTokenizer->getLocation().string(), in parse()
253 ALOGE("%s: Expected key %s number, got '%s'.", mTokenizer->getLocation().string(), in parseKey()
259 ALOGE("%s: Duplicate entry for key %s '%s'.", mTokenizer->getLocation().string(), in parseKey()
268 ALOGE("%s: Expected key code label, got '%s'.", mTokenizer->getLocation().string(), in parseKey()
281 ALOGE("%s: Expected key flag label, got '%s'.", mTokenizer->getLocation().string(), in parseKey()
286 ALOGE("%s: Duplicate key flag '%s'.", mTokenizer->getLocation().string(), in parseKey()
309 ALOGE("%s: Expected axis scan code number, got '%s'.", mTokenizer->getLocation().string(), in parseAxis()
314 ALOGE("%s: Duplicate entry for axis scan code '%s'.", mTokenizer->getLocation().string(), in parseAxis()
[all …]
DKeyCharacterMap.cpp730 ALOGD("Parsing %s: '%s'.", mTokenizer->getLocation().string(), in parse()
753 ALOGE("%s: Expected keyword, got '%s'.", mTokenizer->getLocation().string(), in parse()
770 mTokenizer->getLocation().string(), in parse()
781 mTokenizer->getLocation().string()); in parse()
787 mTokenizer->getLocation().string()); in parse()
794 mTokenizer->getLocation().string()); in parse()
801 mTokenizer->getLocation().string()); in parse()
812 mTokenizer->getLocation().string()); in parseType()
831 ALOGE("%s: Expected keyboard type label, got '%s'.", mTokenizer->getLocation().string(), in parseType()
849 ALOGE("%s: Expected keyword after 'map', got '%s'.", mTokenizer->getLocation().string(), in parseMap()
[all …]
DVirtualKeyMap.cpp97 ALOGD("Parsing %s: '%s'.", mTokenizer->getLocation().string(), in parse()
109 mTokenizer->getLocation().string()); in parse()
121 mTokenizer->getLocation().string()); in parse()
135 mTokenizer->getLocation().string(), in parse()
/frameworks/compile/slang/
Dslang_rs_export_reduce.cpp180 << Ret->getLocation().printToString(S.PP.getSourceManager()) in lookupFunction()
181 << FDecl->getLocation().printToString(S.PP.getSourceManager()); in lookupFunction()
199 S.RSC.ReportError(Ret->getLocation(), "%0 must be static") in lookupFunction()
225 S.RSC.ReportError(Fn->getLocation(), in checkVoidReturn()
240 S.RSC.ReportError(Param->getLocation(), in checkPointeeConstQualified()
259 S.RSC.ReportError(S.FnInitializer->getLocation(), in analyzeInitializer()
270 S.RSC.ReportError(S.FnInitializer->getLocation(), in analyzeInitializer()
281 S.RSC.ReportError(S.FnInitializer->getLocation(), in analyzeInitializer()
304 S.RSC.ReportError(S.FnAccumulator->getLocation(), in analyzeAccumulator()
316 S.RSC.ReportError(S.FnAccumulator->getLocation(), in analyzeAccumulator()
[all …]
Dslang_rs_reflection_state.cpp310 mRSC->ReportError(EF->getLocation(), in beginForEach()
326 mRSC->ReportError(EF->getLocation(), in beginForEach()
333 mRSC->ReportError(EF->getLocation(), in beginForEach()
342 mRSC->ReportError(EF->getLocation(), in beginForEach()
348 mRSC->ReportError(EF->getLocation(), in beginForEach()
358 mRSC->ReportError(EF->getLocation(), in beginForEach()
365 mRSC->ReportError(EF->getLocation(), in beginForEach()
406 mRSC->ReportError(EF->getLocation(), in addForEachIn()
416 mRSC->ReportError(EF->getLocation(), in addForEachIn()
447 mRSC->ReportError(EF->getLocation(), in addForEachParam()
[all …]
Dslang_rs_special_kernel_param.cpp130 PVD->getLocation(), in processSpecialKernelParameters()
141 Context->ReportError(PVD->getLocation(), in processSpecialKernelParameters()
156 Context->ReportError(PVD->getLocation(), in processSpecialKernelParameters()
168 PVD->getLocation(), in processSpecialKernelParameters()
182 Context->ReportError(PVD->getLocation(), in processSpecialKernelParameters()
193 PVD->getLocation(), in processSpecialKernelParameters()
209 Context->ReportError(PVD->getLocation(), in processSpecialKernelParameters()
Dslang_rs_export_foreach.cpp64 Context->ReportError(FD->getLocation(), in validateAndConstructParams()
97 Context->ReportError(FD->getLocation(), in validateAndConstructOldStyleParams()
116 Context->ReportError(PVD->getLocation(), in validateAndConstructOldStyleParams()
131 Context->ReportError(PVD->getLocation(), in validateAndConstructOldStyleParams()
145 PVD->getLocation(), in validateAndConstructOldStyleParams()
154 Context->ReportError(FD->getLocation(), in validateAndConstructOldStyleParams()
171 Context->ReportError(FD->getLocation(), in validateAndConstructKernelParams()
204 Context->ReportError(PVD->getLocation(), in validateAndConstructKernelParams()
215 Context->ReportError(PVD->getLocation(), in validateAndConstructKernelParams()
225 Context->ReportError(PVD->getLocation(), in validateAndConstructKernelParams()
[all …]
Dslang_rs_special_func.cpp68 Context->ReportError(PVD->getLocation(), in validateSpecialFuncDecl()
78 Context->ReportError(FD->getLocation(), in validateSpecialFuncDecl()
85 Context->ReportError(FD->getLocation(), in validateSpecialFuncDecl()
93 Context->ReportError(FD->getLocation(), in validateSpecialFuncDecl()
Dslang_rs_export_var.cpp32 : RSExportable(Context, RSExportable::EX_VAR, VD->getLocation()), in RSExportVar()
64 Context->ReportError(VD->getLocation(), in RSExportVar()
86 VD->getLocation(), in RSExportVar()
Dslang_rs_pragma_handler.cpp142 const clang::SourceLocation PragmaLocation = FirstToken.getLocation(); in HandlePragma()
167 PP.Diag(PragmaToken.getLocation(), in HandlePragma()
197 << (*I)->getLocation().printToString(PP.getSourceManager()); in HandlePragma()
283 PP.Diag(PragmaToken.getLocation(), in ProcessKeywordAndValue()
294 PP.Diag(PragmaToken.getLocation(), in ProcessKeywordAndValue()
305 PP.Diag(PragmaToken.getLocation(), in ProcessKeywordAndValue()
316 PP.Diag(PragmaToken.getLocation(), in ProcessKeywordAndValue()
328 PP.Diag(PragmaToken.getLocation(), in ProcessKeywordAndValue()
537 PragmaToken.getLocation(), PP); in handleIntegerParamPragma()
Dslang_rs_export_type.cpp198 Context->ReportError(TopLevelRecord->getLocation(), Message) in ReportTypeError()
201 Context->ReportError(ND->getLocation(), Message) << ND->getName() in ReportTypeError()
337 FD->getLocation(), in TypeExportableHelper()
694 Context->ReportError(VD->getLocation(), in NormalizeType()
731 VD->getLocation(), TargetAPI, IsFilterscript, in ValidateVarDecl()
1370 RD->getLocation(), in Create()
1380 Context->ReportError(RD->getLocation(), in Create()
1393 Context->ReportError(RD->getLocation(), in Create()
1401 Context->ReportError(RD->getLocation(), in Create()
1410 Context->ReportError(RD->getLocation(), in Create()
[all …]
Dslang_rs_exportable.h53 clang::SourceLocation getLocation() const { return mLoc; } in getLocation() function
Dslang_rs_context.cpp243 if (Slang::IsLocInRSHeaderFile(VD->getLocation(), in processExports()
250 DiagEngine->Report(VD->getLocation(), DiagEngine->getCustomDiagID( in processExports()
361 const clang::SourceLocation Loc = FD->getLocation(); in markUsedByReducePragma()
Dslang_diagnostic_buffer.cpp38 clang::SourceLocation const &SrcLoc = Info.getLocation(); in HandleDiagnostic()
Dslang_rs_export_func.h51 : RSExportable(Context, RSExportable::EX_FUNC, FD->getLocation()), in RSExportFunc()
Dslang_rs_check_ast.cpp157 Context->ReportError(FD->getLocation(), in ValidateFunctionDecl()
215 VD->getLocation(), in ValidateVarDecl()
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
DImageShader.java215 public int getLocation() { in getLocation() method in ImageShader.ProgramUniform
302 return getProgramUniform(name, true).getLocation(); in getUniformLocation()
338 GLES20.glUniform1iv(uniform.getLocation(), len, values, 0); in setUniformValue()
342 GLES20.glUniform2iv(uniform.getLocation(), len / 2, values, 0); in setUniformValue()
346 GLES20.glUniform2iv(uniform.getLocation(), len / 3, values, 0); in setUniformValue()
350 GLES20.glUniform2iv(uniform.getLocation(), len / 4, values, 0); in setUniformValue()
367 GLES20.glUniform1fv(uniform.getLocation(), len, values, 0); in setUniformValue()
371 GLES20.glUniform2fv(uniform.getLocation(), len / 2, values, 0); in setUniformValue()
375 GLES20.glUniform3fv(uniform.getLocation(), len / 3, values, 0); in setUniformValue()
379 GLES20.glUniform4fv(uniform.getLocation(), len / 4, values, 0); in setUniformValue()
[all …]
/frameworks/support/v17/leanback/tests/java/android/support/v17/leanback/widget/
DStaggeredGridDefaultTest.java51 int row_result1 = mStaggeredGrid.getLocation(8).row; in testWhenToFillNextRow()
63 int row_result2 = mStaggeredGrid.getLocation(8).row; in testWhenToFillNextRow()
/frameworks/base/core/java/android/hardware/location/
DGeofenceHardwareMonitorEvent.java71 public Location getLocation() { in getLocation() method in GeofenceHardwareMonitorEvent
/frameworks/base/core/java/android/webkit/
DCacheManager.java153 public String getLocation() { in getLocation() method in CacheManager.CacheResult

12