Searched defs:spec (Results 1 - 25 of 44) sorted by last modified time

12

/frameworks/support/v7/gridlayout/src/android/support/v7/widget/
H A DGridLayout.java68 * Each spec defines the set of rows or columns that are to be
652 Spec spec = horizontal ? p.columnSpec : p.rowSpec;
654 Interval span = spec.span;
680 Spec spec = horizontal ? lp.columnSpec : lp.rowSpec;
681 int index = leading ? spec.span.min : spec.span.max;
807 Spec spec = horizontal ? lp.columnSpec : lp.rowSpec;
808 Interval span = spec.span;
915 Spec spec = horizontal ? lp.columnSpec : lp.rowSpec;
916 if (spec
2286 include(GridLayout gl, View c, Spec spec, Axis axis, int size) argument
2517 public static Spec spec(int start, int size, Alignment alignment, float weight) { method in class:GridLayout
2528 public static Spec spec(int start, Alignment alignment, float weight) { method in class:GridLayout
2541 public static Spec spec(int start, int size, float weight) { method in class:GridLayout
2551 public static Spec spec(int start, float weight) { method in class:GridLayout
2562 public static Spec spec(int start, int size, Alignment alignment) { method in class:GridLayout
2580 public static Spec spec(int start, Alignment alignment) { method in class:GridLayout
2597 public static Spec spec(int start, int size) { method in class:GridLayout
2613 public static Spec spec(int start) { method in class:GridLayout
[all...]
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/
H A DGridLayoutManager.java567 final int spec = getChildMeasureSpec(mCachedBorders[lp.mSpanIndex + lp.mSpanSize] -
578 measureChildWithDecorationsAndMargin(view, spec, mainSpec, applyInsets, false);
582 measureChildWithDecorationsAndMargin(view, mainSpec, spec, applyInsets, false);
602 final int spec = getChildMeasureSpec(mCachedBorders[lp.mSpanIndex + lp.mSpanSize] -
609 measureChildWithDecorationsAndMargin(view, spec, mainSpec, false, true);
611 measureChildWithDecorationsAndMargin(view, mainSpec, spec, false, true);
627 final int spec = getChildMeasureSpec(mCachedBorders[lp.mSpanIndex + lp.mSpanSize]
631 measureChildWithDecorationsAndMargin(view, spec, maxMeasureSpec, true, true);
633 measureChildWithDecorationsAndMargin(view, maxMeasureSpec, spec, true, true);
731 private int updateSpecWithExtra(int spec, in argument
[all...]
H A DRecyclerView.java172 * On M+, an unspecified measure spec may include a hint which we can use. On older platforms,
6430 * and also complies with the spec.
6432 * @param spec The measureSpec
6438 public static int chooseSize(int spec, int desired, int min) { argument
6439 final int mode = View.MeasureSpec.getMode(spec);
6440 final int size = View.MeasureSpec.getSize(spec);
6517 * if the last measure spec was different from the final dimensions or adapter contents
7388 * Return the width measurement spec mode of the RecyclerView.
7394 * {@link View.MeasureSpec#EXACTLY} even if it was measured with a different spec mode.
7396 * @return Width measure spec mod
7768 isMeasurementUpToDate(int childSize, int spec, int dimension) argument
[all...]
H A DStaggeredGridLayoutManager.java1152 private int updateSpecWithExtra(int spec, int startInset, int endInset) { argument
1154 return spec;
1156 final int mode = View.MeasureSpec.getMode(spec);
1159 Math.max(0, View.MeasureSpec.getSize(spec) - startInset - endInset), mode);
1161 return spec;
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
H A DDefaultMeasureSpecTest.java164 private static String log(int spec) { argument
165 final int size = View.MeasureSpec.getSize(spec);
166 int mode = View.MeasureSpec.getMode(spec);
H A DTestedFrameLayout.java94 public static int chooseSize(int spec, int desired, int min) { argument
95 final int mode = View.MeasureSpec.getMode(spec);
96 final int size = View.MeasureSpec.getSize(spec);
/frameworks/rs/api/
H A DGenerateDocumentation.cpp203 // Empty lines in the .spec marks paragraphs.
348 static void writeDetailedTypeSpecification(GeneratedFile* file, const TypeSpecification* spec) { argument
349 switch (spec->getKind()) {
351 Type* type = spec->getType();
352 *file << "<p>A typedef of: " << spec->getSimpleType()
353 << makeAttributeTag(spec->getAttribute(), "", type->getDeprecatedApiLevel(),
356 writeHtmlVersionTag(file, spec->getVersionInfo(), false);
362 writeHtmlVersionTag(file, spec->getVersionInfo(), false);
368 writeHtmlVersionTag(file, spec->getVersionInfo(), false);
372 const vector<string>& values = spec
[all...]
H A DGenerateHeaderFiles.cpp119 static void writeConstantSpecification(GeneratedFile* file, const ConstantSpecification& spec) { argument
120 const Constant* constant = spec.getConstant();
121 VersionInfo info = spec.getVersionInfo();
123 *file << "#define " << constant->getName() << " " << spec.getValue() << "\n\n";
127 static void writeTypeSpecification(GeneratedFile* file, const TypeSpecification& spec) { argument
128 const Type* type = spec.getType();
130 const VersionInfo info = spec.getVersionInfo();
134 makeAttributeTag(spec.getAttribute(), "", type->getDeprecatedApiLevel(),
137 switch (spec.getKind()) {
139 *file << spec
200 writeFunctionPermutation(GeneratedFile* file, const FunctionSpecification& spec, const FunctionPermutation& permutation) argument
308 writeFunctionSpecification(GeneratedFile* file, const FunctionSpecification& spec) argument
[all...]
H A DGenerateStubsWhiteList.cpp66 for (TypeSpecification* spec : type->second->getSpecifications()) {
68 const VersionInfo info = spec->getVersionInfo();
72 switch (spec->getKind()) {
74 return spec->getSimpleType();
81 return spec->getStructName();
351 const FunctionSpecification& spec, unsigned int lastApiLevel,
354 if (spec.hasInline()) {
357 const VersionInfo info = spec.getVersionInfo();
361 const bool overloadable = spec.isOverloadable();
370 for (auto permutation : spec
350 addManglingsForSpecification(const Function& function, const FunctionSpecification& spec, unsigned int lastApiLevel, set<string>* allManglings) argument
[all...]
H A DSpecification.cpp60 // The singleton of the collected information of all the spec files.
88 * how specified in the spec file.
376 ConstantSpecification* spec = new ConstantSpecification(constant); local
377 constant->addSpecification(spec);
379 specFile->addConstantSpecification(spec, created);
380 spec->mVersionInfo = info;
383 spec->mValue = scanner->getValue();
402 TypeSpecification* spec = new TypeSpecification(type); local
403 type->addSpecification(spec);
405 specFile->addTypeSpecification(spec, create
619 FunctionSpecification* spec = new FunctionSpecification(function); local
703 FunctionPermutation(Function* func, FunctionSpecification* spec, int replacementIndexes[MAX_REPLACEABLES], Scanner* scanner) argument
775 addConstantSpecification(ConstantSpecification* spec, bool hasDocumentation) argument
783 addTypeSpecification(TypeSpecification* spec, bool hasDocumentation) argument
791 addFunctionSpecification(FunctionSpecification* spec, bool hasDocumentation) argument
894 SpecFile* spec = new SpecFile(fileName); local
[all...]
H A DSpecification.h20 // See Generator.cpp for documentation of the .spec file format.
45 const char* specType; // Name found in the .spec file
58 /* Corresponds to one parameter line in a .spec file. These will be parsed when
83 std::string specType; // The type found in the spec, e.g. "f16"
94 std::string specName; // e.g. x, as found in the spec file
138 /* Scan the version info from the spec file. maxApiLevel specifies the maximum level
198 void addSpecification(ConstantSpecification* spec) { mSpecifications.push_back(spec); } argument
214 void addSpecification(TypeSpecification* spec) { mSpecifications.push_back(spec); } argument
245 addSpecification(FunctionSpecification* spec) argument
[all...]
/frameworks/opt/setupwizard/tools/docs/
H A Ddoclava.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/ccil/ org/ccil/cowan/ org/ccil/cowan/tagsoup/ ...
/frameworks/data-binding/prebuilds/1.0-rc0/
H A Ddatabinding-studio-bundle.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/databinding/Bindable.class Bindable. ...
/frameworks/ex/common/java/com/android/common/
H A DOperationScheduler.java101 * @param spec describing some or all scheduler options.
106 public static Options parseOptions(String spec, Options options) argument
108 for (String param : spec.split(" +")) {
113 throw new IllegalArgumentException("bad value for backoff: [" + spec + "]");
/frameworks/compile/mclinker/include/mcld/Object/
H A DSectionMap.h42 const InputSectDesc::Spec& spec() const { return m_Spec; } function in class:mcld::SectionMap::Input
/frameworks/compile/mclinker/include/mcld/Script/
H A DInputSectDesc.h79 const Spec& spec() const { return m_Spec; } function in class:mcld::InputSectDesc
/frameworks/compile/mclinker/lib/Script/
H A DOutputSectDesc.cpp183 InputSectDesc::Spec spec; local
184 spec.m_pWildcardFile = NULL;
185 spec.m_pExcludeFiles = NULL;
186 spec.m_pWildcardSections = NULL;
187 InputSectDesc inputDesc(InputSectDesc::Keep, spec, *this);
/frameworks/base/services/core/java/com/android/server/content/
H A DSyncStorageEngine.java178 * @param spec the Endpoint to match. If the spec has null fields, they indicate a wildcard
181 public boolean matchesSpec(EndPoint spec) { argument
182 if (userId != spec.userId
184 && spec.userId != UserHandle.USER_ALL) {
188 if (spec.account == null) {
191 accountsMatch = account.equals(spec.account);
194 if (spec.provider == null) {
197 providersMatch = provider.equals(spec.provider);
/frameworks/base/services/core/java/com/android/server/pm/
H A DSettings.java4218 static void printFlags(PrintWriter pw, int val, Object[] spec) { argument
4220 for (int i=0; i<spec.length; i+=2) {
4221 int mask = (Integer)spec[i];
4223 pw.print(spec[i+1]);
/frameworks/base/services/core/java/com/android/server/wm/
H A DAccessibilityController.java118 public void setMagnificationSpecLocked(MagnificationSpec spec) { argument
120 mDisplayMagnifier.setMagnificationSpecLocked(spec);
270 public void setMagnificationSpecLocked(MagnificationSpec spec) { argument
271 mMagnifedViewport.updateMagnificationSpecLocked(spec);
388 MagnificationSpec spec = mMagnifedViewport.getMagnificationSpecLocked();
389 if (spec != null && !spec.isNop()) {
400 return spec;
468 public void updateMagnificationSpecLocked(MagnificationSpec spec) { argument
469 if (spec !
[all...]
H A DWindowManagerService.java11167 public void setMagnificationSpec(MagnificationSpec spec) { argument
11170 mAccessibilityController.setMagnificationSpecLocked(spec);
11176 spec.recycle();
11198 MagnificationSpec spec = null;
11200 spec = mAccessibilityController.getMagnificationSpecForWindowLocked(windowState);
11202 if ((spec == null || spec.isNop()) && windowState.mGlobalScale == 1.0f) {
11205 spec = (spec == null) ? MagnificationSpec.obtain() : MagnificationSpec.obtain(spec);
[all...]
/frameworks/base/services/core/jni/
H A Dcom_android_server_AlarmManagerService.cpp158 struct itimerspec spec; local
159 memset(&spec, 0, sizeof(spec));
160 memcpy(&spec.it_value, ts, sizeof(spec.it_value));
162 return timerfd_settime(fds[type], TFD_TIMER_ABSTIME, &spec, NULL);
398 struct itimerspec spec; local
399 memset(&spec, 0, sizeof(spec));
404 TFD_TIMER_ABSTIME | TFD_TIMER_CANCEL_ON_SET, &spec, NUL
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/customize/
H A DTileQueryHelper.java66 final String spec = possibleTiles[i];
67 final QSTile<?> tile = host.createTile(spec);
85 addTile(spec, null, state, true);
109 private void addTile(String spec, CharSequence appLabel, State state, boolean isSystem) { argument
110 if (mSpecs.contains(spec)) {
117 info.spec = spec;
121 mSpecs.add(spec);
124 private void addTile(String spec, Drawable drawable, CharSequence label, CharSequence appLabel, argument
130 addTile(spec, appLabe
134 public String spec; field in class:TileQueryHelper.TileInfo
176 getState(Collection<QSTile<?>> tiles, String spec) argument
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/external/
H A DCustomTile.java330 public static ComponentName getComponentFromSpec(String spec) { argument
331 final String action = spec.substring(PREFIX.length(), spec.length() - 1);
333 throw new IllegalArgumentException("Empty custom tile spec action");
338 public static QSTile<?> create(QSTileHost host, String spec) { argument
339 if (spec == null || !spec.startsWith(PREFIX) || !spec.endsWith(")")) {
340 throw new IllegalArgumentException("Bad custom tile spec: " + spec);
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
H A DIntentTile.java62 public static QSTile<?> create(Host host, String spec) { argument
63 if (spec == null || !spec.startsWith(PREFIX) || !spec.endsWith(")")) {
64 throw new IllegalArgumentException("Bad intent tile spec: " + spec);
66 final String action = spec.substring(PREFIX.length(), spec.length() - 1);
68 throw new IllegalArgumentException("Empty intent tile spec action");

Completed in 1745 milliseconds

12